./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2824010441 <...> forked to background, child pid 5498 [ 35.793608][ T5499] 8021q: adding VLAN 0 to HW filter on device bond0 [ 35.809646][ T5499] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: [ 36.210073][ T5578] sshd (5578) used greatest stack depth: 18744 bytes left OK syzkaller syzkaller login: [ 49.435775][ T5680] sshd (5680) used greatest stack depth: 18032 bytes left Warning: Permanently added '10.128.1.138' (ED25519) to the list of known hosts. execve("./syz-executor2824010441", ["./syz-executor2824010441"], 0x7ffd818ee1f0 /* 10 vars */) = 0 brk(NULL) = 0x55558edfa000 brk(0x55558edfad00) = 0x55558edfad00 arch_prctl(ARCH_SET_FS, 0x55558edfa380) = 0 set_tid_address(0x55558edfa650) = 5829 set_robust_list(0x55558edfa660, 24) = 0 rseq(0x55558edfaca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2824010441", 4096) = 28 getrandom("\x04\x07\x48\x12\x8c\xe9\x1f\x73", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558edfad00 brk(0x55558ee1bd00) = 0x55558ee1bd00 brk(0x55558ee1c000) = 0x55558ee1c000 mprotect(0x7fe5996cc000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 mkdir("./syzkaller.WBg9Th", 0700) = 0 chmod("./syzkaller.WBg9Th", 0777) = 0 chdir("./syzkaller.WBg9Th") = 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 5830 attached , child_tidptr=0x55558edfa650) = 5830 [pid 5830] set_robust_list(0x55558edfa660, 24) = 0 [pid 5830] chdir("./0") = 0 [pid 5830] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5830] setpgid(0, 0) = 0 [pid 5830] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "1000", 4) = 4 [pid 5830] close(3) = 0 [pid 5830] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5830] write(1, "executing program\n", 18executing program ) = 18 [pid 5830] memfd_create("syzkaller", 0) = 3 [pid 5830] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5830] 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 5830] munmap(0x7fe591200000, 138412032) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5830] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5830] close(3) = 0 [pid 5830] close(4) = 0 [pid 5830] mkdir("./file1", 0777) = 0 [ 59.963619][ T5830] loop0: detected capacity change from 0 to 32768 [ 60.043976][ T5830] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 60.065771][ T5830] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 60.074073][ T5830] bcachefs (loop0): Version upgrade required: [ 60.074073][ T5830] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 60.074073][ T5830] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 60.074073][ T5830] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 60.147568][ T5830] bcachefs (loop0): dropping and reconstructing all alloc info [ 60.165245][ T5830] bcachefs (loop0): check_topology... done [ 60.171148][ T5830] bcachefs (loop0): accounting_read... done [ 60.178566][ T5830] bcachefs (loop0): alloc_read... done [ 60.184237][ T5830] bcachefs (loop0): stripes_read... done [pid 5830] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5830] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5830] chdir("./file1") = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5830] ioctl(4, LOOP_CLR_FD) = 0 [pid 5830] close(4) = 0 [pid 5830] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5830] exit_group(0) = ? [pid 5830] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5830, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 60.189985][ T5830] bcachefs (loop0): snapshots_read... done [ 60.196210][ T5830] bcachefs (loop0): check_allocations... done [ 60.216733][ T5830] bcachefs (loop0): going read-write [ 60.227188][ T5830] bcachefs (loop0): done starting filesystem umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558edfb6f0 /* 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 [ 60.321377][ T5829] bcachefs (loop0): shutting down [ 60.326743][ T5829] bcachefs (loop0): going read-only [ 60.332104][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 60.341686][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 60.368615][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 60.382136][ T3524] bcachefs (loop0): fatal error - emergency read only [ 60.389537][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 60.399831][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 60.407778][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 60.428014][ T5829] bcachefs (loop0): shutdown complete umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./0/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./0") = 0 mkdir("./1", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5844 attached [pid 5844] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5844 [pid 5844] chdir("./1") = 0 [pid 5844] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5844] setpgid(0, 0) = 0 [pid 5844] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5844] write(3, "1000", 4) = 4 [pid 5844] close(3) = 0 [pid 5844] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5844] write(1, "executing program\n", 18) = 18 [pid 5844] memfd_create("syzkaller", 0) = 3 [pid 5844] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5844] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5844] munmap(0x7fe591200000, 138412032) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5844] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5844] close(3) = 0 [pid 5844] close(4) = 0 [pid 5844] mkdir("./file1", 0777) = 0 [ 61.702153][ T5844] loop0: detected capacity change from 0 to 32768 [ 61.758716][ T5844] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 61.780332][ T5844] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 61.788726][ T5844] bcachefs (loop0): Version upgrade required: [ 61.788726][ T5844] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 61.788726][ T5844] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 61.788726][ T5844] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 61.861085][ T5844] bcachefs (loop0): dropping and reconstructing all alloc info [ 61.875842][ T5844] bcachefs (loop0): check_topology... done [ 61.881715][ T5844] bcachefs (loop0): accounting_read... done [ 61.889313][ T5844] bcachefs (loop0): alloc_read... done [ 61.894962][ T5844] bcachefs (loop0): stripes_read... done [ 61.900657][ T5844] bcachefs (loop0): snapshots_read... done [pid 5844] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5844] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5844] chdir("./file1") = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5844] ioctl(4, LOOP_CLR_FD) = 0 [ 61.906642][ T5844] bcachefs (loop0): check_allocations... done [ 61.924433][ T5844] bcachefs (loop0): going read-write [ 61.933067][ T5844] bcachefs (loop0): done starting filesystem [pid 5844] close(4) = 0 [pid 5844] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5844] exit_group(0) = ? [pid 5844] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5844, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./1/binderfs") = 0 [ 62.116391][ T5829] bcachefs (loop0): shutting down [ 62.121445][ T5829] bcachefs (loop0): going read-only [ 62.126743][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 62.134786][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 62.158404][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 62.171517][ T3524] bcachefs (loop0): fatal error - emergency read only [ 62.179552][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 62.189460][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 62.197160][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 62.214094][ T5829] bcachefs (loop0): shutdown complete umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./1/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./1/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./1/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./1") = 0 mkdir("./2", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5855 attached [pid 5855] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5855 [pid 5855] chdir("./2") = 0 [pid 5855] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5855] setpgid(0, 0) = 0 [pid 5855] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5855] write(3, "1000", 4) = 4 [pid 5855] close(3) = 0 [pid 5855] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5855] write(1, "executing program\n", 18) = 18 [pid 5855] memfd_create("syzkaller", 0) = 3 [pid 5855] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5855] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5855] munmap(0x7fe591200000, 138412032) = 0 [pid 5855] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5855] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5855] close(3) = 0 [pid 5855] close(4) = 0 [pid 5855] mkdir("./file1", 0777) = 0 [ 63.509050][ T5855] loop0: detected capacity change from 0 to 32768 [ 63.576420][ T5855] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 63.597534][ T5855] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 63.605994][ T5855] bcachefs (loop0): Version upgrade required: [ 63.605994][ T5855] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.605994][ T5855] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 63.605994][ T5855] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 63.678034][ T5855] bcachefs (loop0): dropping and reconstructing all alloc info [ 63.692640][ T5855] bcachefs (loop0): check_topology... done [ 63.698517][ T5855] bcachefs (loop0): accounting_read... done [ 63.704643][ T5855] bcachefs (loop0): alloc_read... done [ 63.710169][ T5855] bcachefs (loop0): stripes_read... done [ 63.716076][ T5855] bcachefs (loop0): snapshots_read... done [pid 5855] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5855] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5855] chdir("./file1") = 0 [pid 5855] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5855] ioctl(4, LOOP_CLR_FD) = 0 [ 63.722004][ T5855] bcachefs (loop0): check_allocations... done [ 63.739045][ T5855] bcachefs (loop0): going read-write [ 63.747097][ T5855] bcachefs (loop0): done starting filesystem [pid 5855] close(4) = 0 [pid 5855] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5855] exit_group(0) = ? [pid 5855] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5855, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=27 /* 0.27 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558edfb6f0 /* 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 [ 63.888357][ T5829] bcachefs (loop0): shutting down [ 63.893592][ T5829] bcachefs (loop0): going read-only [ 63.898821][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 63.906776][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 63.928507][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 63.941850][ T3002] bcachefs (loop0): fatal error - emergency read only [ 63.949302][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 63.959076][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 63.966726][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 63.987604][ T5829] bcachefs (loop0): shutdown complete umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./2/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./2/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./2/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./2") = 0 mkdir("./3", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5867 attached [pid 5867] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5867 [pid 5867] chdir("./3") = 0 [pid 5867] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5867] setpgid(0, 0) = 0 [pid 5867] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5867] write(3, "1000", 4) = 4 [pid 5867] close(3) = 0 [pid 5867] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5867] write(1, "executing program\n", 18executing program ) = 18 [pid 5867] memfd_create("syzkaller", 0) = 3 [pid 5867] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5867] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5867] munmap(0x7fe591200000, 138412032) = 0 [pid 5867] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5867] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5867] close(3) = 0 [pid 5867] close(4) = 0 [pid 5867] mkdir("./file1", 0777) = 0 [ 65.311320][ T5867] loop0: detected capacity change from 0 to 32768 [ 65.389440][ T5867] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 65.410940][ T5867] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 65.419177][ T5867] bcachefs (loop0): Version upgrade required: [ 65.419177][ T5867] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 65.419177][ T5867] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 65.419177][ T5867] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 65.491731][ T5867] bcachefs (loop0): dropping and reconstructing all alloc info [ 65.506980][ T5867] bcachefs (loop0): check_topology... done [ 65.512897][ T5867] bcachefs (loop0): accounting_read... done [ 65.518991][ T5867] bcachefs (loop0): alloc_read... done [ 65.524681][ T5867] bcachefs (loop0): stripes_read... done [ 65.530387][ T5867] bcachefs (loop0): snapshots_read... done [pid 5867] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5867] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5867] chdir("./file1") = 0 [ 65.536364][ T5867] bcachefs (loop0): check_allocations... done [ 65.553782][ T5867] bcachefs (loop0): going read-write [ 65.562534][ T5867] bcachefs (loop0): done starting filesystem [pid 5867] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5867] ioctl(4, LOOP_CLR_FD) = 0 [pid 5867] close(4) = 0 [pid 5867] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5867] exit_group(0) = ? [pid 5867] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5867, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=20 /* 0.20 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./3/binderfs") = 0 [ 65.742349][ T5829] bcachefs (loop0): shutting down [ 65.747602][ T5829] bcachefs (loop0): going read-only [ 65.752923][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 65.760298][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 65.785353][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 65.798434][ T3524] bcachefs (loop0): fatal error - emergency read only [ 65.805689][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 65.815531][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 65.823402][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 65.839827][ T5829] bcachefs (loop0): shutdown complete umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./3/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./3/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./3/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5879 attached [pid 5879] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5879 [pid 5879] chdir("./4") = 0 [pid 5879] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5879] setpgid(0, 0) = 0 [pid 5879] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5879] write(3, "1000", 4) = 4 [pid 5879] close(3) = 0 [pid 5879] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5879] write(1, "executing program\n", 18) = 18 [pid 5879] memfd_create("syzkaller", 0) = 3 [pid 5879] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5879] 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 5879] munmap(0x7fe591200000, 138412032) = 0 [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5879] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5879] close(3) = 0 [pid 5879] close(4) = 0 [pid 5879] mkdir("./file1", 0777) = 0 [ 67.180895][ T5879] loop0: detected capacity change from 0 to 32768 [ 67.247566][ T5879] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 67.269273][ T5879] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 67.277438][ T5879] bcachefs (loop0): Version upgrade required: [ 67.277438][ T5879] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 67.277438][ T5879] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 67.277438][ T5879] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 67.349521][ T5879] bcachefs (loop0): dropping and reconstructing all alloc info [ 67.365437][ T5879] bcachefs (loop0): check_topology... done [ 67.372677][ T5879] bcachefs (loop0): accounting_read... done [ 67.378872][ T5879] bcachefs (loop0): alloc_read... done [ 67.384593][ T5879] bcachefs (loop0): stripes_read... done [ 67.390785][ T5879] bcachefs (loop0): snapshots_read... done [pid 5879] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5879] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5879] chdir("./file1") = 0 [ 67.396908][ T5879] bcachefs (loop0): check_allocations... done [ 67.414706][ T5879] bcachefs (loop0): going read-write [ 67.423905][ T5879] bcachefs (loop0): done starting filesystem [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5879] ioctl(4, LOOP_CLR_FD) = 0 [pid 5879] close(4) = 0 [pid 5879] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5879] exit_group(0) = ? [pid 5879] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5879, 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("./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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./4/binderfs") = 0 [ 67.527268][ T5829] bcachefs (loop0): shutting down [ 67.532354][ T5829] bcachefs (loop0): going read-only [ 67.538053][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 67.546525][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 67.569659][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 67.583243][ T3524] bcachefs (loop0): fatal error - emergency read only [ 67.590403][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 67.600340][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 67.608117][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 67.623975][ T5829] bcachefs (loop0): shutdown complete umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./4/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./4/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./4/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5890 attached , child_tidptr=0x55558edfa650) = 5890 [pid 5890] set_robust_list(0x55558edfa660, 24) = 0 [pid 5890] chdir("./5") = 0 [pid 5890] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5890] setpgid(0, 0) = 0 [pid 5890] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5890] write(3, "1000", 4) = 4 [pid 5890] close(3) = 0 [pid 5890] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5890] write(1, "executing program\n", 18) = 18 [pid 5890] memfd_create("syzkaller", 0) = 3 [pid 5890] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5890] 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 5890] munmap(0x7fe591200000, 138412032) = 0 [pid 5890] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5890] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5890] close(3) = 0 [pid 5890] close(4) = 0 [pid 5890] mkdir("./file1", 0777) = 0 [ 68.929814][ T5890] loop0: detected capacity change from 0 to 32768 [ 69.002295][ T5890] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 69.024082][ T5890] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 69.032132][ T5890] bcachefs (loop0): Version upgrade required: [ 69.032132][ T5890] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 69.032132][ T5890] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 69.032132][ T5890] 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.104341][ T5890] bcachefs (loop0): dropping and reconstructing all alloc info [ 69.119348][ T5890] bcachefs (loop0): check_topology... done [ 69.125265][ T5890] bcachefs (loop0): accounting_read... done [ 69.131464][ T5890] bcachefs (loop0): alloc_read... done [ 69.137152][ T5890] bcachefs (loop0): stripes_read... done [ 69.142948][ T5890] bcachefs (loop0): snapshots_read... done [pid 5890] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5890] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5890] chdir("./file1") = 0 [ 69.148919][ T5890] bcachefs (loop0): check_allocations... done [ 69.166422][ T5890] bcachefs (loop0): going read-write [ 69.174713][ T5890] bcachefs (loop0): done starting filesystem [pid 5890] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5890] ioctl(4, LOOP_CLR_FD) = 0 [pid 5890] close(4) = 0 [pid 5890] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5890] exit_group(0) = ? [pid 5890] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5890, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./5/binderfs") = 0 [ 69.371687][ T5829] bcachefs (loop0): shutting down [ 69.376914][ T5829] bcachefs (loop0): going read-only [ 69.382105][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 69.389622][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 69.411954][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 69.425086][ T3002] bcachefs (loop0): fatal error - emergency read only [ 69.432397][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 69.442710][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 69.450423][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 69.468275][ T5829] bcachefs (loop0): shutdown complete umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./5/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./5/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./5/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5901 attached , child_tidptr=0x55558edfa650) = 5901 [pid 5901] set_robust_list(0x55558edfa660, 24) = 0 [pid 5901] chdir("./6") = 0 [pid 5901] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5901] setpgid(0, 0) = 0 [pid 5901] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5901] write(3, "1000", 4) = 4 [pid 5901] close(3) = 0 [pid 5901] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5901] write(1, "executing program\n", 18) = 18 [pid 5901] memfd_create("syzkaller", 0) = 3 [pid 5901] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5901] 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 5901] munmap(0x7fe591200000, 138412032) = 0 [pid 5901] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5901] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5901] close(3) = 0 [pid 5901] close(4) = 0 [pid 5901] mkdir("./file1", 0777) = 0 [ 70.911175][ T5901] loop0: detected capacity change from 0 to 32768 [ 71.005156][ T5901] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 71.026414][ T5901] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 71.034797][ T5901] bcachefs (loop0): Version upgrade required: [ 71.034797][ T5901] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 71.034797][ T5901] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 71.034797][ T5901] 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.107130][ T5901] bcachefs (loop0): dropping and reconstructing all alloc info [ 71.122024][ T5901] bcachefs (loop0): check_topology... done [ 71.128083][ T5901] bcachefs (loop0): accounting_read... done [ 71.134269][ T5901] bcachefs (loop0): alloc_read... done [ 71.139767][ T5901] bcachefs (loop0): stripes_read... done [ 71.145541][ T5901] bcachefs (loop0): snapshots_read... done [pid 5901] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5901] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5901] chdir("./file1") = 0 [pid 5901] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5901] ioctl(4, LOOP_CLR_FD) = 0 [ 71.151527][ T5901] bcachefs (loop0): check_allocations... done [ 71.168741][ T5901] bcachefs (loop0): going read-write [ 71.177358][ T5901] bcachefs (loop0): done starting filesystem [pid 5901] close(4) = 0 [pid 5901] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5901] exit_group(0) = ? [pid 5901] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5901, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./6/binderfs") = 0 [ 71.353290][ T5829] bcachefs (loop0): shutting down [ 71.358478][ T5829] bcachefs (loop0): going read-only [ 71.363943][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 71.371298][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 71.393874][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 71.407113][ T3524] bcachefs (loop0): fatal error - emergency read only [ 71.414289][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 71.424050][ T5829] bcachefs (loop0): unshutdown complete, journal seq 13 [ 71.431504][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 71.447055][ T5829] bcachefs (loop0): shutdown complete umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./6/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./6/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./6/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5912 attached , child_tidptr=0x55558edfa650) = 5912 [pid 5912] set_robust_list(0x55558edfa660, 24) = 0 [pid 5912] chdir("./7") = 0 [pid 5912] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5912] setpgid(0, 0) = 0 [pid 5912] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5912] write(3, "1000", 4) = 4 [pid 5912] close(3) = 0 [pid 5912] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5912] write(1, "executing program\n", 18executing program ) = 18 [pid 5912] memfd_create("syzkaller", 0) = 3 [pid 5912] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5912] 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 5912] munmap(0x7fe591200000, 138412032) = 0 [pid 5912] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5912] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5912] close(3) = 0 [pid 5912] close(4) = 0 [pid 5912] mkdir("./file1", 0777) = 0 [ 72.794079][ T5912] loop0: detected capacity change from 0 to 32768 [ 72.860733][ T5912] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 72.882081][ T5912] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 72.890695][ T5912] bcachefs (loop0): Version upgrade required: [ 72.890695][ T5912] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 72.890695][ T5912] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 72.890695][ T5912] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 72.963779][ T5912] bcachefs (loop0): dropping and reconstructing all alloc info [ 72.978160][ T5912] bcachefs (loop0): check_topology... done [ 72.984134][ T5912] bcachefs (loop0): accounting_read... done [ 72.990186][ T5912] bcachefs (loop0): alloc_read... done [ 72.995761][ T5912] bcachefs (loop0): stripes_read... done [ 73.001460][ T5912] bcachefs (loop0): snapshots_read... done [pid 5912] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5912] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5912] chdir("./file1") = 0 [pid 5912] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5912] ioctl(4, LOOP_CLR_FD) = 0 [pid 5912] close(4) = 0 [pid 5912] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [ 73.007592][ T5912] bcachefs (loop0): check_allocations... done [ 73.024489][ T5912] bcachefs (loop0): going read-write [ 73.032326][ T5912] bcachefs (loop0): done starting filesystem [pid 5912] exit_group(0) = ? [pid 5912] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5912, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./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, 0x55558edfb6f0 /* 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 [ 73.188819][ T5829] bcachefs (loop0): shutting down [ 73.194067][ T5829] bcachefs (loop0): going read-only [ 73.199356][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 73.207453][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 73.230573][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 73.243862][ T35] bcachefs (loop0): fatal error - emergency read only [ 73.250952][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 73.261097][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 73.268806][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 73.284541][ T5829] bcachefs (loop0): shutdown complete umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./7/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./7/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./7/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5923 attached [pid 5923] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5923 [pid 5923] <... set_robust_list resumed>) = 0 [pid 5923] chdir("./8") = 0 [pid 5923] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5923] setpgid(0, 0) = 0 [pid 5923] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5923] write(3, "1000", 4) = 4 [pid 5923] close(3) = 0 [pid 5923] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5923] write(1, "executing program\n", 18) = 18 [pid 5923] memfd_create("syzkaller", 0) = 3 [pid 5923] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5923] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5923] munmap(0x7fe591200000, 138412032) = 0 [pid 5923] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5923] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5923] close(3) = 0 [pid 5923] close(4) = 0 [pid 5923] mkdir("./file1", 0777) = 0 [ 74.585690][ T5923] loop0: detected capacity change from 0 to 32768 [ 74.641661][ T5923] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 74.662879][ T5923] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 74.670912][ T5923] bcachefs (loop0): Version upgrade required: [ 74.670912][ T5923] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 74.670912][ T5923] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 74.670912][ T5923] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 74.743077][ T5923] bcachefs (loop0): dropping and reconstructing all alloc info [ 74.758081][ T5923] bcachefs (loop0): check_topology... done [ 74.764231][ T5923] bcachefs (loop0): accounting_read... done [ 74.770333][ T5923] bcachefs (loop0): alloc_read... done [ 74.775885][ T5923] bcachefs (loop0): stripes_read... done [ 74.781607][ T5923] bcachefs (loop0): snapshots_read... done [pid 5923] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5923] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5923] chdir("./file1") = 0 [ 74.787579][ T5923] bcachefs (loop0): check_allocations... done [ 74.804596][ T5923] bcachefs (loop0): going read-write [ 74.813452][ T5923] bcachefs (loop0): done starting filesystem [pid 5923] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5923] ioctl(4, LOOP_CLR_FD) = 0 [pid 5923] close(4) = 0 [pid 5923] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5923] exit_group(0) = ? [pid 5923] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5923, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=18 /* 0.18 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./8/binderfs") = 0 [ 74.890899][ T5829] bcachefs (loop0): shutting down [ 74.896188][ T5829] bcachefs (loop0): going read-only [ 74.901389][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 74.909112][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 74.931721][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 74.945121][ T3524] bcachefs (loop0): fatal error - emergency read only [ 74.952183][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 74.962072][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 74.969793][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 74.986010][ T5829] bcachefs (loop0): shutdown complete umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./8/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./8/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./8/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5934 attached [pid 5934] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5934 [pid 5934] chdir("./9") = 0 [pid 5934] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5934] setpgid(0, 0) = 0 [pid 5934] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5934] write(3, "1000", 4) = 4 [pid 5934] close(3) = 0 [pid 5934] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5934] write(1, "executing program\n", 18) = 18 [pid 5934] memfd_create("syzkaller", 0) = 3 [pid 5934] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5934] 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 5934] munmap(0x7fe591200000, 138412032) = 0 [pid 5934] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5934] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5934] close(3) = 0 [pid 5934] close(4) = 0 [pid 5934] mkdir("./file1", 0777) = 0 [ 76.302976][ T5934] loop0: detected capacity change from 0 to 32768 [ 76.368840][ T5934] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 76.390143][ T5934] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 76.398683][ T5934] bcachefs (loop0): Version upgrade required: [ 76.398683][ T5934] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 76.398683][ T5934] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 76.398683][ T5934] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 76.471227][ T5934] bcachefs (loop0): dropping and reconstructing all alloc info [ 76.485892][ T5934] bcachefs (loop0): check_topology... done [ 76.491835][ T5934] bcachefs (loop0): accounting_read... done [ 76.498153][ T5934] bcachefs (loop0): alloc_read... done [ 76.503804][ T5934] bcachefs (loop0): stripes_read... done [ 76.509497][ T5934] bcachefs (loop0): snapshots_read... done [pid 5934] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5934] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5934] chdir("./file1") = 0 [pid 5934] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 76.515452][ T5934] bcachefs (loop0): check_allocations... done [ 76.532064][ T5934] bcachefs (loop0): going read-write [ 76.540292][ T5934] bcachefs (loop0): done starting filesystem [pid 5934] ioctl(4, LOOP_CLR_FD) = 0 [pid 5934] close(4) = 0 [pid 5934] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5934] exit_group(0) = ? [pid 5934] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5934, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./9/binderfs") = 0 [ 76.747602][ T5829] bcachefs (loop0): shutting down [ 76.752917][ T5829] bcachefs (loop0): going read-only [ 76.758137][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 76.766353][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 76.789105][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 76.804648][ T972] cfg80211: failed to load regulatory.db [ 76.813539][ T3524] bcachefs (loop0): fatal error - emergency read only [ 76.821308][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 76.842606][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 76.850584][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 76.886102][ T5829] bcachefs (loop0): shutdown complete umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./9/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./9/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./9/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5945 attached [pid 5945] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5945 [pid 5945] chdir("./10") = 0 [pid 5945] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5945] setpgid(0, 0) = 0 [pid 5945] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5945] write(3, "1000", 4) = 4 [pid 5945] close(3) = 0 [pid 5945] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5945] write(1, "executing program\n", 18) = 18 [pid 5945] memfd_create("syzkaller", 0) = 3 [pid 5945] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5945] 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 5945] munmap(0x7fe591200000, 138412032) = 0 [pid 5945] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5945] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5945] close(3) = 0 [pid 5945] close(4) = 0 [pid 5945] mkdir("./file1", 0777) = 0 [ 78.353711][ T5945] loop0: detected capacity change from 0 to 32768 [ 78.427629][ T5945] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 78.449545][ T5945] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 78.457638][ T5945] bcachefs (loop0): Version upgrade required: [ 78.457638][ T5945] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 78.457638][ T5945] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 78.457638][ T5945] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 78.529482][ T5945] bcachefs (loop0): dropping and reconstructing all alloc info [ 78.544758][ T5945] bcachefs (loop0): check_topology... done [ 78.550643][ T5945] bcachefs (loop0): accounting_read... done [ 78.556932][ T5945] bcachefs (loop0): alloc_read... done [ 78.562882][ T5945] bcachefs (loop0): stripes_read... done [ 78.568571][ T5945] bcachefs (loop0): snapshots_read... done [pid 5945] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5945] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5945] chdir("./file1") = 0 [pid 5945] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 78.574535][ T5945] bcachefs (loop0): check_allocations... done [ 78.592871][ T5945] bcachefs (loop0): going read-write [ 78.601404][ T5945] bcachefs (loop0): done starting filesystem [pid 5945] ioctl(4, LOOP_CLR_FD) = 0 [pid 5945] close(4) = 0 [pid 5945] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5945] exit_group(0) = ? [pid 5945] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5945, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./10/binderfs") = 0 [ 78.685547][ T5829] bcachefs (loop0): shutting down [ 78.690634][ T5829] bcachefs (loop0): going read-only [ 78.696582][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 78.704644][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 78.727757][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 78.740905][ T3524] bcachefs (loop0): fatal error - emergency read only [ 78.748181][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 78.757900][ T5829] bcachefs (loop0): unshutdown complete, journal seq 15 [ 78.765761][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 78.781517][ T5829] bcachefs (loop0): shutdown complete umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./10/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./10/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./10/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5956 attached , child_tidptr=0x55558edfa650) = 5956 [pid 5956] set_robust_list(0x55558edfa660, 24) = 0 [pid 5956] chdir("./11") = 0 [pid 5956] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5956] setpgid(0, 0) = 0 [pid 5956] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5956] write(3, "1000", 4) = 4 [pid 5956] close(3) = 0 [pid 5956] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5956] write(1, "executing program\n", 18) = 18 [pid 5956] memfd_create("syzkaller", 0) = 3 [pid 5956] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5956] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5956] munmap(0x7fe591200000, 138412032) = 0 [pid 5956] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5956] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5956] close(3) = 0 [pid 5956] close(4) = 0 [pid 5956] mkdir("./file1", 0777) = 0 [ 80.089530][ T5956] loop0: detected capacity change from 0 to 32768 [ 80.156833][ T5956] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 80.177892][ T5956] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 80.186051][ T5956] bcachefs (loop0): Version upgrade required: [ 80.186051][ T5956] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 80.186051][ T5956] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 80.186051][ T5956] 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 [ 80.258203][ T5956] bcachefs (loop0): dropping and reconstructing all alloc info [ 80.272800][ T5956] bcachefs (loop0): check_topology... done [ 80.278651][ T5956] bcachefs (loop0): accounting_read... done [ 80.285378][ T5956] bcachefs (loop0): alloc_read... done [ 80.290905][ T5956] bcachefs (loop0): stripes_read... done [ 80.296815][ T5956] bcachefs (loop0): snapshots_read... done [pid 5956] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5956] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5956] chdir("./file1") = 0 [pid 5956] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5956] ioctl(4, LOOP_CLR_FD) = 0 [pid 5956] close(4) = 0 [pid 5956] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5956] exit_group(0) = ? [pid 5956] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5956, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [ 80.302819][ T5956] bcachefs (loop0): check_allocations... done [ 80.319334][ T5956] bcachefs (loop0): going read-write [ 80.327800][ T5956] bcachefs (loop0): done starting filesystem 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./11/binderfs") = 0 [ 80.504715][ T5829] bcachefs (loop0): shutting down [ 80.509786][ T5829] bcachefs (loop0): going read-only [ 80.515279][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 80.522865][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 80.545946][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 80.559073][ T35] bcachefs (loop0): fatal error - emergency read only [ 80.566288][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 80.576053][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 80.583688][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 80.599357][ T5829] bcachefs (loop0): shutdown complete umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./11/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./11/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./11/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5967 attached [pid 5967] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5967 [pid 5967] <... set_robust_list resumed>) = 0 [pid 5967] chdir("./12") = 0 [pid 5967] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5967] setpgid(0, 0) = 0 [pid 5967] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5967] write(3, "1000", 4) = 4 [pid 5967] close(3) = 0 [pid 5967] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5967] write(1, "executing program\n", 18executing program ) = 18 [pid 5967] memfd_create("syzkaller", 0) = 3 [pid 5967] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5967] 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 5967] munmap(0x7fe591200000, 138412032) = 0 [pid 5967] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5967] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5967] close(3) = 0 [pid 5967] close(4) = 0 [pid 5967] mkdir("./file1", 0777) = 0 [ 81.988750][ T5967] loop0: detected capacity change from 0 to 32768 [ 82.054514][ T5967] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 82.075738][ T5967] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 82.083853][ T5967] bcachefs (loop0): Version upgrade required: [ 82.083853][ T5967] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 82.083853][ T5967] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 82.083853][ T5967] 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.156533][ T5967] bcachefs (loop0): dropping and reconstructing all alloc info [ 82.171133][ T5967] bcachefs (loop0): check_topology... done [ 82.177080][ T5967] bcachefs (loop0): accounting_read... done [ 82.183870][ T5967] bcachefs (loop0): alloc_read... done [ 82.189408][ T5967] bcachefs (loop0): stripes_read... done [ 82.195297][ T5967] bcachefs (loop0): snapshots_read... done [pid 5967] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5967] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5967] chdir("./file1") = 0 [pid 5967] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5967] ioctl(4, LOOP_CLR_FD) = 0 [ 82.201241][ T5967] bcachefs (loop0): check_allocations... done [ 82.218273][ T5967] bcachefs (loop0): going read-write [ 82.226883][ T5967] bcachefs (loop0): done starting filesystem [pid 5967] close(4) = 0 [pid 5967] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5967] exit_group(0) = ? [pid 5967] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5967, 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("./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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./12/binderfs") = 0 [ 82.303125][ T5967] syz-executor282 (5967) used greatest stack depth: 17312 bytes left [ 82.321979][ T5829] bcachefs (loop0): shutting down [ 82.327303][ T5829] bcachefs (loop0): going read-only [ 82.332619][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 82.340095][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 82.364734][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 82.377866][ T3524] bcachefs (loop0): fatal error - emergency read only [ 82.385401][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 82.395265][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 82.403028][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 82.418870][ T5829] bcachefs (loop0): shutdown complete umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./12/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./12/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./12/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5978 attached [pid 5978] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5978 [pid 5978] <... set_robust_list resumed>) = 0 [pid 5978] chdir("./13") = 0 [pid 5978] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5978] setpgid(0, 0) = 0 [pid 5978] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5978] write(3, "1000", 4) = 4 [pid 5978] close(3) = 0 [pid 5978] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5978] write(1, "executing program\n", 18executing program ) = 18 [pid 5978] memfd_create("syzkaller", 0) = 3 [pid 5978] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5978] 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 5978] munmap(0x7fe591200000, 138412032) = 0 [pid 5978] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5978] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5978] close(3) = 0 [pid 5978] close(4) = 0 [pid 5978] mkdir("./file1", 0777) = 0 [ 83.740774][ T5978] loop0: detected capacity change from 0 to 32768 [ 83.810665][ T5978] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 83.832174][ T5978] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 83.840512][ T5978] bcachefs (loop0): Version upgrade required: [ 83.840512][ T5978] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 83.840512][ T5978] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 83.840512][ T5978] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 83.913168][ T5978] bcachefs (loop0): dropping and reconstructing all alloc info [ 83.927660][ T5978] bcachefs (loop0): check_topology... done [ 83.933794][ T5978] bcachefs (loop0): accounting_read... done [ 83.939951][ T5978] bcachefs (loop0): alloc_read... done [ 83.945506][ T5978] bcachefs (loop0): stripes_read... done [ 83.951185][ T5978] bcachefs (loop0): snapshots_read... done [pid 5978] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5978] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5978] chdir("./file1") = 0 [pid 5978] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5978] ioctl(4, LOOP_CLR_FD) = 0 [ 83.957319][ T5978] bcachefs (loop0): check_allocations... done [ 83.973904][ T5978] bcachefs (loop0): going read-write [ 83.981832][ T5978] bcachefs (loop0): done starting filesystem [pid 5978] close(4) = 0 [pid 5978] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5978] exit_group(0) = ? [pid 5978] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5978, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=22 /* 0.22 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./13/binderfs") = 0 [ 84.065305][ T5829] bcachefs (loop0): shutting down [ 84.070390][ T5829] bcachefs (loop0): going read-only [ 84.076091][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 84.083810][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 84.106031][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 84.119274][ T3002] bcachefs (loop0): fatal error - emergency read only [ 84.126825][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 84.137491][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 84.145303][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 84.161556][ T5829] bcachefs (loop0): shutdown complete umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./13/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./13/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./13/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 5989 attached [pid 5989] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 5989 [pid 5989] <... set_robust_list resumed>) = 0 [pid 5989] chdir("./14") = 0 [pid 5989] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5989] setpgid(0, 0) = 0 [pid 5989] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5989] write(3, "1000", 4) = 4 [pid 5989] close(3) = 0 [pid 5989] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5989] write(1, "executing program\n", 18) = 18 [pid 5989] memfd_create("syzkaller", 0) = 3 [pid 5989] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 5989] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5989] munmap(0x7fe591200000, 138412032) = 0 [pid 5989] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5989] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5989] close(3) = 0 [pid 5989] close(4) = 0 [pid 5989] mkdir("./file1", 0777) = 0 [ 85.463483][ T5989] loop0: detected capacity change from 0 to 32768 [ 85.530684][ T5989] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 85.552014][ T5989] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 85.560261][ T5989] bcachefs (loop0): Version upgrade required: [ 85.560261][ T5989] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 85.560261][ T5989] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 85.560261][ T5989] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 85.632623][ T5989] bcachefs (loop0): dropping and reconstructing all alloc info [ 85.650201][ T5989] bcachefs (loop0): check_topology... done [ 85.656215][ T5989] bcachefs (loop0): accounting_read... done [ 85.662311][ T5989] bcachefs (loop0): alloc_read... done [ 85.668121][ T5989] bcachefs (loop0): stripes_read... done [ 85.673999][ T5989] bcachefs (loop0): snapshots_read... done [pid 5989] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5989] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5989] chdir("./file1") = 0 [ 85.679965][ T5989] bcachefs (loop0): check_allocations... done [ 85.696854][ T5989] bcachefs (loop0): going read-write [ 85.705392][ T5989] bcachefs (loop0): done starting filesystem [pid 5989] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5989] ioctl(4, LOOP_CLR_FD) = 0 [pid 5989] close(4) = 0 [pid 5989] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 5989] exit_group(0) = ? [pid 5989] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5989, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=18 /* 0.18 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./14/binderfs") = 0 [ 85.919885][ T5829] bcachefs (loop0): shutting down [ 85.925258][ T5829] bcachefs (loop0): going read-only [ 85.930497][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 85.938180][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 85.960873][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 85.973706][ T35] bcachefs (loop0): fatal error - emergency read only [ 85.980766][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 85.990657][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 85.998363][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 86.013499][ T5829] bcachefs (loop0): shutdown complete umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./14/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./14/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./14/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 6000 attached , child_tidptr=0x55558edfa650) = 6000 [pid 6000] set_robust_list(0x55558edfa660, 24) = 0 [pid 6000] chdir("./15") = 0 [pid 6000] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6000] setpgid(0, 0) = 0 [pid 6000] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6000] write(3, "1000", 4) = 4 [pid 6000] close(3) = 0 [pid 6000] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6000] write(1, "executing program\n", 18) = 18 [pid 6000] memfd_create("syzkaller", 0) = 3 [pid 6000] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6000] 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 6000] munmap(0x7fe591200000, 138412032) = 0 [pid 6000] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6000] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6000] close(3) = 0 [pid 6000] close(4) = 0 [pid 6000] mkdir("./file1", 0777) = 0 [ 87.296413][ T6000] loop0: detected capacity change from 0 to 32768 [ 87.361475][ T6000] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 87.382730][ T6000] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 87.390732][ T6000] bcachefs (loop0): Version upgrade required: [ 87.390732][ T6000] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 87.390732][ T6000] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 87.390732][ T6000] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 87.463103][ T6000] bcachefs (loop0): dropping and reconstructing all alloc info [ 87.478672][ T6000] bcachefs (loop0): check_topology... done [ 87.484658][ T6000] bcachefs (loop0): accounting_read... done [ 87.491303][ T6000] bcachefs (loop0): alloc_read... done [ 87.496888][ T6000] bcachefs (loop0): stripes_read... done [ 87.502725][ T6000] bcachefs (loop0): snapshots_read... done [pid 6000] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6000] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6000] chdir("./file1") = 0 [pid 6000] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6000] ioctl(4, LOOP_CLR_FD) = 0 [pid 6000] close(4) = 0 [ 87.508656][ T6000] bcachefs (loop0): check_allocations... done [ 87.526452][ T6000] bcachefs (loop0): going read-write [ 87.534695][ T6000] bcachefs (loop0): done starting filesystem [pid 6000] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6000] exit_group(0) = ? [pid 6000] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6000, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./15/binderfs") = 0 [ 87.607541][ T5829] bcachefs (loop0): shutting down [ 87.612948][ T5829] bcachefs (loop0): going read-only [ 87.618166][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 87.625907][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 87.652172][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 87.665330][ T3002] bcachefs (loop0): fatal error - emergency read only [ 87.672636][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 87.683021][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 87.690573][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 87.706451][ T5829] bcachefs (loop0): shutdown complete umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./15/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./15/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./15/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 6011 attached , child_tidptr=0x55558edfa650) = 6011 [pid 6011] set_robust_list(0x55558edfa660, 24) = 0 [pid 6011] chdir("./16") = 0 [pid 6011] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6011] setpgid(0, 0) = 0 [pid 6011] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6011] write(3, "1000", 4) = 4 [pid 6011] close(3) = 0 [pid 6011] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6011] write(1, "executing program\n", 18) = 18 [pid 6011] memfd_create("syzkaller", 0) = 3 [pid 6011] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6011] 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 6011] munmap(0x7fe591200000, 138412032) = 0 [pid 6011] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6011] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6011] close(3) = 0 [pid 6011] close(4) = 0 [pid 6011] mkdir("./file1", 0777) = 0 [ 89.105627][ T6011] loop0: detected capacity change from 0 to 32768 [ 89.159572][ T6011] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 89.181498][ T6011] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 89.189790][ T6011] bcachefs (loop0): Version upgrade required: [ 89.189790][ T6011] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 89.189790][ T6011] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 89.189790][ T6011] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 89.262098][ T6011] bcachefs (loop0): dropping and reconstructing all alloc info [ 89.276806][ T6011] bcachefs (loop0): check_topology... done [ 89.282845][ T6011] bcachefs (loop0): accounting_read... done [ 89.289483][ T6011] bcachefs (loop0): alloc_read... done [ 89.295170][ T6011] bcachefs (loop0): stripes_read... done [ 89.300888][ T6011] bcachefs (loop0): snapshots_read... done [pid 6011] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6011] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6011] chdir("./file1") = 0 [pid 6011] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6011] ioctl(4, LOOP_CLR_FD) = 0 [pid 6011] close(4) = 0 [pid 6011] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6011] exit_group(0) = ? [pid 6011] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6011, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [ 89.307009][ T6011] bcachefs (loop0): check_allocations... done [ 89.324248][ T6011] bcachefs (loop0): going read-write [ 89.333169][ T6011] 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./16/binderfs") = 0 [ 89.503365][ T5829] bcachefs (loop0): shutting down [ 89.508460][ T5829] bcachefs (loop0): going read-only [ 89.513978][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 89.521469][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 89.544466][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 89.557552][ T35] bcachefs (loop0): fatal error - emergency read only [ 89.565112][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 89.574871][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 89.582357][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 89.600186][ T5829] bcachefs (loop0): shutdown complete umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./16/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./16/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./16/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 6022 attached [pid 6022] set_robust_list(0x55558edfa660, 24) = 0 [pid 6022] chdir("./17" [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6022 [pid 6022] <... chdir resumed>) = 0 [pid 6022] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6022] setpgid(0, 0) = 0 [pid 6022] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6022] write(3, "1000", 4) = 4 [pid 6022] close(3) = 0 [pid 6022] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6022] write(1, "executing program\n", 18) = 18 [pid 6022] memfd_create("syzkaller", 0) = 3 [pid 6022] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6022] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6022] munmap(0x7fe591200000, 138412032) = 0 [pid 6022] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6022] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6022] close(3) = 0 [pid 6022] close(4) = 0 [pid 6022] mkdir("./file1", 0777) = 0 [ 90.855749][ T6022] loop0: detected capacity change from 0 to 32768 [ 90.922214][ T6022] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 90.943926][ T6022] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 90.951926][ T6022] bcachefs (loop0): Version upgrade required: [ 90.951926][ T6022] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 90.951926][ T6022] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 90.951926][ T6022] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 91.024750][ T6022] bcachefs (loop0): dropping and reconstructing all alloc info [ 91.039146][ T6022] bcachefs (loop0): check_topology... done [ 91.045126][ T6022] bcachefs (loop0): accounting_read... done [ 91.051240][ T6022] bcachefs (loop0): alloc_read... done [ 91.056817][ T6022] bcachefs (loop0): stripes_read... done [ 91.062585][ T6022] bcachefs (loop0): snapshots_read... done [pid 6022] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6022] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6022] chdir("./file1") = 0 [pid 6022] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 91.068636][ T6022] bcachefs (loop0): check_allocations... done [ 91.086086][ T6022] bcachefs (loop0): going read-write [ 91.094283][ T6022] bcachefs (loop0): done starting filesystem [pid 6022] ioctl(4, LOOP_CLR_FD) = 0 [pid 6022] close(4) = 0 [pid 6022] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6022] exit_group(0) = ? [pid 6022] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6022, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=18 /* 0.18 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./17/binderfs") = 0 [ 91.172499][ T5829] bcachefs (loop0): shutting down [ 91.177605][ T5829] bcachefs (loop0): going read-only [ 91.183109][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 91.190573][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 91.214093][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 91.227175][ T3524] bcachefs (loop0): fatal error - emergency read only [ 91.234386][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 91.244449][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 91.252110][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 91.268160][ T5829] bcachefs (loop0): shutdown complete umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./17/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./17/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./17/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 6033 attached [pid 6033] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6033 [pid 6033] chdir("./18") = 0 [pid 6033] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6033] setpgid(0, 0) = 0 [pid 6033] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6033] write(3, "1000", 4) = 4 [pid 6033] close(3) = 0 [pid 6033] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6033] write(1, "executing program\n", 18) = 18 [pid 6033] memfd_create("syzkaller", 0) = 3 [pid 6033] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6033] 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 6033] munmap(0x7fe591200000, 138412032) = 0 [pid 6033] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6033] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6033] close(3) = 0 [pid 6033] close(4) = 0 [pid 6033] mkdir("./file1", 0777) = 0 [ 92.707620][ T6033] loop0: detected capacity change from 0 to 32768 [ 92.790920][ T6033] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 92.812321][ T6033] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 92.820736][ T6033] bcachefs (loop0): Version upgrade required: [ 92.820736][ T6033] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 92.820736][ T6033] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 92.820736][ T6033] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 92.893018][ T6033] bcachefs (loop0): dropping and reconstructing all alloc info [ 92.907659][ T6033] bcachefs (loop0): check_topology... done [ 92.913681][ T6033] bcachefs (loop0): accounting_read... done [ 92.919868][ T6033] bcachefs (loop0): alloc_read... done [ 92.925472][ T6033] bcachefs (loop0): stripes_read... done [ 92.931166][ T6033] bcachefs (loop0): snapshots_read... done [pid 6033] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6033] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6033] chdir("./file1") = 0 [pid 6033] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6033] ioctl(4, LOOP_CLR_FD) = 0 [ 92.937102][ T6033] bcachefs (loop0): check_allocations... done [ 92.953749][ T6033] bcachefs (loop0): going read-write [ 92.962197][ T6033] bcachefs (loop0): done starting filesystem [pid 6033] close(4) = 0 [pid 6033] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6033] exit_group(0) = ? [pid 6033] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6033, 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("./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, 0x55558edfb6f0 /* 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 [ 93.158246][ T5829] bcachefs (loop0): shutting down [ 93.163523][ T5829] bcachefs (loop0): going read-only [ 93.168758][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 93.176366][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 93.198826][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 93.211969][ T3002] bcachefs (loop0): fatal error - emergency read only [ 93.219565][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 93.229462][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 93.237030][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 93.253288][ T5829] bcachefs (loop0): shutdown complete umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./18/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./18/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./18/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 6044 attached [pid 6044] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6044 [pid 6044] <... set_robust_list resumed>) = 0 [pid 6044] chdir("./19") = 0 [pid 6044] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6044] setpgid(0, 0) = 0 [pid 6044] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6044] write(3, "1000", 4) = 4 [pid 6044] close(3) = 0 [pid 6044] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6044] write(1, "executing program\n", 18) = 18 [pid 6044] memfd_create("syzkaller", 0) = 3 [pid 6044] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6044] 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 6044] munmap(0x7fe591200000, 138412032) = 0 [pid 6044] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6044] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6044] close(3) = 0 [pid 6044] close(4) = 0 [pid 6044] mkdir("./file1", 0777) = 0 [ 94.515105][ T6044] loop0: detected capacity change from 0 to 32768 [ 94.603849][ T6044] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 94.625740][ T6044] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 94.633876][ T6044] bcachefs (loop0): Version upgrade required: [ 94.633876][ T6044] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 94.633876][ T6044] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 94.633876][ T6044] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 94.705809][ T6044] bcachefs (loop0): dropping and reconstructing all alloc info [ 94.722063][ T6044] bcachefs (loop0): check_topology... done [ 94.728027][ T6044] bcachefs (loop0): accounting_read... done [ 94.734168][ T6044] bcachefs (loop0): alloc_read... done [ 94.739704][ T6044] bcachefs (loop0): stripes_read... done [ 94.745489][ T6044] bcachefs (loop0): snapshots_read... done [pid 6044] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6044] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6044] chdir("./file1") = 0 [pid 6044] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6044] ioctl(4, LOOP_CLR_FD) = 0 [pid 6044] close(4) = 0 [pid 6044] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6044] exit_group(0) = ? [pid 6044] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6044, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [ 94.751434][ T6044] bcachefs (loop0): check_allocations... done [ 94.768107][ T6044] bcachefs (loop0): going read-write [ 94.777167][ T6044] bcachefs (loop0): done starting filesystem 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./19/binderfs") = 0 [ 94.915251][ T5829] bcachefs (loop0): shutting down [ 94.920314][ T5829] bcachefs (loop0): going read-only [ 94.925755][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 94.934674][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 94.956972][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 94.970200][ T35] bcachefs (loop0): fatal error - emergency read only [ 94.977428][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 94.987386][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 94.995109][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 95.010884][ T5829] bcachefs (loop0): shutdown complete umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./19/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./19/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./19/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 6055 attached , child_tidptr=0x55558edfa650) = 6055 [pid 6055] set_robust_list(0x55558edfa660, 24) = 0 [pid 6055] chdir("./20") = 0 [pid 6055] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6055] setpgid(0, 0) = 0 [pid 6055] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6055] write(3, "1000", 4) = 4 [pid 6055] close(3) = 0 [pid 6055] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6055] write(1, "executing program\n", 18) = 18 [pid 6055] memfd_create("syzkaller", 0) = 3 [pid 6055] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6055] 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 6055] munmap(0x7fe591200000, 138412032) = 0 [pid 6055] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6055] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6055] close(3) = 0 [pid 6055] close(4) = 0 [pid 6055] mkdir("./file1", 0777) = 0 [ 96.342752][ T6055] loop0: detected capacity change from 0 to 32768 [ 96.420520][ T6055] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 96.441737][ T6055] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 96.450036][ T6055] bcachefs (loop0): Version upgrade required: [ 96.450036][ T6055] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 96.450036][ T6055] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 96.450036][ T6055] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 96.521857][ T6055] bcachefs (loop0): dropping and reconstructing all alloc info [ 96.537008][ T6055] bcachefs (loop0): check_topology... done [ 96.542947][ T6055] bcachefs (loop0): accounting_read... done [ 96.549089][ T6055] bcachefs (loop0): alloc_read... done [ 96.554903][ T6055] bcachefs (loop0): stripes_read... done [ 96.560651][ T6055] bcachefs (loop0): snapshots_read... done [pid 6055] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6055] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6055] chdir("./file1") = 0 [pid 6055] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6055] ioctl(4, LOOP_CLR_FD) = 0 [ 96.567030][ T6055] bcachefs (loop0): check_allocations... done [ 96.583631][ T6055] bcachefs (loop0): going read-write [ 96.592811][ T6055] bcachefs (loop0): done starting filesystem [pid 6055] close(4) = 0 [pid 6055] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6055] exit_group(0) = ? [pid 6055] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6055, 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("./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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./20/binderfs") = 0 [ 96.778875][ T5829] bcachefs (loop0): shutting down [ 96.784090][ T5829] bcachefs (loop0): going read-only [ 96.789284][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 96.797175][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 96.818668][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 96.831820][ T3002] bcachefs (loop0): fatal error - emergency read only [ 96.839160][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 96.848991][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 96.856573][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 96.872205][ T5829] bcachefs (loop0): shutdown complete umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./20/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./20/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./20/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 6067 attached , child_tidptr=0x55558edfa650) = 6067 [pid 6067] set_robust_list(0x55558edfa660, 24) = 0 [pid 6067] chdir("./21") = 0 [pid 6067] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6067] setpgid(0, 0) = 0 [pid 6067] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6067] write(3, "1000", 4) = 4 [pid 6067] close(3) = 0 [pid 6067] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6067] write(1, "executing program\n", 18) = 18 [pid 6067] memfd_create("syzkaller", 0) = 3 [pid 6067] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6067] 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 6067] munmap(0x7fe591200000, 138412032) = 0 [pid 6067] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6067] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6067] close(3) = 0 [pid 6067] close(4) = 0 [pid 6067] mkdir("./file1", 0777) = 0 [ 98.274361][ T6067] loop0: detected capacity change from 0 to 32768 [ 98.340847][ T6067] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 98.362217][ T6067] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 98.370422][ T6067] bcachefs (loop0): Version upgrade required: [ 98.370422][ T6067] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 98.370422][ T6067] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 98.370422][ T6067] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 98.443484][ T6067] bcachefs (loop0): dropping and reconstructing all alloc info [ 98.457996][ T6067] bcachefs (loop0): check_topology... done [ 98.464029][ T6067] bcachefs (loop0): accounting_read... done [ 98.470250][ T6067] bcachefs (loop0): alloc_read... done [ 98.475858][ T6067] bcachefs (loop0): stripes_read... done [ 98.481618][ T6067] bcachefs (loop0): snapshots_read... done [pid 6067] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6067] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6067] chdir("./file1") = 0 [pid 6067] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6067] ioctl(4, LOOP_CLR_FD) = 0 [pid 6067] close(4) = 0 [pid 6067] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6067] exit_group(0) = ? [pid 6067] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6067, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=20 /* 0.20 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 [ 98.487772][ T6067] bcachefs (loop0): check_allocations... done [ 98.504879][ T6067] bcachefs (loop0): going read-write [ 98.513539][ T6067] bcachefs (loop0): done starting filesystem newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./21/binderfs") = 0 [ 98.567537][ T5829] bcachefs (loop0): shutting down [ 98.573264][ T5829] bcachefs (loop0): going read-only [ 98.578515][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 98.586207][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 98.609650][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 98.623333][ T35] bcachefs (loop0): fatal error - emergency read only [ 98.630499][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 98.640360][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 98.648139][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 98.664205][ T5829] bcachefs (loop0): shutdown complete umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./21/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./21/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./21/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 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 6083 attached , child_tidptr=0x55558edfa650) = 6083 [pid 6083] set_robust_list(0x55558edfa660, 24) = 0 [pid 6083] chdir("./22") = 0 [pid 6083] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6083] setpgid(0, 0) = 0 [pid 6083] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6083] write(3, "1000", 4) = 4 [pid 6083] close(3) = 0 [pid 6083] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6083] write(1, "executing program\n", 18) = 18 [pid 6083] memfd_create("syzkaller", 0) = 3 [pid 6083] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6083] 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 6083] munmap(0x7fe591200000, 138412032) = 0 [pid 6083] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6083] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6083] close(3) = 0 [pid 6083] close(4) = 0 [pid 6083] mkdir("./file1", 0777) = 0 [ 99.964143][ T6083] loop0: detected capacity change from 0 to 32768 [ 100.022051][ T6083] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 100.043486][ T6083] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 100.051637][ T6083] bcachefs (loop0): Version upgrade required: [ 100.051637][ T6083] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 100.051637][ T6083] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 100.051637][ T6083] 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.123973][ T6083] bcachefs (loop0): dropping and reconstructing all alloc info [ 100.139590][ T6083] bcachefs (loop0): check_topology... done [ 100.145656][ T6083] bcachefs (loop0): accounting_read... done [ 100.151754][ T6083] bcachefs (loop0): alloc_read... done [ 100.157428][ T6083] bcachefs (loop0): stripes_read... done [ 100.163282][ T6083] bcachefs (loop0): snapshots_read... done [pid 6083] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6083] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6083] chdir("./file1") = 0 [pid 6083] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6083] ioctl(4, LOOP_CLR_FD) = 0 [pid 6083] close(4) = 0 [pid 6083] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6083] exit_group(0) = ? [pid 6083] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6083, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 100.169425][ T6083] bcachefs (loop0): check_allocations... done [ 100.186137][ T6083] bcachefs (loop0): going read-write [ 100.194665][ T6083] bcachefs (loop0): done starting filesystem 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./22/binderfs") = 0 [ 100.333413][ T5829] bcachefs (loop0): shutting down [ 100.338487][ T5829] bcachefs (loop0): going read-only [ 100.344738][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 100.352164][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 100.376986][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 100.390222][ T3002] bcachefs (loop0): fatal error - emergency read only [ 100.398285][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 100.408076][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 100.415746][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 100.431090][ T5829] bcachefs (loop0): shutdown complete umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./22/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./22/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./22/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./22") = 0 mkdir("./23", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6094 attached [pid 6094] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6094 [pid 6094] chdir("./23") = 0 [pid 6094] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6094] setpgid(0, 0) = 0 [pid 6094] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6094] write(3, "1000", 4) = 4 [pid 6094] close(3) = 0 executing program [pid 6094] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6094] write(1, "executing program\n", 18) = 18 [pid 6094] memfd_create("syzkaller", 0) = 3 [pid 6094] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6094] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6094] munmap(0x7fe591200000, 138412032) = 0 [pid 6094] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6094] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6094] close(3) = 0 [pid 6094] close(4) = 0 [pid 6094] mkdir("./file1", 0777) = 0 [ 101.752113][ T6094] loop0: detected capacity change from 0 to 32768 [ 101.830242][ T6094] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 101.851572][ T6094] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 101.859826][ T6094] bcachefs (loop0): Version upgrade required: [ 101.859826][ T6094] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 101.859826][ T6094] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 101.859826][ T6094] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 101.931825][ T6094] bcachefs (loop0): dropping and reconstructing all alloc info [ 101.946347][ T6094] bcachefs (loop0): check_topology... done [ 101.952261][ T6094] bcachefs (loop0): accounting_read... done [ 101.958446][ T6094] bcachefs (loop0): alloc_read... done [ 101.964045][ T6094] bcachefs (loop0): stripes_read... done [ 101.969744][ T6094] bcachefs (loop0): snapshots_read... done [pid 6094] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6094] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6094] chdir("./file1") = 0 [ 101.975749][ T6094] bcachefs (loop0): check_allocations... done [ 101.993113][ T6094] bcachefs (loop0): going read-write [ 102.001438][ T6094] bcachefs (loop0): done starting filesystem [pid 6094] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6094] ioctl(4, LOOP_CLR_FD) = 0 [pid 6094] close(4) = 0 [pid 6094] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6094] exit_group(0) = ? [pid 6094] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6094, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=24 /* 0.24 s */} --- 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, 0x55558edfb6f0 /* 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 [ 102.214207][ T5829] bcachefs (loop0): shutting down [ 102.219262][ T5829] bcachefs (loop0): going read-only [ 102.224774][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 102.232151][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 102.256018][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 102.268820][ T3524] bcachefs (loop0): fatal error - emergency read only [ 102.276285][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 102.285995][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 102.293669][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 102.310055][ T5829] bcachefs (loop0): shutdown complete umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./23/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./23/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./23/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./23") = 0 mkdir("./24", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6105 attached [pid 6105] set_robust_list(0x55558edfa660, 24) = 0 [pid 6105] chdir("./24") = 0 [pid 6105] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6105] setpgid(0, 0) = 0 [pid 6105] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6105] write(3, "1000", 4) = 4 [pid 6105] close(3) = 0 [pid 6105] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6105] write(1, "executing program\n", 18) = 18 [pid 6105] memfd_create("syzkaller", 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6105 [pid 6105] <... memfd_create resumed>) = 3 [pid 6105] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6105] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6105] munmap(0x7fe591200000, 138412032) = 0 [pid 6105] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6105] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6105] close(3) = 0 [pid 6105] close(4) = 0 [pid 6105] mkdir("./file1", 0777) = 0 [ 103.577379][ T6105] loop0: detected capacity change from 0 to 32768 [ 103.648945][ T6105] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 103.670264][ T6105] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 103.678921][ T6105] bcachefs (loop0): Version upgrade required: [ 103.678921][ T6105] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 103.678921][ T6105] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 103.678921][ T6105] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 103.751045][ T6105] bcachefs (loop0): dropping and reconstructing all alloc info [ 103.765810][ T6105] bcachefs (loop0): check_topology... done [ 103.771663][ T6105] bcachefs (loop0): accounting_read... done [ 103.777927][ T6105] bcachefs (loop0): alloc_read... done [ 103.783534][ T6105] bcachefs (loop0): stripes_read... done [ 103.789247][ T6105] bcachefs (loop0): snapshots_read... done [pid 6105] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6105] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6105] chdir("./file1") = 0 [pid 6105] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6105] ioctl(4, LOOP_CLR_FD) = 0 [pid 6105] close(4) = 0 [pid 6105] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6105] exit_group(0) = ? [pid 6105] +++ exited with 0 +++ [ 103.795330][ T6105] bcachefs (loop0): check_allocations... done [ 103.812599][ T6105] bcachefs (loop0): going read-write [ 103.821345][ T6105] bcachefs (loop0): done starting filesystem --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6105, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./24/binderfs") = 0 [ 103.973402][ T5829] bcachefs (loop0): shutting down [ 103.978481][ T5829] bcachefs (loop0): going read-only [ 103.983812][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 103.991779][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 104.015298][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 104.028482][ T3002] bcachefs (loop0): fatal error - emergency read only [ 104.035724][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 104.045540][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 104.053276][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 104.068751][ T5829] bcachefs (loop0): shutdown complete umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./24/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./24/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./24/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./24") = 0 mkdir("./25", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6116 attached , child_tidptr=0x55558edfa650) = 6116 [pid 6116] set_robust_list(0x55558edfa660, 24) = 0 [pid 6116] chdir("./25") = 0 [pid 6116] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6116] setpgid(0, 0) = 0 [pid 6116] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6116] write(3, "1000", 4) = 4 [pid 6116] close(3) = 0 [pid 6116] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6116] write(1, "executing program\n", 18) = 18 [pid 6116] memfd_create("syzkaller", 0) = 3 [pid 6116] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6116] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6116] munmap(0x7fe591200000, 138412032) = 0 [pid 6116] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6116] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6116] close(3) = 0 [pid 6116] close(4) = 0 [pid 6116] mkdir("./file1", 0777) = 0 [ 105.334846][ T6116] loop0: detected capacity change from 0 to 32768 [ 105.404890][ T6116] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 105.426670][ T6116] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 105.434780][ T6116] bcachefs (loop0): Version upgrade required: [ 105.434780][ T6116] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 105.434780][ T6116] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 105.434780][ T6116] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 105.506859][ T6116] bcachefs (loop0): dropping and reconstructing all alloc info [ 105.521302][ T6116] bcachefs (loop0): check_topology... done [ 105.527461][ T6116] bcachefs (loop0): accounting_read... done [ 105.533719][ T6116] bcachefs (loop0): alloc_read... done [ 105.539269][ T6116] bcachefs (loop0): stripes_read... done [ 105.545016][ T6116] bcachefs (loop0): snapshots_read... done [pid 6116] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6116] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6116] chdir("./file1") = 0 [pid 6116] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 105.550960][ T6116] bcachefs (loop0): check_allocations... done [ 105.567710][ T6116] bcachefs (loop0): going read-write [ 105.575857][ T6116] bcachefs (loop0): done starting filesystem [pid 6116] ioctl(4, LOOP_CLR_FD) = 0 [pid 6116] close(4) = 0 [pid 6116] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6116] exit_group(0) = ? [pid 6116] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6116, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./25/binderfs") = 0 [ 105.671819][ T5829] bcachefs (loop0): shutting down [ 105.677051][ T5829] bcachefs (loop0): going read-only [ 105.682247][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 105.690047][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 105.714525][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 105.727685][ T3524] bcachefs (loop0): fatal error - emergency read only [ 105.735478][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 105.745380][ T5829] bcachefs (loop0): unshutdown complete, journal seq 15 [ 105.753238][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 105.768660][ T5829] bcachefs (loop0): shutdown complete umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./25/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./25/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./25/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./25") = 0 mkdir("./26", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6127 attached [pid 6127] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6127 [pid 6127] chdir("./26") = 0 [pid 6127] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6127] setpgid(0, 0) = 0 [pid 6127] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6127] write(3, "1000", 4) = 4 [pid 6127] close(3) = 0 [pid 6127] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6127] write(1, "executing program\n", 18) = 18 [pid 6127] memfd_create("syzkaller", 0) = 3 [pid 6127] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6127] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6127] munmap(0x7fe591200000, 138412032) = 0 [pid 6127] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6127] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6127] close(3) = 0 [pid 6127] close(4) = 0 [pid 6127] mkdir("./file1", 0777) = 0 [ 107.103988][ T6127] loop0: detected capacity change from 0 to 32768 [ 107.177668][ T6127] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 107.199298][ T6127] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 107.209719][ T6127] bcachefs (loop0): Version upgrade required: [ 107.209719][ T6127] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 107.209719][ T6127] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 107.209719][ T6127] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 107.282140][ T6127] bcachefs (loop0): dropping and reconstructing all alloc info [ 107.296850][ T6127] bcachefs (loop0): check_topology... done [ 107.302864][ T6127] bcachefs (loop0): accounting_read... done [ 107.308987][ T6127] bcachefs (loop0): alloc_read... done [ 107.314615][ T6127] bcachefs (loop0): stripes_read... done [ 107.320437][ T6127] bcachefs (loop0): snapshots_read... done [pid 6127] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6127] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6127] chdir("./file1") = 0 [pid 6127] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 107.326490][ T6127] bcachefs (loop0): check_allocations... done [ 107.343878][ T6127] bcachefs (loop0): going read-write [ 107.351794][ T6127] bcachefs (loop0): done starting filesystem [pid 6127] ioctl(4, LOOP_CLR_FD) = 0 [pid 6127] close(4) = 0 [pid 6127] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6127] exit_group(0) = ? [pid 6127] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6127, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./26/binderfs") = 0 [ 107.527756][ T5829] bcachefs (loop0): shutting down [ 107.533104][ T5829] bcachefs (loop0): going read-only [ 107.538404][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 107.546801][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 107.571392][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 107.584600][ T3002] bcachefs (loop0): fatal error - emergency read only [ 107.591725][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 107.601820][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 107.609677][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 107.625157][ T5829] bcachefs (loop0): shutdown complete umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./26/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./26/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./26/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./26") = 0 mkdir("./27", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6138 attached [pid 6138] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6138 [pid 6138] <... set_robust_list resumed>) = 0 [pid 6138] chdir("./27") = 0 [pid 6138] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6138] setpgid(0, 0) = 0 [pid 6138] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6138] write(3, "1000", 4) = 4 [pid 6138] close(3) = 0 [pid 6138] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6138] write(1, "executing program\n", 18) = 18 [pid 6138] memfd_create("syzkaller", 0) = 3 [pid 6138] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6138] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6138] munmap(0x7fe591200000, 138412032) = 0 [pid 6138] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6138] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6138] close(3) = 0 [pid 6138] close(4) = 0 [pid 6138] mkdir("./file1", 0777) = 0 [ 108.983955][ T6138] loop0: detected capacity change from 0 to 32768 [ 109.053056][ T6138] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 109.074581][ T6138] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 109.082751][ T6138] bcachefs (loop0): Version upgrade required: [ 109.082751][ T6138] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 109.082751][ T6138] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 109.082751][ T6138] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 109.154815][ T6138] bcachefs (loop0): dropping and reconstructing all alloc info [ 109.170883][ T6138] bcachefs (loop0): check_topology... done [ 109.177099][ T6138] bcachefs (loop0): accounting_read... done [ 109.183307][ T6138] bcachefs (loop0): alloc_read... done [ 109.188833][ T6138] bcachefs (loop0): stripes_read... done [ 109.194905][ T6138] bcachefs (loop0): snapshots_read... done [pid 6138] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6138] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6138] chdir("./file1") = 0 [pid 6138] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6138] ioctl(4, LOOP_CLR_FD) = 0 [pid 6138] close(4) = 0 [ 109.200891][ T6138] bcachefs (loop0): check_allocations... done [ 109.218549][ T6138] bcachefs (loop0): going read-write [ 109.227831][ T6138] bcachefs (loop0): done starting filesystem [pid 6138] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6138] exit_group(0) = ? [pid 6138] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6138, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./27/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./27/binderfs") = 0 [ 109.401065][ T5829] bcachefs (loop0): shutting down [ 109.406300][ T5829] bcachefs (loop0): going read-only [ 109.411536][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 109.419318][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 109.442967][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 109.455887][ T3002] bcachefs (loop0): fatal error - emergency read only [ 109.463123][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 109.472942][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 109.480397][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 109.496457][ T5829] bcachefs (loop0): shutdown complete umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./27/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./27/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./27/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./27") = 0 mkdir("./28", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6149 attached , child_tidptr=0x55558edfa650) = 6149 [pid 6149] set_robust_list(0x55558edfa660, 24) = 0 [pid 6149] chdir("./28") = 0 [pid 6149] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6149] setpgid(0, 0) = 0 [pid 6149] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6149] write(3, "1000", 4) = 4 [pid 6149] close(3) = 0 [pid 6149] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6149] write(1, "executing program\n", 18) = 18 [pid 6149] memfd_create("syzkaller", 0) = 3 [pid 6149] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6149] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6149] munmap(0x7fe591200000, 138412032) = 0 [pid 6149] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6149] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6149] close(3) = 0 [pid 6149] close(4) = 0 [pid 6149] mkdir("./file1", 0777) = 0 [ 110.893121][ T6149] loop0: detected capacity change from 0 to 32768 [ 110.959712][ T6149] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 110.981087][ T6149] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 110.990095][ T6149] bcachefs (loop0): Version upgrade required: [ 110.990095][ T6149] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 110.990095][ T6149] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 110.990095][ T6149] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 111.063014][ T6149] bcachefs (loop0): dropping and reconstructing all alloc info [ 111.078089][ T6149] bcachefs (loop0): check_topology... done [ 111.084055][ T6149] bcachefs (loop0): accounting_read... done [ 111.090220][ T6149] bcachefs (loop0): alloc_read... done [ 111.095883][ T6149] bcachefs (loop0): stripes_read... done [ 111.101602][ T6149] bcachefs (loop0): snapshots_read... done [pid 6149] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6149] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6149] chdir("./file1") = 0 [pid 6149] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6149] ioctl(4, LOOP_CLR_FD) = 0 [pid 6149] close(4) = 0 [pid 6149] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6149] exit_group(0) = ? [pid 6149] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6149, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- [ 111.107743][ T6149] bcachefs (loop0): check_allocations... done [ 111.124373][ T6149] bcachefs (loop0): going read-write [ 111.132895][ T6149] bcachefs (loop0): done starting filesystem 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./28/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./28/binderfs") = 0 [ 111.288162][ T5829] bcachefs (loop0): shutting down [ 111.293425][ T5829] bcachefs (loop0): going read-only [ 111.298737][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 111.306461][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 111.330504][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 111.343994][ T3524] bcachefs (loop0): fatal error - emergency read only [ 111.351565][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 111.361610][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 111.369372][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 111.385596][ T5829] bcachefs (loop0): shutdown complete umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./28/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./28/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./28/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./28") = 0 mkdir("./29", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6160 attached [pid 6160] set_robust_list(0x55558edfa660, 24) = 0 [pid 6160] chdir("./29" [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6160 [pid 6160] <... chdir resumed>) = 0 [pid 6160] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6160] setpgid(0, 0) = 0 [pid 6160] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6160] write(3, "1000", 4) = 4 [pid 6160] close(3) = 0 [pid 6160] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6160] write(1, "executing program\n", 18) = 18 [pid 6160] memfd_create("syzkaller", 0) = 3 [pid 6160] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6160] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6160] munmap(0x7fe591200000, 138412032) = 0 [pid 6160] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6160] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6160] close(3) = 0 [pid 6160] close(4) = 0 [pid 6160] mkdir("./file1", 0777) = 0 [ 112.666672][ T6160] loop0: detected capacity change from 0 to 32768 [ 112.750136][ T6160] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 112.771295][ T6160] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 112.779602][ T6160] bcachefs (loop0): Version upgrade required: [ 112.779602][ T6160] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 112.779602][ T6160] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 112.779602][ T6160] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 112.852532][ T6160] bcachefs (loop0): dropping and reconstructing all alloc info [ 112.868939][ T6160] bcachefs (loop0): check_topology... done [ 112.874999][ T6160] bcachefs (loop0): accounting_read... done [ 112.881345][ T6160] bcachefs (loop0): alloc_read... done [ 112.887022][ T6160] bcachefs (loop0): stripes_read... done [ 112.892966][ T6160] bcachefs (loop0): snapshots_read... done [pid 6160] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6160] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6160] chdir("./file1") = 0 [pid 6160] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 112.899136][ T6160] bcachefs (loop0): check_allocations... done [ 112.917282][ T6160] bcachefs (loop0): going read-write [ 112.927125][ T6160] bcachefs (loop0): done starting filesystem [pid 6160] ioctl(4, LOOP_CLR_FD) = 0 [pid 6160] close(4) = 0 [pid 6160] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6160] exit_group(0) = ? [pid 6160] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6160, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 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, 0x55558edfb6f0 /* 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 [ 113.132980][ T5829] bcachefs (loop0): shutting down [ 113.138769][ T5829] bcachefs (loop0): going read-only [ 113.144415][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 113.152144][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 113.180902][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 113.194789][ T3524] bcachefs (loop0): fatal error - emergency read only [ 113.201948][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 113.211860][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 113.219598][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 113.236653][ T5829] bcachefs (loop0): shutdown complete umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./29/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./29/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./29/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./29") = 0 mkdir("./30", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6171 attached , child_tidptr=0x55558edfa650) = 6171 [pid 6171] set_robust_list(0x55558edfa660, 24) = 0 [pid 6171] chdir("./30") = 0 [pid 6171] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6171] setpgid(0, 0) = 0 [pid 6171] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6171] write(3, "1000", 4) = 4 [pid 6171] close(3) = 0 [pid 6171] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6171] write(1, "executing program\n", 18) = 18 [pid 6171] memfd_create("syzkaller", 0) = 3 [pid 6171] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6171] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6171] munmap(0x7fe591200000, 138412032) = 0 [pid 6171] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6171] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6171] close(3) = 0 [pid 6171] close(4) = 0 [pid 6171] mkdir("./file1", 0777) = 0 [ 114.596851][ T6171] loop0: detected capacity change from 0 to 32768 [ 114.665137][ T6171] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 114.688828][ T6171] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 114.697065][ T6171] bcachefs (loop0): Version upgrade required: [ 114.697065][ T6171] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 114.697065][ T6171] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 114.697065][ T6171] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 114.769532][ T6171] bcachefs (loop0): dropping and reconstructing all alloc info [ 114.784562][ T6171] bcachefs (loop0): check_topology... done [ 114.790484][ T6171] bcachefs (loop0): accounting_read... done [ 114.796780][ T6171] bcachefs (loop0): alloc_read... done [ 114.802348][ T6171] bcachefs (loop0): stripes_read... done [ 114.808223][ T6171] bcachefs (loop0): snapshots_read... done [pid 6171] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6171] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6171] chdir("./file1") = 0 [pid 6171] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6171] ioctl(4, LOOP_CLR_FD) = 0 [ 114.814334][ T6171] bcachefs (loop0): check_allocations... done [ 114.833523][ T6171] bcachefs (loop0): going read-write [ 114.843514][ T6171] bcachefs (loop0): done starting filesystem [pid 6171] close(4) = 0 [pid 6171] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6171] exit_group(0) = ? [pid 6171] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6171, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- 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, 0x55558edfb6f0 /* 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 [ 115.017207][ T5829] bcachefs (loop0): shutting down [ 115.022284][ T5829] bcachefs (loop0): going read-only [ 115.027693][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 115.035177][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 115.060108][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 115.073220][ T3002] bcachefs (loop0): fatal error - emergency read only [ 115.080514][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 115.090686][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 115.098655][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 115.115472][ T5829] bcachefs (loop0): shutdown complete umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./30/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./30/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./30/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./30") = 0 mkdir("./31", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6182 attached , child_tidptr=0x55558edfa650) = 6182 [pid 6182] set_robust_list(0x55558edfa660, 24) = 0 [pid 6182] chdir("./31") = 0 [pid 6182] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6182] setpgid(0, 0) = 0 [pid 6182] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6182] write(3, "1000", 4) = 4 [pid 6182] close(3) = 0 [pid 6182] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6182] write(1, "executing program\n", 18) = 18 [pid 6182] memfd_create("syzkaller", 0) = 3 [pid 6182] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6182] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6182] munmap(0x7fe591200000, 138412032) = 0 [pid 6182] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6182] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6182] close(3) = 0 [pid 6182] close(4) = 0 [pid 6182] mkdir("./file1", 0777) = 0 [ 116.364974][ T6182] loop0: detected capacity change from 0 to 32768 [ 116.448327][ T6182] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 116.470229][ T6182] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 116.478382][ T6182] bcachefs (loop0): Version upgrade required: [ 116.478382][ T6182] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 116.478382][ T6182] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 116.478382][ T6182] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 116.551853][ T6182] bcachefs (loop0): dropping and reconstructing all alloc info [ 116.567015][ T6182] bcachefs (loop0): check_topology... done [ 116.573063][ T6182] bcachefs (loop0): accounting_read... done [ 116.579783][ T6182] bcachefs (loop0): alloc_read... done [ 116.585429][ T6182] bcachefs (loop0): stripes_read... done [ 116.591160][ T6182] bcachefs (loop0): snapshots_read... done [pid 6182] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6182] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6182] chdir("./file1") = 0 [pid 6182] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6182] ioctl(4, LOOP_CLR_FD) = 0 [pid 6182] close(4) = 0 [pid 6182] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6182] exit_group(0) = ? [pid 6182] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6182, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 116.597384][ T6182] bcachefs (loop0): check_allocations... done [ 116.616006][ T6182] bcachefs (loop0): going read-write [ 116.626003][ T6182] bcachefs (loop0): done starting filesystem umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./31/binderfs") = 0 [ 116.784416][ T5829] bcachefs (loop0): shutting down [ 116.789525][ T5829] bcachefs (loop0): going read-only [ 116.795171][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 116.803336][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 116.827379][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 116.841003][ T3002] bcachefs (loop0): fatal error - emergency read only [ 116.848467][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 116.858474][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 116.866257][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 116.881723][ T5829] bcachefs (loop0): shutdown complete umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./31/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./31/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./31/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./31") = 0 mkdir("./32", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6193 attached [pid 6193] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6193 [pid 6193] chdir("./32") = 0 [pid 6193] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6193] setpgid(0, 0) = 0 [pid 6193] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6193] write(3, "1000", 4) = 4 [pid 6193] close(3) = 0 [pid 6193] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6193] write(1, "executing program\n", 18) = 18 [pid 6193] memfd_create("syzkaller", 0) = 3 [pid 6193] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6193] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6193] munmap(0x7fe591200000, 138412032) = 0 [pid 6193] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6193] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6193] close(3) = 0 [pid 6193] close(4) = 0 [pid 6193] mkdir("./file1", 0777) = 0 [ 118.143957][ T6193] loop0: detected capacity change from 0 to 32768 [ 118.219872][ T6193] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 118.241558][ T6193] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 118.249913][ T6193] bcachefs (loop0): Version upgrade required: [ 118.249913][ T6193] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 118.249913][ T6193] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 118.249913][ T6193] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 118.325157][ T6193] bcachefs (loop0): dropping and reconstructing all alloc info [ 118.340354][ T6193] bcachefs (loop0): check_topology... done [ 118.346755][ T6193] bcachefs (loop0): accounting_read... done [ 118.352925][ T6193] bcachefs (loop0): alloc_read... done [ 118.358455][ T6193] bcachefs (loop0): stripes_read... done [ 118.364478][ T6193] bcachefs (loop0): snapshots_read... done [pid 6193] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6193] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6193] chdir("./file1") = 0 [pid 6193] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6193] ioctl(4, LOOP_CLR_FD) = 0 [ 118.370509][ T6193] bcachefs (loop0): check_allocations... done [ 118.389266][ T6193] bcachefs (loop0): going read-write [ 118.398871][ T6193] bcachefs (loop0): done starting filesystem [pid 6193] close(4) = 0 [pid 6193] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6193] exit_group(0) = ? [pid 6193] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6193, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./32/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./32/binderfs") = 0 [ 118.556912][ T5829] bcachefs (loop0): shutting down [ 118.562025][ T5829] bcachefs (loop0): going read-only [ 118.567536][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 118.575159][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 118.599075][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 118.612380][ T35] bcachefs (loop0): fatal error - emergency read only [ 118.619711][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 118.629705][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 118.637644][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 118.654125][ T5829] bcachefs (loop0): shutdown complete umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./32/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./32/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./32/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./32") = 0 mkdir("./33", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6204 attached , child_tidptr=0x55558edfa650) = 6204 [pid 6204] set_robust_list(0x55558edfa660, 24) = 0 [pid 6204] chdir("./33") = 0 [pid 6204] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6204] setpgid(0, 0) = 0 [pid 6204] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6204] write(3, "1000", 4) = 4 [pid 6204] close(3) = 0 [pid 6204] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6204] write(1, "executing program\n", 18) = 18 [pid 6204] memfd_create("syzkaller", 0) = 3 [pid 6204] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6204] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6204] munmap(0x7fe591200000, 138412032) = 0 [pid 6204] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6204] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6204] close(3) = 0 [pid 6204] close(4) = 0 [pid 6204] mkdir("./file1", 0777) = 0 [ 119.949884][ T6204] loop0: detected capacity change from 0 to 32768 [ 120.016137][ T6204] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 120.037659][ T6204] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 120.045910][ T6204] bcachefs (loop0): Version upgrade required: [ 120.045910][ T6204] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 120.045910][ T6204] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 120.045910][ T6204] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 120.118472][ T6204] bcachefs (loop0): dropping and reconstructing all alloc info [ 120.133537][ T6204] bcachefs (loop0): check_topology... done [ 120.139421][ T6204] bcachefs (loop0): accounting_read... done [ 120.145586][ T6204] bcachefs (loop0): alloc_read... done [ 120.151122][ T6204] bcachefs (loop0): stripes_read... done [ 120.156935][ T6204] bcachefs (loop0): snapshots_read... done [pid 6204] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6204] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6204] chdir("./file1") = 0 [pid 6204] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 120.162965][ T6204] bcachefs (loop0): check_allocations... done [ 120.179695][ T6204] bcachefs (loop0): going read-write [ 120.188433][ T6204] bcachefs (loop0): done starting filesystem [pid 6204] ioctl(4, LOOP_CLR_FD) = 0 [pid 6204] close(4) = 0 [pid 6204] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6204] exit_group(0) = ? [pid 6204] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6204, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./33/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./33/binderfs") = 0 [ 120.371348][ T5829] bcachefs (loop0): shutting down [ 120.376722][ T5829] bcachefs (loop0): going read-only [ 120.381979][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 120.389752][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 120.413916][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 120.426834][ T35] bcachefs (loop0): fatal error - emergency read only [ 120.434119][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 120.443888][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 120.451444][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 120.467430][ T5829] bcachefs (loop0): shutdown complete umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./33/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./33/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./33/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./33") = 0 mkdir("./34", 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 6215 attached [pid 6215] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6215 [pid 6215] <... set_robust_list resumed>) = 0 [pid 6215] chdir("./34") = 0 [pid 6215] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6215] setpgid(0, 0) = 0 [pid 6215] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6215] write(3, "1000", 4) = 4 [pid 6215] close(3) = 0 [pid 6215] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6215] write(1, "executing program\n", 18) = 18 [pid 6215] memfd_create("syzkaller", 0) = 3 [pid 6215] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6215] 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 6215] munmap(0x7fe591200000, 138412032) = 0 [pid 6215] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6215] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6215] close(3) = 0 [pid 6215] close(4) = 0 [pid 6215] mkdir("./file1", 0777) = 0 [ 121.743432][ T6215] loop0: detected capacity change from 0 to 32768 [ 121.809115][ T6215] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 121.830490][ T6215] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 121.839205][ T6215] bcachefs (loop0): Version upgrade required: [ 121.839205][ T6215] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 121.839205][ T6215] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 121.839205][ T6215] 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 [ 121.911580][ T6215] bcachefs (loop0): dropping and reconstructing all alloc info [ 121.927099][ T6215] bcachefs (loop0): check_topology... done [ 121.933037][ T6215] bcachefs (loop0): accounting_read... done [ 121.939157][ T6215] bcachefs (loop0): alloc_read... done [ 121.944784][ T6215] bcachefs (loop0): stripes_read... done [ 121.950490][ T6215] bcachefs (loop0): snapshots_read... done [pid 6215] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6215] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6215] chdir("./file1") = 0 [pid 6215] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 121.956433][ T6215] bcachefs (loop0): check_allocations... done [ 121.973466][ T6215] bcachefs (loop0): going read-write [ 121.981179][ T6215] bcachefs (loop0): done starting filesystem [pid 6215] ioctl(4, LOOP_CLR_FD) = 0 [pid 6215] close(4) = 0 [pid 6215] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6215] exit_group(0) = ? [pid 6215] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6215, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./34", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./34/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./34/binderfs") = 0 [ 122.174045][ T5829] bcachefs (loop0): shutting down [ 122.179133][ T5829] bcachefs (loop0): going read-only [ 122.184568][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 122.191922][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 122.214121][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 122.227302][ T3524] bcachefs (loop0): fatal error - emergency read only [ 122.234507][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 122.244553][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 122.252036][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 122.267626][ T5829] bcachefs (loop0): shutdown complete umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./34/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./34/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./34/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./34") = 0 mkdir("./35", 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 6226 attached , child_tidptr=0x55558edfa650) = 6226 [pid 6226] set_robust_list(0x55558edfa660, 24) = 0 [pid 6226] chdir("./35") = 0 [pid 6226] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6226] setpgid(0, 0) = 0 [pid 6226] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6226] write(3, "1000", 4) = 4 [pid 6226] close(3) = 0 [pid 6226] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6226] write(1, "executing program\n", 18) = 18 [pid 6226] memfd_create("syzkaller", 0) = 3 [pid 6226] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6226] 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 6226] munmap(0x7fe591200000, 138412032) = 0 [pid 6226] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6226] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6226] close(3) = 0 [pid 6226] close(4) = 0 [pid 6226] mkdir("./file1", 0777) = 0 [ 123.574153][ T6226] loop0: detected capacity change from 0 to 32768 [ 123.644266][ T6226] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 123.665422][ T6226] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 123.673525][ T6226] bcachefs (loop0): Version upgrade required: [ 123.673525][ T6226] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 123.673525][ T6226] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 123.673525][ T6226] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 123.745512][ T6226] bcachefs (loop0): dropping and reconstructing all alloc info [ 123.759838][ T6226] bcachefs (loop0): check_topology... done [ 123.765890][ T6226] bcachefs (loop0): accounting_read... done [ 123.772133][ T6226] bcachefs (loop0): alloc_read... done [ 123.777796][ T6226] bcachefs (loop0): stripes_read... done [ 123.783560][ T6226] bcachefs (loop0): snapshots_read... done [pid 6226] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6226] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6226] chdir("./file1") = 0 [pid 6226] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6226] ioctl(4, LOOP_CLR_FD) = 0 [pid 6226] close(4) = 0 [pid 6226] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6226] exit_group(0) = ? [pid 6226] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6226, 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("./35", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 123.789485][ T6226] bcachefs (loop0): check_allocations... done [ 123.806227][ T6226] bcachefs (loop0): going read-write [ 123.814782][ T6226] bcachefs (loop0): done starting filesystem openat(AT_FDCWD, "./35", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./35/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./35/binderfs") = 0 [ 123.948810][ T5829] bcachefs (loop0): shutting down [ 123.954285][ T5829] bcachefs (loop0): going read-only [ 123.959590][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 123.967488][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 123.990950][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 124.004157][ T3524] bcachefs (loop0): fatal error - emergency read only [ 124.011231][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 124.021169][ T5829] bcachefs (loop0): unshutdown complete, journal seq 13 [ 124.028769][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 124.044444][ T5829] bcachefs (loop0): shutdown complete umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./35/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./35/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./35/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./35") = 0 mkdir("./36", 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, child_tidptr=0x55558edfa650) = 6237 ./strace-static-x86_64: Process 6237 attached [pid 6237] set_robust_list(0x55558edfa660, 24) = 0 [pid 6237] chdir("./36") = 0 [pid 6237] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6237] setpgid(0, 0) = 0 [pid 6237] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6237] write(3, "1000", 4) = 4 [pid 6237] close(3) = 0 [pid 6237] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6237] write(1, "executing program\n", 18executing program ) = 18 [pid 6237] memfd_create("syzkaller", 0) = 3 [pid 6237] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6237] 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 6237] munmap(0x7fe591200000, 138412032) = 0 [pid 6237] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6237] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6237] close(3) = 0 [pid 6237] close(4) = 0 [pid 6237] mkdir("./file1", 0777) = 0 [ 125.388759][ T6237] loop0: detected capacity change from 0 to 32768 [ 125.456220][ T6237] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 125.477705][ T6237] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 125.486215][ T6237] bcachefs (loop0): Version upgrade required: [ 125.486215][ T6237] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 125.486215][ T6237] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 125.486215][ T6237] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 125.558522][ T6237] bcachefs (loop0): dropping and reconstructing all alloc info [ 125.573087][ T6237] bcachefs (loop0): check_topology... done [ 125.578940][ T6237] bcachefs (loop0): accounting_read... done [ 125.585129][ T6237] bcachefs (loop0): alloc_read... done [ 125.590834][ T6237] bcachefs (loop0): stripes_read... done [ 125.596751][ T6237] bcachefs (loop0): snapshots_read... done [pid 6237] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6237] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6237] chdir("./file1") = 0 [pid 6237] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 125.602761][ T6237] bcachefs (loop0): check_allocations... done [ 125.619424][ T6237] bcachefs (loop0): going read-write [ 125.628210][ T6237] bcachefs (loop0): done starting filesystem [pid 6237] ioctl(4, LOOP_CLR_FD) = 0 [pid 6237] close(4) = 0 [pid 6237] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6237] exit_group(0) = ? [pid 6237] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6237, 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("./36", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./36", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./36/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./36/binderfs") = 0 [ 125.841947][ T5829] bcachefs (loop0): shutting down [ 125.847235][ T5829] bcachefs (loop0): going read-only [ 125.852654][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 125.860028][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 125.882202][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 125.895263][ T3524] bcachefs (loop0): fatal error - emergency read only [ 125.902340][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 125.912489][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 125.919951][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 125.935316][ T5829] bcachefs (loop0): shutdown complete umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./36/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./36/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./36/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./36") = 0 mkdir("./37", 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 6248 attached , child_tidptr=0x55558edfa650) = 6248 [pid 6248] set_robust_list(0x55558edfa660, 24) = 0 [pid 6248] chdir("./37") = 0 [pid 6248] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6248] setpgid(0, 0) = 0 [pid 6248] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6248] write(3, "1000", 4) = 4 [pid 6248] close(3) = 0 [pid 6248] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6248] write(1, "executing program\n", 18executing program ) = 18 [pid 6248] memfd_create("syzkaller", 0) = 3 [pid 6248] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6248] 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 6248] munmap(0x7fe591200000, 138412032) = 0 [pid 6248] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6248] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6248] close(3) = 0 [pid 6248] close(4) = 0 [pid 6248] mkdir("./file1", 0777) = 0 [ 127.266453][ T6248] loop0: detected capacity change from 0 to 32768 [ 127.343385][ T6248] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 127.364781][ T6248] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 127.372921][ T6248] bcachefs (loop0): Version upgrade required: [ 127.372921][ T6248] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 127.372921][ T6248] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 127.372921][ T6248] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 127.445555][ T6248] bcachefs (loop0): dropping and reconstructing all alloc info [ 127.460351][ T6248] bcachefs (loop0): check_topology... done [ 127.466353][ T6248] bcachefs (loop0): accounting_read... done [ 127.472624][ T6248] bcachefs (loop0): alloc_read... done [ 127.478138][ T6248] bcachefs (loop0): stripes_read... done [ 127.484157][ T6248] bcachefs (loop0): snapshots_read... done [pid 6248] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6248] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6248] chdir("./file1") = 0 [pid 6248] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6248] ioctl(4, LOOP_CLR_FD) = 0 [pid 6248] close(4) = 0 [ 127.490127][ T6248] bcachefs (loop0): check_allocations... done [ 127.507763][ T6248] bcachefs (loop0): going read-write [ 127.516335][ T6248] bcachefs (loop0): done starting filesystem [pid 6248] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6248] exit_group(0) = ? [pid 6248] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6248, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./37", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./37/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./37/binderfs") = 0 [ 127.712898][ T5829] bcachefs (loop0): shutting down [ 127.717953][ T5829] bcachefs (loop0): going read-only [ 127.723682][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 127.731152][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 127.754985][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 127.768157][ T3524] bcachefs (loop0): fatal error - emergency read only [ 127.775462][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 127.785679][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 127.793452][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 127.808837][ T5829] bcachefs (loop0): shutdown complete umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./37/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./37/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./37/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./37") = 0 mkdir("./38", 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 6259 attached [pid 6259] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6259 [pid 6259] chdir("./38") = 0 [pid 6259] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6259] setpgid(0, 0) = 0 [pid 6259] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6259] write(3, "1000", 4) = 4 [pid 6259] close(3) = 0 [pid 6259] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6259] write(1, "executing program\n", 18executing program ) = 18 [pid 6259] memfd_create("syzkaller", 0) = 3 [pid 6259] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6259] 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 6259] munmap(0x7fe591200000, 138412032) = 0 [pid 6259] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6259] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6259] close(3) = 0 [pid 6259] close(4) = 0 [pid 6259] mkdir("./file1", 0777) = 0 [ 129.172966][ T6259] loop0: detected capacity change from 0 to 32768 [ 129.239335][ T6259] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 129.260434][ T6259] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 129.268581][ T6259] bcachefs (loop0): Version upgrade required: [ 129.268581][ T6259] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 129.268581][ T6259] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 129.268581][ T6259] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 129.340394][ T6259] bcachefs (loop0): dropping and reconstructing all alloc info [ 129.355273][ T6259] bcachefs (loop0): check_topology... done [ 129.361138][ T6259] bcachefs (loop0): accounting_read... done [ 129.367305][ T6259] bcachefs (loop0): alloc_read... done [ 129.372955][ T6259] bcachefs (loop0): stripes_read... done [ 129.378621][ T6259] bcachefs (loop0): snapshots_read... done [pid 6259] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6259] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6259] chdir("./file1") = 0 [pid 6259] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6259] ioctl(4, LOOP_CLR_FD) = 0 [pid 6259] close(4) = 0 [pid 6259] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6259] exit_group(0) = ? [pid 6259] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6259, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 129.384601][ T6259] bcachefs (loop0): check_allocations... done [ 129.401839][ T6259] bcachefs (loop0): going read-write [ 129.409942][ T6259] bcachefs (loop0): done starting filesystem umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./38", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./38/binderfs") = 0 [ 129.550565][ T5829] bcachefs (loop0): shutting down [ 129.555860][ T5829] bcachefs (loop0): going read-only [ 129.561056][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 129.568754][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 129.591054][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 129.604233][ T3524] bcachefs (loop0): fatal error - emergency read only [ 129.611576][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 129.621405][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 129.629331][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 129.645150][ T5829] bcachefs (loop0): shutdown complete umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./38/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./38/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./38/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./38") = 0 mkdir("./39", 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 6270 attached , child_tidptr=0x55558edfa650) = 6270 [pid 6270] set_robust_list(0x55558edfa660, 24) = 0 [pid 6270] chdir("./39") = 0 [pid 6270] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6270] setpgid(0, 0) = 0 [pid 6270] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6270] write(3, "1000", 4) = 4 [pid 6270] close(3) = 0 [pid 6270] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6270] write(1, "executing program\n", 18) = 18 [pid 6270] memfd_create("syzkaller", 0) = 3 [pid 6270] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6270] 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 6270] munmap(0x7fe591200000, 138412032) = 0 [pid 6270] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6270] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6270] close(3) = 0 [pid 6270] close(4) = 0 [pid 6270] mkdir("./file1", 0777) = 0 [ 130.963456][ T6270] loop0: detected capacity change from 0 to 32768 [ 131.025227][ T6270] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 131.046999][ T6270] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 131.055402][ T6270] bcachefs (loop0): Version upgrade required: [ 131.055402][ T6270] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 131.055402][ T6270] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 131.055402][ T6270] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 131.128397][ T6270] bcachefs (loop0): dropping and reconstructing all alloc info [ 131.144147][ T6270] bcachefs (loop0): check_topology... done [ 131.150121][ T6270] bcachefs (loop0): accounting_read... done [ 131.156806][ T6270] bcachefs (loop0): alloc_read... done [ 131.162344][ T6270] bcachefs (loop0): stripes_read... done [ 131.168227][ T6270] bcachefs (loop0): snapshots_read... done [pid 6270] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6270] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6270] chdir("./file1") = 0 [pid 6270] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6270] ioctl(4, LOOP_CLR_FD) = 0 [pid 6270] close(4) = 0 [pid 6270] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6270] exit_group(0) = ? [pid 6270] +++ exited with 0 +++ [ 131.174446][ T6270] bcachefs (loop0): check_allocations... done [ 131.191707][ T6270] bcachefs (loop0): going read-write [ 131.200625][ T6270] bcachefs (loop0): done starting filesystem --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6270, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./39", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./39/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./39/binderfs") = 0 [ 131.381594][ T5829] bcachefs (loop0): shutting down [ 131.386957][ T5829] bcachefs (loop0): going read-only [ 131.392218][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 131.399825][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 131.424546][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 131.438010][ T3524] bcachefs (loop0): fatal error - emergency read only [ 131.445362][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 131.455284][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 131.463171][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 131.478561][ T5829] bcachefs (loop0): shutdown complete umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./39/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./39/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./39/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./39") = 0 mkdir("./40", 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 6281 attached [pid 6281] set_robust_list(0x55558edfa660, 24) = 0 [pid 6281] chdir("./40" [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6281 [pid 6281] <... chdir resumed>) = 0 [pid 6281] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6281] setpgid(0, 0) = 0 [pid 6281] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6281] write(3, "1000", 4) = 4 [pid 6281] close(3) = 0 [pid 6281] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6281] write(1, "executing program\n", 18) = 18 [pid 6281] memfd_create("syzkaller", 0) = 3 [pid 6281] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6281] 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 6281] munmap(0x7fe591200000, 138412032) = 0 [pid 6281] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6281] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6281] close(3) = 0 [pid 6281] close(4) = 0 [pid 6281] mkdir("./file1", 0777) = 0 [ 132.796804][ T6281] loop0: detected capacity change from 0 to 32768 [ 132.861662][ T6281] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 132.883120][ T6281] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 132.891352][ T6281] bcachefs (loop0): Version upgrade required: [ 132.891352][ T6281] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 132.891352][ T6281] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 132.891352][ T6281] 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 [ 132.963831][ T6281] bcachefs (loop0): dropping and reconstructing all alloc info [ 132.979107][ T6281] bcachefs (loop0): check_topology... done [ 132.985040][ T6281] bcachefs (loop0): accounting_read... done [ 132.991183][ T6281] bcachefs (loop0): alloc_read... done [ 132.996781][ T6281] bcachefs (loop0): stripes_read... done [ 133.002577][ T6281] bcachefs (loop0): snapshots_read... done [pid 6281] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6281] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6281] chdir("./file1") = 0 [pid 6281] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6281] ioctl(4, LOOP_CLR_FD) = 0 [pid 6281] close(4) = 0 [pid 6281] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6281] exit_group(0) = ? [pid 6281] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6281, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 133.008493][ T6281] bcachefs (loop0): check_allocations... done [ 133.025808][ T6281] bcachefs (loop0): going read-write [ 133.034754][ T6281] bcachefs (loop0): done starting filesystem umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./40", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./40/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./40/binderfs") = 0 [ 133.127093][ T5829] bcachefs (loop0): shutting down [ 133.132339][ T5829] bcachefs (loop0): going read-only [ 133.138000][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 133.145511][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 133.167692][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 133.180418][ T3524] bcachefs (loop0): fatal error - emergency read only [ 133.188061][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 133.197847][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 133.205677][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 133.220766][ T5829] bcachefs (loop0): shutdown complete umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./40/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./40/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./40/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./40") = 0 mkdir("./41", 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 6292 attached , child_tidptr=0x55558edfa650) = 6292 [pid 6292] set_robust_list(0x55558edfa660, 24) = 0 [pid 6292] chdir("./41") = 0 [pid 6292] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6292] setpgid(0, 0) = 0 [pid 6292] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6292] write(3, "1000", 4) = 4 [pid 6292] close(3) = 0 [pid 6292] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6292] write(1, "executing program\n", 18) = 18 [pid 6292] memfd_create("syzkaller", 0) = 3 [pid 6292] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6292] 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 6292] munmap(0x7fe591200000, 138412032) = 0 [pid 6292] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6292] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6292] close(3) = 0 [pid 6292] close(4) = 0 [pid 6292] mkdir("./file1", 0777) = 0 [ 134.568572][ T6292] loop0: detected capacity change from 0 to 32768 [ 134.633468][ T6292] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 134.655083][ T6292] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 134.663228][ T6292] bcachefs (loop0): Version upgrade required: [ 134.663228][ T6292] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 134.663228][ T6292] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 134.663228][ T6292] 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 [ 134.735162][ T6292] bcachefs (loop0): dropping and reconstructing all alloc info [ 134.749902][ T6292] bcachefs (loop0): check_topology... done [ 134.755925][ T6292] bcachefs (loop0): accounting_read... done [ 134.761993][ T6292] bcachefs (loop0): alloc_read... done [ 134.767579][ T6292] bcachefs (loop0): stripes_read... done [ 134.773351][ T6292] bcachefs (loop0): snapshots_read... done [pid 6292] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6292] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6292] chdir("./file1") = 0 [pid 6292] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6292] ioctl(4, LOOP_CLR_FD) = 0 [pid 6292] close(4) = 0 [pid 6292] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [ 134.779486][ T6292] bcachefs (loop0): check_allocations... done [ 134.796407][ T6292] bcachefs (loop0): going read-write [ 134.805141][ T6292] bcachefs (loop0): done starting filesystem [pid 6292] exit_group(0) = ? [pid 6292] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6292, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./41", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./41/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./41/binderfs") = 0 [ 134.873283][ T5829] bcachefs (loop0): shutting down [ 134.878362][ T5829] bcachefs (loop0): going read-only [ 134.883891][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 134.891337][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 134.916074][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 134.929353][ T3002] bcachefs (loop0): fatal error - emergency read only [ 134.936708][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 134.946463][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 134.954289][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 134.969868][ T5829] bcachefs (loop0): shutdown complete umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./41/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./41/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./41/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./41") = 0 mkdir("./42", 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 6303 attached , child_tidptr=0x55558edfa650) = 6303 [pid 6303] set_robust_list(0x55558edfa660, 24) = 0 [pid 6303] chdir("./42") = 0 [pid 6303] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6303] setpgid(0, 0) = 0 [pid 6303] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6303] write(3, "1000", 4) = 4 [pid 6303] close(3) = 0 [pid 6303] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6303] write(1, "executing program\n", 18) = 18 [pid 6303] memfd_create("syzkaller", 0) = 3 [pid 6303] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6303] 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 6303] munmap(0x7fe591200000, 138412032) = 0 [pid 6303] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6303] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6303] close(3) = 0 [pid 6303] close(4) = 0 [pid 6303] mkdir("./file1", 0777) = 0 [ 136.239699][ T6303] loop0: detected capacity change from 0 to 32768 [ 136.311571][ T6303] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 136.333270][ T6303] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 136.341354][ T6303] bcachefs (loop0): Version upgrade required: [ 136.341354][ T6303] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 136.341354][ T6303] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 136.341354][ T6303] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 136.414359][ T6303] bcachefs (loop0): dropping and reconstructing all alloc info [ 136.428763][ T6303] bcachefs (loop0): check_topology... done [ 136.435011][ T6303] bcachefs (loop0): accounting_read... done [ 136.441222][ T6303] bcachefs (loop0): alloc_read... done [ 136.447182][ T6303] bcachefs (loop0): stripes_read... done [ 136.453093][ T6303] bcachefs (loop0): snapshots_read... done [pid 6303] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6303] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6303] chdir("./file1") = 0 [pid 6303] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6303] ioctl(4, LOOP_CLR_FD) = 0 [pid 6303] close(4) = 0 [pid 6303] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [ 136.459039][ T6303] bcachefs (loop0): check_allocations... done [ 136.476353][ T6303] bcachefs (loop0): going read-write [ 136.485447][ T6303] bcachefs (loop0): done starting filesystem [pid 6303] exit_group(0) = ? [pid 6303] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6303, 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("./42", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./42", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./42/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./42/binderfs") = 0 [ 136.648802][ T5829] bcachefs (loop0): shutting down [ 136.654041][ T5829] bcachefs (loop0): going read-only [ 136.659242][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 136.666833][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 136.689182][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 136.702539][ T3002] bcachefs (loop0): fatal error - emergency read only [ 136.709723][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 136.720335][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 136.728046][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 136.744319][ T5829] bcachefs (loop0): shutdown complete umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./42/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./42/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./42/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./42") = 0 mkdir("./43", 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 6314 attached [pid 6314] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6314 [pid 6314] chdir("./43") = 0 [pid 6314] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6314] setpgid(0, 0) = 0 [pid 6314] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6314] write(3, "1000", 4) = 4 [pid 6314] close(3) = 0 [pid 6314] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6314] write(1, "executing program\n", 18executing program ) = 18 [pid 6314] memfd_create("syzkaller", 0) = 3 [pid 6314] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6314] 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 6314] munmap(0x7fe591200000, 138412032) = 0 [pid 6314] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6314] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6314] close(3) = 0 [pid 6314] close(4) = 0 [pid 6314] mkdir("./file1", 0777) = 0 [ 137.978005][ T6314] loop0: detected capacity change from 0 to 32768 [ 138.043583][ T6314] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 138.065167][ T6314] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 138.073400][ T6314] bcachefs (loop0): Version upgrade required: [ 138.073400][ T6314] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 138.073400][ T6314] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 138.073400][ T6314] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 138.145588][ T6314] bcachefs (loop0): dropping and reconstructing all alloc info [ 138.159991][ T6314] bcachefs (loop0): check_topology... done [ 138.166233][ T6314] bcachefs (loop0): accounting_read... done [ 138.172347][ T6314] bcachefs (loop0): alloc_read... done [ 138.177927][ T6314] bcachefs (loop0): stripes_read... done [ 138.183695][ T6314] bcachefs (loop0): snapshots_read... done [pid 6314] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6314] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6314] chdir("./file1") = 0 [pid 6314] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6314] ioctl(4, LOOP_CLR_FD) = 0 [pid 6314] close(4) = 0 [pid 6314] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6314] exit_group(0) = ? [pid 6314] +++ exited with 0 +++ [ 138.189648][ T6314] bcachefs (loop0): check_allocations... done [ 138.206325][ T6314] bcachefs (loop0): going read-write [ 138.214799][ T6314] bcachefs (loop0): done starting filesystem --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6314, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./43", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./43/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./43/binderfs") = 0 [ 138.320906][ T5829] bcachefs (loop0): shutting down [ 138.326310][ T5829] bcachefs (loop0): going read-only [ 138.331532][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 138.339619][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 138.368526][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 138.382272][ T3002] bcachefs (loop0): fatal error - emergency read only [ 138.390166][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 12 [ 138.401077][ T5829] bcachefs (loop0): unshutdown complete, journal seq 12 [ 138.409573][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 138.431468][ T5829] bcachefs (loop0): shutdown complete umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./43/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./43/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./43/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./43") = 0 mkdir("./44", 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 6325 attached , child_tidptr=0x55558edfa650) = 6325 [pid 6325] set_robust_list(0x55558edfa660, 24) = 0 [pid 6325] chdir("./44") = 0 [pid 6325] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6325] setpgid(0, 0) = 0 [pid 6325] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6325] write(3, "1000", 4) = 4 [pid 6325] close(3) = 0 [pid 6325] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6325] write(1, "executing program\n", 18) = 18 [pid 6325] memfd_create("syzkaller", 0) = 3 [pid 6325] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6325] 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 6325] munmap(0x7fe591200000, 138412032) = 0 [pid 6325] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6325] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6325] close(3) = 0 [pid 6325] close(4) = 0 [pid 6325] mkdir("./file1", 0777) = 0 [ 139.707349][ T6325] loop0: detected capacity change from 0 to 32768 [ 139.774221][ T6325] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 139.796037][ T6325] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 139.804325][ T6325] bcachefs (loop0): Version upgrade required: [ 139.804325][ T6325] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 139.804325][ T6325] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 139.804325][ T6325] 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 [ 139.876568][ T6325] bcachefs (loop0): dropping and reconstructing all alloc info [ 139.890944][ T6325] bcachefs (loop0): check_topology... done [ 139.896969][ T6325] bcachefs (loop0): accounting_read... done [ 139.903128][ T6325] bcachefs (loop0): alloc_read... done [ 139.908655][ T6325] bcachefs (loop0): stripes_read... done [ 139.914428][ T6325] bcachefs (loop0): snapshots_read... done [pid 6325] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6325] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6325] chdir("./file1") = 0 [ 139.920364][ T6325] bcachefs (loop0): check_allocations... done [ 139.937104][ T6325] bcachefs (loop0): going read-write [ 139.945115][ T6325] bcachefs (loop0): done starting filesystem [pid 6325] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6325] ioctl(4, LOOP_CLR_FD) = 0 [pid 6325] close(4) = 0 [pid 6325] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6325] exit_group(0) = ? [pid 6325] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6325, 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("./44", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./44", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./44/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./44/binderfs") = 0 [ 140.127333][ T5829] bcachefs (loop0): shutting down [ 140.132661][ T5829] bcachefs (loop0): going read-only [ 140.137864][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 140.145973][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 140.168423][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 140.181570][ T35] bcachefs (loop0): fatal error - emergency read only [ 140.189145][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 140.199026][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 140.206979][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 140.222378][ T5829] bcachefs (loop0): shutdown complete umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./44/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./44/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./44/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./44") = 0 mkdir("./45", 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 6336 attached , child_tidptr=0x55558edfa650) = 6336 [pid 6336] set_robust_list(0x55558edfa660, 24) = 0 [pid 6336] chdir("./45") = 0 [pid 6336] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6336] setpgid(0, 0) = 0 [pid 6336] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6336] write(3, "1000", 4) = 4 [pid 6336] close(3) = 0 [pid 6336] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6336] write(1, "executing program\n", 18) = 18 [pid 6336] memfd_create("syzkaller", 0) = 3 [pid 6336] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6336] 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 6336] munmap(0x7fe591200000, 138412032) = 0 [pid 6336] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6336] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6336] close(3) = 0 [pid 6336] close(4) = 0 [pid 6336] mkdir("./file1", 0777) = 0 [ 141.637670][ T6336] loop0: detected capacity change from 0 to 32768 [ 141.702401][ T6336] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 141.723863][ T6336] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 141.731873][ T6336] bcachefs (loop0): Version upgrade required: [ 141.731873][ T6336] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 141.731873][ T6336] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 141.731873][ T6336] 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 [ 141.804279][ T6336] bcachefs (loop0): dropping and reconstructing all alloc info [ 141.819373][ T6336] bcachefs (loop0): check_topology... done [ 141.825524][ T6336] bcachefs (loop0): accounting_read... done [ 141.831646][ T6336] bcachefs (loop0): alloc_read... done [ 141.837341][ T6336] bcachefs (loop0): stripes_read... done [ 141.843072][ T6336] bcachefs (loop0): snapshots_read... done [pid 6336] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6336] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6336] chdir("./file1") = 0 [pid 6336] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6336] ioctl(4, LOOP_CLR_FD) = 0 [ 141.848964][ T6336] bcachefs (loop0): check_allocations... done [ 141.865632][ T6336] bcachefs (loop0): going read-write [ 141.873900][ T6336] bcachefs (loop0): done starting filesystem [pid 6336] close(4) = 0 [pid 6336] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6336] exit_group(0) = ? [pid 6336] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6336, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=22 /* 0.22 s */} --- umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./45", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./45/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./45/binderfs") = 0 [ 142.068139][ T5829] bcachefs (loop0): shutting down [ 142.073387][ T5829] bcachefs (loop0): going read-only [ 142.078604][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 142.086191][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 142.109131][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 142.122360][ T3002] bcachefs (loop0): fatal error - emergency read only [ 142.129718][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 142.139570][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 142.147375][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 142.162619][ T5829] bcachefs (loop0): shutdown complete umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./45/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./45/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./45/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./45") = 0 mkdir("./46", 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 6347 attached , child_tidptr=0x55558edfa650) = 6347 [pid 6347] set_robust_list(0x55558edfa660, 24) = 0 [pid 6347] chdir("./46") = 0 [pid 6347] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6347] setpgid(0, 0) = 0 [pid 6347] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6347] write(3, "1000", 4) = 4 [pid 6347] close(3) = 0 [pid 6347] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6347] write(1, "executing program\n", 18) = 18 [pid 6347] memfd_create("syzkaller", 0) = 3 [pid 6347] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6347] 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 6347] munmap(0x7fe591200000, 138412032) = 0 [pid 6347] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6347] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6347] close(3) = 0 [pid 6347] close(4) = 0 [pid 6347] mkdir("./file1", 0777) = 0 [ 143.452915][ T6347] loop0: detected capacity change from 0 to 32768 [ 143.527255][ T6347] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 143.548518][ T6347] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 143.556722][ T6347] bcachefs (loop0): Version upgrade required: [ 143.556722][ T6347] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 143.556722][ T6347] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 143.556722][ T6347] 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 [ 143.629312][ T6347] bcachefs (loop0): dropping and reconstructing all alloc info [ 143.644122][ T6347] bcachefs (loop0): check_topology... done [ 143.650025][ T6347] bcachefs (loop0): accounting_read... done [ 143.656238][ T6347] bcachefs (loop0): alloc_read... done [ 143.661805][ T6347] bcachefs (loop0): stripes_read... done [ 143.667676][ T6347] bcachefs (loop0): snapshots_read... done [pid 6347] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6347] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6347] chdir("./file1") = 0 [pid 6347] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6347] ioctl(4, LOOP_CLR_FD) = 0 [pid 6347] close(4) = 0 [pid 6347] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [ 143.673880][ T6347] bcachefs (loop0): check_allocations... done [ 143.690897][ T6347] bcachefs (loop0): going read-write [ 143.699198][ T6347] bcachefs (loop0): done starting filesystem [pid 6347] exit_group(0) = ? [pid 6347] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6347, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./46", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./46/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./46/binderfs") = 0 [ 143.873148][ T5829] bcachefs (loop0): shutting down [ 143.878223][ T5829] bcachefs (loop0): going read-only [ 143.883681][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 143.891471][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 143.913940][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 143.927096][ T35] bcachefs (loop0): fatal error - emergency read only [ 143.934696][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 143.944464][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 143.951916][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 143.968282][ T5829] bcachefs (loop0): shutdown complete umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./46/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./46/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./46/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./46") = 0 mkdir("./47", 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 6358 attached [pid 6358] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6358 [pid 6358] chdir("./47") = 0 [pid 6358] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6358] setpgid(0, 0) = 0 [pid 6358] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6358] write(3, "1000", 4) = 4 [pid 6358] close(3) = 0 [pid 6358] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6358] write(1, "executing program\n", 18executing program ) = 18 [pid 6358] memfd_create("syzkaller", 0) = 3 [pid 6358] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6358] 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 6358] munmap(0x7fe591200000, 138412032) = 0 [pid 6358] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6358] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6358] close(3) = 0 [pid 6358] close(4) = 0 [pid 6358] mkdir("./file1", 0777) = 0 [ 145.297503][ T6358] loop0: detected capacity change from 0 to 32768 [ 145.364005][ T6358] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 145.385188][ T6358] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 145.393539][ T6358] bcachefs (loop0): Version upgrade required: [ 145.393539][ T6358] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 145.393539][ T6358] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 145.393539][ T6358] 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 [ 145.465796][ T6358] bcachefs (loop0): dropping and reconstructing all alloc info [ 145.480571][ T6358] bcachefs (loop0): check_topology... done [ 145.486544][ T6358] bcachefs (loop0): accounting_read... done [ 145.492693][ T6358] bcachefs (loop0): alloc_read... done [ 145.498208][ T6358] bcachefs (loop0): stripes_read... done [ 145.503930][ T6358] bcachefs (loop0): snapshots_read... done [pid 6358] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6358] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6358] chdir("./file1") = 0 [pid 6358] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 145.509857][ T6358] bcachefs (loop0): check_allocations... done [ 145.526461][ T6358] bcachefs (loop0): going read-write [ 145.534462][ T6358] bcachefs (loop0): done starting filesystem [pid 6358] ioctl(4, LOOP_CLR_FD) = 0 [pid 6358] close(4) = 0 [pid 6358] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6358] exit_group(0) = ? [pid 6358] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6358, 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("./47", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./47", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./47/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./47/binderfs") = 0 [ 145.711593][ T5829] bcachefs (loop0): shutting down [ 145.716896][ T5829] bcachefs (loop0): going read-only [ 145.722092][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 145.729844][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 145.752404][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 145.765993][ T3002] bcachefs (loop0): fatal error - emergency read only [ 145.773579][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 145.783358][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 145.790838][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 145.806278][ T5829] bcachefs (loop0): shutdown complete umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./47/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./47/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./47/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./47") = 0 mkdir("./48", 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 6369 attached , child_tidptr=0x55558edfa650) = 6369 [pid 6369] set_robust_list(0x55558edfa660, 24) = 0 [pid 6369] chdir("./48") = 0 [pid 6369] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6369] setpgid(0, 0) = 0 [pid 6369] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6369] write(3, "1000", 4) = 4 [pid 6369] close(3) = 0 [pid 6369] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6369] write(1, "executing program\n", 18) = 18 [pid 6369] memfd_create("syzkaller", 0) = 3 [pid 6369] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6369] 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 6369] munmap(0x7fe591200000, 138412032) = 0 [pid 6369] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6369] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6369] close(3) = 0 [pid 6369] close(4) = 0 [pid 6369] mkdir("./file1", 0777) = 0 [ 147.053089][ T6369] loop0: detected capacity change from 0 to 32768 [ 147.119484][ T6369] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 147.140957][ T6369] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 147.149058][ T6369] bcachefs (loop0): Version upgrade required: [ 147.149058][ T6369] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 147.149058][ T6369] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 147.149058][ T6369] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 147.221386][ T6369] bcachefs (loop0): dropping and reconstructing all alloc info [ 147.235971][ T6369] bcachefs (loop0): check_topology... done [ 147.241876][ T6369] bcachefs (loop0): accounting_read... done [ 147.248144][ T6369] bcachefs (loop0): alloc_read... done [ 147.253702][ T6369] bcachefs (loop0): stripes_read... done [ 147.259367][ T6369] bcachefs (loop0): snapshots_read... done [pid 6369] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6369] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6369] chdir("./file1") = 0 [ 147.265333][ T6369] bcachefs (loop0): check_allocations... done [ 147.281775][ T6369] bcachefs (loop0): going read-write [ 147.290227][ T6369] bcachefs (loop0): done starting filesystem [pid 6369] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6369] ioctl(4, LOOP_CLR_FD) = 0 [pid 6369] close(4) = 0 [pid 6369] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6369] exit_group(0) = ? [pid 6369] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6369, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./48", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./48/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./48/binderfs") = 0 [ 147.501364][ T5829] bcachefs (loop0): shutting down [ 147.506635][ T5829] bcachefs (loop0): going read-only [ 147.511837][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 147.519385][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 147.542799][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 147.556047][ T3002] bcachefs (loop0): fatal error - emergency read only [ 147.563390][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 147.573113][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 147.580594][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 147.598761][ T5829] bcachefs (loop0): shutdown complete umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./48/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./48/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./48/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./48") = 0 mkdir("./49", 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 6380 attached [pid 6380] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6380 [pid 6380] <... set_robust_list resumed>) = 0 [pid 6380] chdir("./49") = 0 [pid 6380] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6380] setpgid(0, 0) = 0 [pid 6380] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6380] write(3, "1000", 4) = 4 [pid 6380] close(3) = 0 [pid 6380] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6380] write(1, "executing program\n", 18executing program ) = 18 [pid 6380] memfd_create("syzkaller", 0) = 3 [pid 6380] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6380] 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 6380] munmap(0x7fe591200000, 138412032) = 0 [pid 6380] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6380] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6380] close(3) = 0 [pid 6380] close(4) = 0 [pid 6380] mkdir("./file1", 0777) = 0 [ 148.910423][ T6380] loop0: detected capacity change from 0 to 32768 [ 148.974113][ T6380] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 148.995605][ T6380] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 149.003938][ T6380] bcachefs (loop0): Version upgrade required: [ 149.003938][ T6380] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 149.003938][ T6380] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 149.003938][ T6380] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 149.075818][ T6380] bcachefs (loop0): dropping and reconstructing all alloc info [ 149.090429][ T6380] bcachefs (loop0): check_topology... done [ 149.096387][ T6380] bcachefs (loop0): accounting_read... done [ 149.102561][ T6380] bcachefs (loop0): alloc_read... done [ 149.108082][ T6380] bcachefs (loop0): stripes_read... done [ 149.114023][ T6380] bcachefs (loop0): snapshots_read... done [pid 6380] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6380] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6380] chdir("./file1") = 0 [pid 6380] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6380] ioctl(4, LOOP_CLR_FD) = 0 [ 149.119925][ T6380] bcachefs (loop0): check_allocations... done [ 149.136426][ T6380] bcachefs (loop0): going read-write [ 149.144665][ T6380] bcachefs (loop0): done starting filesystem [pid 6380] close(4) = 0 [pid 6380] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6380] exit_group(0) = ? [pid 6380] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6380, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./49", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./49/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./49/binderfs") = 0 [ 149.318568][ T5829] bcachefs (loop0): shutting down [ 149.323826][ T5829] bcachefs (loop0): going read-only [ 149.329024][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 149.336671][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 149.360055][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 149.373319][ T35] bcachefs (loop0): fatal error - emergency read only [ 149.380449][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 149.390340][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 149.397991][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 149.413734][ T5829] bcachefs (loop0): shutdown complete umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./49/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./49/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./49/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./49") = 0 mkdir("./50", 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 6391 attached , child_tidptr=0x55558edfa650) = 6391 [pid 6391] set_robust_list(0x55558edfa660, 24) = 0 [pid 6391] chdir("./50") = 0 [pid 6391] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6391] setpgid(0, 0) = 0 [pid 6391] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6391] write(3, "1000", 4) = 4 [pid 6391] close(3) = 0 [pid 6391] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6391] write(1, "executing program\n", 18) = 18 [pid 6391] memfd_create("syzkaller", 0) = 3 [pid 6391] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6391] 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 6391] munmap(0x7fe591200000, 138412032) = 0 [pid 6391] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6391] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6391] close(3) = 0 [pid 6391] close(4) = 0 [pid 6391] mkdir("./file1", 0777) = 0 [ 150.804364][ T6391] loop0: detected capacity change from 0 to 32768 [ 150.880468][ T6391] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 150.901696][ T6391] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 150.910585][ T6391] bcachefs (loop0): Version upgrade required: [ 150.910585][ T6391] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 150.910585][ T6391] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 150.910585][ T6391] 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 [ 150.982559][ T6391] bcachefs (loop0): dropping and reconstructing all alloc info [ 150.996967][ T6391] bcachefs (loop0): check_topology... done [ 151.002936][ T6391] bcachefs (loop0): accounting_read... done [ 151.009121][ T6391] bcachefs (loop0): alloc_read... done [ 151.014728][ T6391] bcachefs (loop0): stripes_read... done [ 151.020412][ T6391] bcachefs (loop0): snapshots_read... done [pid 6391] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6391] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6391] chdir("./file1") = 0 [pid 6391] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6391] ioctl(4, LOOP_CLR_FD) = 0 [pid 6391] close(4) = 0 [pid 6391] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6391] exit_group(0) = ? [pid 6391] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6391, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=18 /* 0.18 s */} --- [ 151.026486][ T6391] bcachefs (loop0): check_allocations... done [ 151.043015][ T6391] bcachefs (loop0): going read-write [ 151.051278][ T6391] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./50", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./50/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./50/binderfs") = 0 [ 151.195691][ T5829] bcachefs (loop0): shutting down [ 151.200781][ T5829] bcachefs (loop0): going read-only [ 151.206510][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 151.214052][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 151.235652][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 151.248874][ T3002] bcachefs (loop0): fatal error - emergency read only [ 151.256056][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 151.265834][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 151.273477][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 151.289103][ T5829] bcachefs (loop0): shutdown complete umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./50/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./50/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./50/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./50") = 0 mkdir("./51", 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 6402 attached [pid 6402] set_robust_list(0x55558edfa660, 24) = 0 [pid 6402] chdir("./51" [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6402 [pid 6402] <... chdir resumed>) = 0 [pid 6402] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6402] setpgid(0, 0) = 0 [pid 6402] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6402] write(3, "1000", 4) = 4 [pid 6402] close(3) = 0 [pid 6402] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6402] write(1, "executing program\n", 18) = 18 [pid 6402] memfd_create("syzkaller", 0) = 3 [pid 6402] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6402] 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 6402] munmap(0x7fe591200000, 138412032) = 0 [pid 6402] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6402] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6402] close(3) = 0 [pid 6402] close(4) = 0 [pid 6402] mkdir("./file1", 0777) = 0 [ 152.570556][ T6402] loop0: detected capacity change from 0 to 32768 [ 152.645260][ T6402] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 152.666800][ T6402] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 152.674948][ T6402] bcachefs (loop0): Version upgrade required: [ 152.674948][ T6402] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 152.674948][ T6402] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 152.674948][ T6402] 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 [ 152.746975][ T6402] bcachefs (loop0): dropping and reconstructing all alloc info [ 152.761493][ T6402] bcachefs (loop0): check_topology... done [ 152.767441][ T6402] bcachefs (loop0): accounting_read... done [ 152.773541][ T6402] bcachefs (loop0): alloc_read... done [ 152.779038][ T6402] bcachefs (loop0): stripes_read... done [ 152.784778][ T6402] bcachefs (loop0): snapshots_read... done [pid 6402] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6402] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6402] chdir("./file1") = 0 [pid 6402] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 152.790735][ T6402] bcachefs (loop0): check_allocations... done [ 152.808050][ T6402] bcachefs (loop0): going read-write [ 152.816716][ T6402] bcachefs (loop0): done starting filesystem [pid 6402] ioctl(4, LOOP_CLR_FD) = 0 [pid 6402] close(4) = 0 [pid 6402] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6402] exit_group(0) = ? [pid 6402] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6402, 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("./51", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./51", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./51/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./51/binderfs") = 0 [ 153.008954][ T5829] bcachefs (loop0): shutting down [ 153.014279][ T5829] bcachefs (loop0): going read-only [ 153.019475][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 153.027048][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 153.051032][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 153.063990][ T35] bcachefs (loop0): fatal error - emergency read only [ 153.071074][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 153.081013][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 153.088703][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 153.103974][ T5829] bcachefs (loop0): shutdown complete umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./51/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./51/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./51/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./51") = 0 mkdir("./52", 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 6413 attached [pid 6413] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6413 [pid 6413] chdir("./52") = 0 [pid 6413] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6413] setpgid(0, 0) = 0 [pid 6413] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6413] write(3, "1000", 4) = 4 [pid 6413] close(3) = 0 [pid 6413] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6413] write(1, "executing program\n", 18executing program ) = 18 [pid 6413] memfd_create("syzkaller", 0) = 3 [pid 6413] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6413] 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 6413] munmap(0x7fe591200000, 138412032) = 0 [pid 6413] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6413] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6413] close(3) = 0 [pid 6413] close(4) = 0 [pid 6413] mkdir("./file1", 0777) = 0 [ 154.384827][ T6413] loop0: detected capacity change from 0 to 32768 [ 154.456598][ T6413] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 154.477704][ T6413] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 154.486021][ T6413] bcachefs (loop0): Version upgrade required: [ 154.486021][ T6413] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 154.486021][ T6413] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 154.486021][ T6413] 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 [ 154.558257][ T6413] bcachefs (loop0): dropping and reconstructing all alloc info [ 154.573578][ T6413] bcachefs (loop0): check_topology... done [ 154.579463][ T6413] bcachefs (loop0): accounting_read... done [ 154.585608][ T6413] bcachefs (loop0): alloc_read... done [ 154.591426][ T6413] bcachefs (loop0): stripes_read... done [ 154.597219][ T6413] bcachefs (loop0): snapshots_read... done [pid 6413] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6413] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6413] chdir("./file1") = 0 [pid 6413] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6413] ioctl(4, LOOP_CLR_FD) = 0 [ 154.603265][ T6413] bcachefs (loop0): check_allocations... done [ 154.619664][ T6413] bcachefs (loop0): going read-write [ 154.627673][ T6413] bcachefs (loop0): done starting filesystem [pid 6413] close(4) = 0 [pid 6413] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6413] exit_group(0) = ? [pid 6413] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6413, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./52", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./52/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./52/binderfs") = 0 [ 154.711065][ T5829] bcachefs (loop0): shutting down [ 154.716344][ T5829] bcachefs (loop0): going read-only [ 154.721557][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 154.729454][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 154.753974][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 154.767117][ T35] bcachefs (loop0): fatal error - emergency read only [ 154.774566][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 154.784318][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 154.791771][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 154.807490][ T5829] bcachefs (loop0): shutdown complete umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./52/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./52/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./52/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./52") = 0 mkdir("./53", 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 6424 attached [pid 6424] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6424 [pid 6424] chdir("./53") = 0 [pid 6424] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6424] setpgid(0, 0) = 0 [pid 6424] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6424] write(3, "1000", 4) = 4 [pid 6424] close(3) = 0 [pid 6424] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6424] write(1, "executing program\n", 18executing program ) = 18 [pid 6424] memfd_create("syzkaller", 0) = 3 [pid 6424] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6424] 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 6424] munmap(0x7fe591200000, 138412032) = 0 [pid 6424] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6424] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6424] close(3) = 0 [pid 6424] close(4) = 0 [pid 6424] mkdir("./file1", 0777) = 0 [ 156.192190][ T6424] loop0: detected capacity change from 0 to 32768 [ 156.258162][ T6424] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 156.279681][ T6424] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 156.287847][ T6424] bcachefs (loop0): Version upgrade required: [ 156.287847][ T6424] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 156.287847][ T6424] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 156.287847][ T6424] 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 [ 156.360017][ T6424] bcachefs (loop0): dropping and reconstructing all alloc info [ 156.374680][ T6424] bcachefs (loop0): check_topology... done [ 156.380533][ T6424] bcachefs (loop0): accounting_read... done [ 156.386673][ T6424] bcachefs (loop0): alloc_read... done [ 156.392199][ T6424] bcachefs (loop0): stripes_read... done [ 156.397952][ T6424] bcachefs (loop0): snapshots_read... done [pid 6424] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6424] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6424] chdir("./file1") = 0 [pid 6424] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6424] ioctl(4, LOOP_CLR_FD) = 0 [pid 6424] close(4) = 0 [pid 6424] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6424] exit_group(0) = ? [pid 6424] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6424, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 156.403912][ T6424] bcachefs (loop0): check_allocations... done [ 156.420206][ T6424] bcachefs (loop0): going read-write [ 156.428751][ T6424] bcachefs (loop0): done starting filesystem umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./53", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./53/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./53/binderfs") = 0 [ 156.574639][ T5829] bcachefs (loop0): shutting down [ 156.579726][ T5829] bcachefs (loop0): going read-only [ 156.585219][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 156.593347][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 156.616150][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 156.628984][ T3524] bcachefs (loop0): fatal error - emergency read only [ 156.636777][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 156.646676][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 156.654419][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 156.670383][ T5829] bcachefs (loop0): shutdown complete umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./53/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./53/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./53/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./53") = 0 mkdir("./54", 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 6435 attached , child_tidptr=0x55558edfa650) = 6435 [pid 6435] set_robust_list(0x55558edfa660, 24) = 0 [pid 6435] chdir("./54") = 0 [pid 6435] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6435] setpgid(0, 0) = 0 [pid 6435] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6435] write(3, "1000", 4) = 4 [pid 6435] close(3) = 0 [pid 6435] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6435] write(1, "executing program\n", 18) = 18 [pid 6435] memfd_create("syzkaller", 0) = 3 [pid 6435] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6435] 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 6435] munmap(0x7fe591200000, 138412032) = 0 [pid 6435] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6435] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6435] close(3) = 0 [pid 6435] close(4) = 0 [pid 6435] mkdir("./file1", 0777) = 0 [ 158.010969][ T6435] loop0: detected capacity change from 0 to 32768 [ 158.087391][ T6435] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 158.108546][ T6435] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 158.116667][ T6435] bcachefs (loop0): Version upgrade required: [ 158.116667][ T6435] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 158.116667][ T6435] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 158.116667][ T6435] 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 [ 158.188705][ T6435] bcachefs (loop0): dropping and reconstructing all alloc info [ 158.203608][ T6435] bcachefs (loop0): check_topology... done [ 158.209648][ T6435] bcachefs (loop0): accounting_read... done [ 158.215834][ T6435] bcachefs (loop0): alloc_read... done [ 158.221403][ T6435] bcachefs (loop0): stripes_read... done [ 158.227131][ T6435] bcachefs (loop0): snapshots_read... done [pid 6435] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6435] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6435] chdir("./file1") = 0 [pid 6435] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6435] ioctl(4, LOOP_CLR_FD) = 0 [pid 6435] close(4) = 0 [ 158.233114][ T6435] bcachefs (loop0): check_allocations... done [ 158.249644][ T6435] bcachefs (loop0): going read-write [ 158.257907][ T6435] bcachefs (loop0): done starting filesystem [pid 6435] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6435] exit_group(0) = ? [pid 6435] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6435, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=27 /* 0.27 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./54", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./54/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./54/binderfs") = 0 [ 158.416365][ T5829] bcachefs (loop0): shutting down [ 158.421431][ T5829] bcachefs (loop0): going read-only [ 158.427415][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 158.434992][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 158.457347][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 158.470185][ T3524] bcachefs (loop0): fatal error - emergency read only [ 158.477619][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 158.487507][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 158.495175][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 158.510598][ T5829] bcachefs (loop0): shutdown complete umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./54/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./54/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./54/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./54") = 0 mkdir("./55", 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 6446 attached , child_tidptr=0x55558edfa650) = 6446 [pid 6446] set_robust_list(0x55558edfa660, 24) = 0 [pid 6446] chdir("./55") = 0 [pid 6446] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6446] setpgid(0, 0) = 0 [pid 6446] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6446] write(3, "1000", 4) = 4 [pid 6446] close(3) = 0 [pid 6446] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6446] write(1, "executing program\n", 18) = 18 [pid 6446] memfd_create("syzkaller", 0) = 3 [pid 6446] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6446] 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 6446] munmap(0x7fe591200000, 138412032) = 0 [pid 6446] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6446] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6446] close(3) = 0 [pid 6446] close(4) = 0 [pid 6446] mkdir("./file1", 0777) = 0 [ 159.764302][ T6446] loop0: detected capacity change from 0 to 32768 [ 159.830984][ T6446] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 159.852514][ T6446] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 159.860641][ T6446] bcachefs (loop0): Version upgrade required: [ 159.860641][ T6446] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 159.860641][ T6446] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 159.860641][ T6446] 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 [ 159.932715][ T6446] bcachefs (loop0): dropping and reconstructing all alloc info [ 159.947265][ T6446] bcachefs (loop0): check_topology... done [ 159.953335][ T6446] bcachefs (loop0): accounting_read... done [ 159.959584][ T6446] bcachefs (loop0): alloc_read... done [ 159.965257][ T6446] bcachefs (loop0): stripes_read... done [ 159.971017][ T6446] bcachefs (loop0): snapshots_read... done [pid 6446] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6446] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6446] chdir("./file1") = 0 [pid 6446] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 159.977159][ T6446] bcachefs (loop0): check_allocations... done [ 159.993613][ T6446] bcachefs (loop0): going read-write [ 160.001552][ T6446] bcachefs (loop0): done starting filesystem [pid 6446] ioctl(4, LOOP_CLR_FD) = 0 [pid 6446] close(4) = 0 [pid 6446] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6446] exit_group(0) = ? [pid 6446] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6446, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=27 /* 0.27 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./55", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./55/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./55/binderfs") = 0 [ 160.109001][ T5829] bcachefs (loop0): shutting down [ 160.114289][ T5829] bcachefs (loop0): going read-only [ 160.119523][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 160.127146][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 160.154631][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 160.167447][ T3524] bcachefs (loop0): fatal error - emergency read only [ 160.174739][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 160.184573][ T5829] bcachefs (loop0): unshutdown complete, journal seq 15 [ 160.192037][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 160.208100][ T5829] bcachefs (loop0): shutdown complete umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./55/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./55/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./55/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./55") = 0 mkdir("./56", 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 6457 attached , child_tidptr=0x55558edfa650) = 6457 [pid 6457] set_robust_list(0x55558edfa660, 24) = 0 [pid 6457] chdir("./56") = 0 [pid 6457] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6457] setpgid(0, 0) = 0 [pid 6457] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6457] write(3, "1000", 4) = 4 [pid 6457] close(3) = 0 [pid 6457] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6457] write(1, "executing program\n", 18) = 18 [pid 6457] memfd_create("syzkaller", 0) = 3 [pid 6457] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6457] 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 6457] munmap(0x7fe591200000, 138412032) = 0 [pid 6457] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6457] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6457] close(3) = 0 [pid 6457] close(4) = 0 [pid 6457] mkdir("./file1", 0777) = 0 [ 161.533607][ T6457] loop0: detected capacity change from 0 to 32768 [ 161.599794][ T6457] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 161.621331][ T6457] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 161.629511][ T6457] bcachefs (loop0): Version upgrade required: [ 161.629511][ T6457] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 161.629511][ T6457] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 161.629511][ T6457] 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 [ 161.701871][ T6457] bcachefs (loop0): dropping and reconstructing all alloc info [ 161.716406][ T6457] bcachefs (loop0): check_topology... done [ 161.722288][ T6457] bcachefs (loop0): accounting_read... done [ 161.728476][ T6457] bcachefs (loop0): alloc_read... done [ 161.734064][ T6457] bcachefs (loop0): stripes_read... done [ 161.739847][ T6457] bcachefs (loop0): snapshots_read... done [pid 6457] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6457] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6457] chdir("./file1") = 0 [pid 6457] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 161.745805][ T6457] bcachefs (loop0): check_allocations... done [ 161.762196][ T6457] bcachefs (loop0): going read-write [ 161.770267][ T6457] bcachefs (loop0): done starting filesystem [pid 6457] ioctl(4, LOOP_CLR_FD) = 0 [pid 6457] close(4) = 0 [pid 6457] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6457] exit_group(0) = ? [pid 6457] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6457, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./56", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./56/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./56/binderfs") = 0 [ 161.964583][ T5829] bcachefs (loop0): shutting down [ 161.969634][ T5829] bcachefs (loop0): going read-only [ 161.974983][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 161.982378][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 162.004457][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 162.017611][ T3524] bcachefs (loop0): fatal error - emergency read only [ 162.025157][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 162.035117][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 162.043047][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 162.059012][ T5829] bcachefs (loop0): shutdown complete umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./56/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./56/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./56/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./56") = 0 mkdir("./57", 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 6468 attached [pid 6468] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6468 [pid 6468] <... set_robust_list resumed>) = 0 [pid 6468] chdir("./57") = 0 [pid 6468] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6468] setpgid(0, 0) = 0 [pid 6468] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6468] write(3, "1000", 4) = 4 [pid 6468] close(3) = 0 [pid 6468] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6468] write(1, "executing program\n", 18) = 18 [pid 6468] memfd_create("syzkaller", 0) = 3 [pid 6468] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6468] 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 6468] munmap(0x7fe591200000, 138412032) = 0 [pid 6468] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6468] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6468] close(3) = 0 [pid 6468] close(4) = 0 [pid 6468] mkdir("./file1", 0777) = 0 [ 163.356818][ T6468] loop0: detected capacity change from 0 to 32768 [ 163.430262][ T6468] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 163.452019][ T6468] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 163.460249][ T6468] bcachefs (loop0): Version upgrade required: [ 163.460249][ T6468] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 163.460249][ T6468] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 163.460249][ T6468] 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 [ 163.532247][ T6468] bcachefs (loop0): dropping and reconstructing all alloc info [ 163.546748][ T6468] bcachefs (loop0): check_topology... done [ 163.552701][ T6468] bcachefs (loop0): accounting_read... done [ 163.558748][ T6468] bcachefs (loop0): alloc_read... done [ 163.564367][ T6468] bcachefs (loop0): stripes_read... done [ 163.570093][ T6468] bcachefs (loop0): snapshots_read... done [pid 6468] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6468] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6468] chdir("./file1") = 0 [ 163.576105][ T6468] bcachefs (loop0): check_allocations... done [ 163.592738][ T6468] bcachefs (loop0): going read-write [ 163.601052][ T6468] bcachefs (loop0): done starting filesystem [pid 6468] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6468] ioctl(4, LOOP_CLR_FD) = 0 [pid 6468] close(4) = 0 [pid 6468] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6468] exit_group(0) = ? [pid 6468] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6468, 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("./57", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./57", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./57/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./57/binderfs") = 0 [ 163.797572][ T5829] bcachefs (loop0): shutting down [ 163.802810][ T5829] bcachefs (loop0): going read-only [ 163.808034][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 163.815745][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 163.839507][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 163.852490][ T35] bcachefs (loop0): fatal error - emergency read only [ 163.859540][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 163.869310][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 163.877057][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 163.892367][ T5829] bcachefs (loop0): shutdown complete umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./57/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./57/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./57/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./57") = 0 mkdir("./58", 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 6479 attached , child_tidptr=0x55558edfa650) = 6479 [pid 6479] set_robust_list(0x55558edfa660, 24) = 0 [pid 6479] chdir("./58") = 0 [pid 6479] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6479] setpgid(0, 0) = 0 [pid 6479] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6479] write(3, "1000", 4) = 4 [pid 6479] close(3) = 0 [pid 6479] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6479] write(1, "executing program\n", 18) = 18 [pid 6479] memfd_create("syzkaller", 0) = 3 [pid 6479] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6479] 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 6479] munmap(0x7fe591200000, 138412032) = 0 [pid 6479] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6479] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6479] close(3) = 0 [pid 6479] close(4) = 0 [pid 6479] mkdir("./file1", 0777) = 0 [ 165.239101][ T6479] loop0: detected capacity change from 0 to 32768 [ 165.305827][ T6479] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 165.327047][ T6479] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 165.335557][ T6479] bcachefs (loop0): Version upgrade required: [ 165.335557][ T6479] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 165.335557][ T6479] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 165.335557][ T6479] 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 [ 165.407987][ T6479] bcachefs (loop0): dropping and reconstructing all alloc info [ 165.422836][ T6479] bcachefs (loop0): check_topology... done [ 165.428751][ T6479] bcachefs (loop0): accounting_read... done [ 165.434971][ T6479] bcachefs (loop0): alloc_read... done [ 165.440487][ T6479] bcachefs (loop0): stripes_read... done [ 165.446216][ T6479] bcachefs (loop0): snapshots_read... done [pid 6479] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6479] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6479] chdir("./file1") = 0 [pid 6479] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6479] ioctl(4, LOOP_CLR_FD) = 0 [pid 6479] close(4) = 0 [pid 6479] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6479] exit_group(0) = ? [pid 6479] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6479, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=26 /* 0.26 s */} --- [ 165.452144][ T6479] bcachefs (loop0): check_allocations... done [ 165.468518][ T6479] bcachefs (loop0): going read-write [ 165.476556][ T6479] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./58", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./58/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./58/binderfs") = 0 [ 165.625759][ T5829] bcachefs (loop0): shutting down [ 165.630856][ T5829] bcachefs (loop0): going read-only [ 165.636274][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 165.643674][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 165.665449][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 165.678479][ T3524] bcachefs (loop0): fatal error - emergency read only [ 165.686049][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 165.696054][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 165.703750][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 165.719270][ T5829] bcachefs (loop0): shutdown complete umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./58/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./58/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./58/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./58") = 0 mkdir("./59", 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 6490 attached , child_tidptr=0x55558edfa650) = 6490 [pid 6490] set_robust_list(0x55558edfa660, 24) = 0 [pid 6490] chdir("./59") = 0 [pid 6490] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6490] setpgid(0, 0) = 0 [pid 6490] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6490] write(3, "1000", 4) = 4 [pid 6490] close(3) = 0 [pid 6490] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6490] write(1, "executing program\n", 18executing program ) = 18 [pid 6490] memfd_create("syzkaller", 0) = 3 [pid 6490] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6490] 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 6490] munmap(0x7fe591200000, 138412032) = 0 [pid 6490] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6490] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6490] close(3) = 0 [pid 6490] close(4) = 0 [pid 6490] mkdir("./file1", 0777) = 0 [ 167.072377][ T6490] loop0: detected capacity change from 0 to 32768 [ 167.138960][ T6490] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 167.160301][ T6490] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 167.168824][ T6490] bcachefs (loop0): Version upgrade required: [ 167.168824][ T6490] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 167.168824][ T6490] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 167.168824][ T6490] 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 [ 167.241687][ T6490] bcachefs (loop0): dropping and reconstructing all alloc info [ 167.256290][ T6490] bcachefs (loop0): check_topology... done [ 167.262159][ T6490] bcachefs (loop0): accounting_read... done [ 167.268315][ T6490] bcachefs (loop0): alloc_read... done [ 167.273974][ T6490] bcachefs (loop0): stripes_read... done [ 167.279643][ T6490] bcachefs (loop0): snapshots_read... done [pid 6490] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6490] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6490] chdir("./file1") = 0 [ 167.285625][ T6490] bcachefs (loop0): check_allocations... done [ 167.303140][ T6490] bcachefs (loop0): going read-write [ 167.311402][ T6490] bcachefs (loop0): done starting filesystem [pid 6490] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6490] ioctl(4, LOOP_CLR_FD) = 0 [pid 6490] close(4) = 0 [pid 6490] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6490] exit_group(0) = ? [pid 6490] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6490, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./59", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./59/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./59/binderfs") = 0 [ 167.507833][ T5829] bcachefs (loop0): shutting down [ 167.513045][ T5829] bcachefs (loop0): going read-only [ 167.518235][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 167.525690][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 167.547553][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 167.560553][ T35] bcachefs (loop0): fatal error - emergency read only [ 167.568052][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 167.577875][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 167.585712][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 167.601144][ T5829] bcachefs (loop0): shutdown complete umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./59/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./59/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./59/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./59") = 0 mkdir("./60", 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 6501 attached , child_tidptr=0x55558edfa650) = 6501 [pid 6501] set_robust_list(0x55558edfa660, 24) = 0 [pid 6501] chdir("./60") = 0 [pid 6501] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6501] setpgid(0, 0) = 0 [pid 6501] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6501] write(3, "1000", 4) = 4 [pid 6501] close(3) = 0 [pid 6501] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6501] write(1, "executing program\n", 18) = 18 [pid 6501] memfd_create("syzkaller", 0) = 3 [pid 6501] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6501] 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 6501] munmap(0x7fe591200000, 138412032) = 0 [pid 6501] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6501] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6501] close(3) = 0 [pid 6501] close(4) = 0 [pid 6501] mkdir("./file1", 0777) = 0 [ 168.979555][ T6501] loop0: detected capacity change from 0 to 32768 [ 169.045076][ T6501] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 169.066402][ T6501] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 169.074504][ T6501] bcachefs (loop0): Version upgrade required: [ 169.074504][ T6501] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 169.074504][ T6501] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 169.074504][ T6501] 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 [ 169.146531][ T6501] bcachefs (loop0): dropping and reconstructing all alloc info [ 169.161040][ T6501] bcachefs (loop0): check_topology... done [ 169.167312][ T6501] bcachefs (loop0): accounting_read... done [ 169.174130][ T6501] bcachefs (loop0): alloc_read... done [ 169.179634][ T6501] bcachefs (loop0): stripes_read... done [ 169.185359][ T6501] bcachefs (loop0): snapshots_read... done [pid 6501] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6501] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6501] chdir("./file1") = 0 [pid 6501] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6501] ioctl(4, LOOP_CLR_FD) = 0 [pid 6501] close(4) = 0 [pid 6501] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6501] exit_group(0) = ? [pid 6501] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6501, 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("./60", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./60", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./60/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./60/binderfs") = 0 [ 169.191301][ T6501] bcachefs (loop0): check_allocations... done [ 169.207699][ T6501] bcachefs (loop0): going read-write [ 169.215814][ T6501] bcachefs (loop0): done starting filesystem [ 169.253422][ T5829] bcachefs (loop0): shutting down [ 169.258609][ T5829] bcachefs (loop0): going read-only [ 169.264343][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 169.271777][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 169.294826][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 169.307959][ T3002] bcachefs (loop0): fatal error - emergency read only [ 169.315290][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 169.325141][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 169.332877][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 169.348769][ T5829] bcachefs (loop0): shutdown complete umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./60/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./60/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./60/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./60") = 0 mkdir("./61", 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 6513 attached [pid 6513] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6513 [pid 6513] chdir("./61") = 0 [pid 6513] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6513] setpgid(0, 0) = 0 [pid 6513] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6513] write(3, "1000", 4) = 4 [pid 6513] close(3) = 0 [pid 6513] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6513] write(1, "executing program\n", 18executing program ) = 18 [pid 6513] memfd_create("syzkaller", 0) = 3 [pid 6513] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6513] 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 6513] munmap(0x7fe591200000, 138412032) = 0 [pid 6513] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6513] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6513] close(3) = 0 [pid 6513] close(4) = 0 [pid 6513] mkdir("./file1", 0777) = 0 [ 170.685044][ T6513] loop0: detected capacity change from 0 to 32768 [ 170.753843][ T6513] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 170.775077][ T6513] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 170.783177][ T6513] bcachefs (loop0): Version upgrade required: [ 170.783177][ T6513] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 170.783177][ T6513] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 170.783177][ T6513] 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 [ 170.855063][ T6513] bcachefs (loop0): dropping and reconstructing all alloc info [ 170.869769][ T6513] bcachefs (loop0): check_topology... done [ 170.875700][ T6513] bcachefs (loop0): accounting_read... done [ 170.881827][ T6513] bcachefs (loop0): alloc_read... done [ 170.887400][ T6513] bcachefs (loop0): stripes_read... done [ 170.893155][ T6513] bcachefs (loop0): snapshots_read... done [pid 6513] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6513] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6513] chdir("./file1") = 0 [pid 6513] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6513] ioctl(4, LOOP_CLR_FD) = 0 [ 170.899042][ T6513] bcachefs (loop0): check_allocations... done [ 170.915847][ T6513] bcachefs (loop0): going read-write [ 170.924117][ T6513] bcachefs (loop0): done starting filesystem [pid 6513] close(4) = 0 [pid 6513] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6513] exit_group(0) = ? [pid 6513] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6513, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./61", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./61/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./61/binderfs") = 0 [ 171.118901][ T5829] bcachefs (loop0): shutting down [ 171.124118][ T5829] bcachefs (loop0): going read-only [ 171.129335][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 171.136881][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 171.159162][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 171.172323][ T3524] bcachefs (loop0): fatal error - emergency read only [ 171.179890][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 171.189789][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 171.197733][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 171.213740][ T5829] bcachefs (loop0): shutdown complete umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./61/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./61/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./61/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./61") = 0 mkdir("./62", 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 6524 attached , child_tidptr=0x55558edfa650) = 6524 [pid 6524] set_robust_list(0x55558edfa660, 24) = 0 [pid 6524] chdir("./62") = 0 [pid 6524] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6524] setpgid(0, 0) = 0 [pid 6524] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6524] write(3, "1000", 4) = 4 [pid 6524] close(3) = 0 [pid 6524] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6524] write(1, "executing program\n", 18executing program ) = 18 [pid 6524] memfd_create("syzkaller", 0) = 3 [pid 6524] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6524] 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 6524] munmap(0x7fe591200000, 138412032) = 0 [pid 6524] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6524] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6524] close(3) = 0 [pid 6524] close(4) = 0 [pid 6524] mkdir("./file1", 0777) = 0 [ 172.570742][ T6524] loop0: detected capacity change from 0 to 32768 [ 172.634589][ T6524] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 172.656013][ T6524] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 172.664224][ T6524] bcachefs (loop0): Version upgrade required: [ 172.664224][ T6524] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 172.664224][ T6524] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 172.664224][ T6524] 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 [ 172.736298][ T6524] bcachefs (loop0): dropping and reconstructing all alloc info [ 172.750519][ T6524] bcachefs (loop0): check_topology... done [ 172.756482][ T6524] bcachefs (loop0): accounting_read... done [ 172.762719][ T6524] bcachefs (loop0): alloc_read... done [ 172.768240][ T6524] bcachefs (loop0): stripes_read... done [ 172.773956][ T6524] bcachefs (loop0): snapshots_read... done [pid 6524] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6524] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6524] chdir("./file1") = 0 [pid 6524] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6524] ioctl(4, LOOP_CLR_FD) = 0 [ 172.779875][ T6524] bcachefs (loop0): check_allocations... done [ 172.797135][ T6524] bcachefs (loop0): going read-write [ 172.805890][ T6524] bcachefs (loop0): done starting filesystem [pid 6524] close(4) = 0 [pid 6524] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6524] exit_group(0) = ? [pid 6524] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6524, 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("./62", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./62", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./62/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./62/binderfs") = 0 [ 172.886600][ T5829] bcachefs (loop0): shutting down [ 172.891656][ T5829] bcachefs (loop0): going read-only [ 172.897217][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 172.905057][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 172.928876][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 172.941971][ T35] bcachefs (loop0): fatal error - emergency read only [ 172.949827][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 172.959771][ T5829] bcachefs (loop0): unshutdown complete, journal seq 15 [ 172.967506][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 172.982319][ T5829] bcachefs (loop0): shutdown complete umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./62/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./62/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./62/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./62") = 0 mkdir("./63", 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 6535 attached [pid 6535] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6535 [pid 6535] chdir("./63") = 0 [pid 6535] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6535] setpgid(0, 0) = 0 [pid 6535] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6535] write(3, "1000", 4) = 4 [pid 6535] close(3) = 0 [pid 6535] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6535] write(1, "executing program\n", 18) = 18 [pid 6535] memfd_create("syzkaller", 0) = 3 [pid 6535] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6535] 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 6535] munmap(0x7fe591200000, 138412032) = 0 [pid 6535] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6535] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6535] close(3) = 0 [pid 6535] close(4) = 0 [pid 6535] mkdir("./file1", 0777) = 0 [ 174.323295][ T6535] loop0: detected capacity change from 0 to 32768 [ 174.387681][ T6535] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 174.408844][ T6535] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 174.416961][ T6535] bcachefs (loop0): Version upgrade required: [ 174.416961][ T6535] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 174.416961][ T6535] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 174.416961][ T6535] 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 [ 174.488888][ T6535] bcachefs (loop0): dropping and reconstructing all alloc info [ 174.504576][ T6535] bcachefs (loop0): check_topology... done [ 174.510430][ T6535] bcachefs (loop0): accounting_read... done [ 174.516642][ T6535] bcachefs (loop0): alloc_read... done [ 174.522155][ T6535] bcachefs (loop0): stripes_read... done [ 174.528117][ T6535] bcachefs (loop0): snapshots_read... done [pid 6535] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6535] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6535] chdir("./file1") = 0 [pid 6535] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6535] ioctl(4, LOOP_CLR_FD) = 0 [ 174.534065][ T6535] bcachefs (loop0): check_allocations... done [ 174.550590][ T6535] bcachefs (loop0): going read-write [ 174.558775][ T6535] bcachefs (loop0): done starting filesystem [pid 6535] close(4) = 0 [pid 6535] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6535] exit_group(0) = ? [pid 6535] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6535, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./63", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./63/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./63/binderfs") = 0 [ 174.739792][ T5829] bcachefs (loop0): shutting down [ 174.745074][ T5829] bcachefs (loop0): going read-only [ 174.750272][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 174.758159][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 174.780686][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 174.793898][ T3002] bcachefs (loop0): fatal error - emergency read only [ 174.801065][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 174.810861][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 174.818673][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 174.834612][ T5829] bcachefs (loop0): shutdown complete umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./63/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./63/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./63/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./63") = 0 mkdir("./64", 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 6546 attached , child_tidptr=0x55558edfa650) = 6546 [pid 6546] set_robust_list(0x55558edfa660, 24) = 0 [pid 6546] chdir("./64") = 0 [pid 6546] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6546] setpgid(0, 0) = 0 [pid 6546] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6546] write(3, "1000", 4) = 4 [pid 6546] close(3) = 0 [pid 6546] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6546] write(1, "executing program\n", 18executing program ) = 18 [pid 6546] memfd_create("syzkaller", 0) = 3 [pid 6546] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6546] 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 6546] munmap(0x7fe591200000, 138412032) = 0 [pid 6546] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6546] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6546] close(3) = 0 [pid 6546] close(4) = 0 [pid 6546] mkdir("./file1", 0777) = 0 [ 176.135945][ T6546] loop0: detected capacity change from 0 to 32768 [ 176.216506][ T6546] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 176.238087][ T6546] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 176.246235][ T6546] bcachefs (loop0): Version upgrade required: [ 176.246235][ T6546] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 176.246235][ T6546] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 176.246235][ T6546] 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 [ 176.318170][ T6546] bcachefs (loop0): dropping and reconstructing all alloc info [ 176.332609][ T6546] bcachefs (loop0): check_topology... done [ 176.338489][ T6546] bcachefs (loop0): accounting_read... done [ 176.344636][ T6546] bcachefs (loop0): alloc_read... done [ 176.350163][ T6546] bcachefs (loop0): stripes_read... done [ 176.355883][ T6546] bcachefs (loop0): snapshots_read... done [pid 6546] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6546] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6546] chdir("./file1") = 0 [pid 6546] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6546] ioctl(4, LOOP_CLR_FD) = 0 [pid 6546] close(4) = 0 [pid 6546] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6546] exit_group(0) = ? [pid 6546] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6546, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=28 /* 0.28 s */} --- [ 176.361815][ T6546] bcachefs (loop0): check_allocations... done [ 176.378581][ T6546] bcachefs (loop0): going read-write [ 176.387271][ T6546] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./64", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./64/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./64/binderfs") = 0 [ 176.542978][ T5829] bcachefs (loop0): shutting down [ 176.548082][ T5829] bcachefs (loop0): going read-only [ 176.553493][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 176.560924][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 176.583598][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 176.596699][ T3002] bcachefs (loop0): fatal error - emergency read only [ 176.604368][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 176.614183][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 176.621676][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 176.638772][ T5829] bcachefs (loop0): shutdown complete umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./64/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./64/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./64/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./64") = 0 mkdir("./65", 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 6557 attached [pid 6557] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6557 [pid 6557] chdir("./65") = 0 [pid 6557] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6557] setpgid(0, 0) = 0 [pid 6557] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6557] write(3, "1000", 4) = 4 [pid 6557] close(3) = 0 [pid 6557] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6557] write(1, "executing program\n", 18) = 18 [pid 6557] memfd_create("syzkaller", 0) = 3 [pid 6557] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6557] 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 6557] munmap(0x7fe591200000, 138412032) = 0 [pid 6557] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6557] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6557] close(3) = 0 [pid 6557] close(4) = 0 [pid 6557] mkdir("./file1", 0777) = 0 [ 177.914553][ T6557] loop0: detected capacity change from 0 to 32768 [ 177.980812][ T6557] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 178.002050][ T6557] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 178.010509][ T6557] bcachefs (loop0): Version upgrade required: [ 178.010509][ T6557] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 178.010509][ T6557] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 178.010509][ T6557] 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 [ 178.083087][ T6557] bcachefs (loop0): dropping and reconstructing all alloc info [ 178.098433][ T6557] bcachefs (loop0): check_topology... done [ 178.104410][ T6557] bcachefs (loop0): accounting_read... done [ 178.110519][ T6557] bcachefs (loop0): alloc_read... done [ 178.116104][ T6557] bcachefs (loop0): stripes_read... done [ 178.122003][ T6557] bcachefs (loop0): snapshots_read... done [pid 6557] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6557] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6557] chdir("./file1") = 0 [pid 6557] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6557] ioctl(4, LOOP_CLR_FD) = 0 [pid 6557] close(4) = 0 [pid 6557] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6557] exit_group(0) = ? [pid 6557] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6557, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=22 /* 0.22 s */} --- [ 178.128071][ T6557] bcachefs (loop0): check_allocations... done [ 178.144548][ T6557] bcachefs (loop0): going read-write [ 178.153291][ T6557] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./65", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./65/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./65/binderfs") = 0 [ 178.287157][ T5829] bcachefs (loop0): shutting down [ 178.292272][ T5829] bcachefs (loop0): going read-only [ 178.297752][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 178.305236][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 178.328128][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 178.341220][ T3002] bcachefs (loop0): fatal error - emergency read only [ 178.348648][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 178.358653][ T5829] bcachefs (loop0): unshutdown complete, journal seq 13 [ 178.366338][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 178.382313][ T5829] bcachefs (loop0): shutdown complete umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./65/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./65/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./65/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./65") = 0 mkdir("./66", 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 6568 attached , child_tidptr=0x55558edfa650) = 6568 [pid 6568] set_robust_list(0x55558edfa660, 24) = 0 [pid 6568] chdir("./66") = 0 [pid 6568] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6568] setpgid(0, 0) = 0 [pid 6568] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6568] write(3, "1000", 4) = 4 [pid 6568] close(3) = 0 [pid 6568] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6568] write(1, "executing program\n", 18) = 18 [pid 6568] memfd_create("syzkaller", 0) = 3 [pid 6568] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6568] 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 6568] munmap(0x7fe591200000, 138412032) = 0 [pid 6568] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6568] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6568] close(3) = 0 [pid 6568] close(4) = 0 [pid 6568] mkdir("./file1", 0777) = 0 [ 179.699484][ T6568] loop0: detected capacity change from 0 to 32768 [ 179.776985][ T6568] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 179.798525][ T6568] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 179.806638][ T6568] bcachefs (loop0): Version upgrade required: [ 179.806638][ T6568] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 179.806638][ T6568] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 179.806638][ T6568] 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 [ 179.878853][ T6568] bcachefs (loop0): dropping and reconstructing all alloc info [ 179.893676][ T6568] bcachefs (loop0): check_topology... done [ 179.899569][ T6568] bcachefs (loop0): accounting_read... done [ 179.905781][ T6568] bcachefs (loop0): alloc_read... done [ 179.911318][ T6568] bcachefs (loop0): stripes_read... done [ 179.917149][ T6568] bcachefs (loop0): snapshots_read... done [pid 6568] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6568] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6568] chdir("./file1") = 0 [pid 6568] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6568] ioctl(4, LOOP_CLR_FD) = 0 [pid 6568] close(4) = 0 [pid 6568] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6568] exit_group(0) = ? [pid 6568] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6568, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 179.923103][ T6568] bcachefs (loop0): check_allocations... done [ 179.939483][ T6568] bcachefs (loop0): going read-write [ 179.947559][ T6568] bcachefs (loop0): done starting filesystem umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./66", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./66/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./66/binderfs") = 0 [ 180.095598][ T5829] bcachefs (loop0): shutting down [ 180.100719][ T5829] bcachefs (loop0): going read-only [ 180.106227][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 180.113935][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 180.135299][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 180.148222][ T3002] bcachefs (loop0): fatal error - emergency read only [ 180.156200][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 180.166000][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 180.173653][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 180.189593][ T5829] bcachefs (loop0): shutdown complete umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./66/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./66/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./66/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./66") = 0 mkdir("./67", 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 6579 attached , child_tidptr=0x55558edfa650) = 6579 [pid 6579] set_robust_list(0x55558edfa660, 24) = 0 [pid 6579] chdir("./67") = 0 [pid 6579] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6579] setpgid(0, 0) = 0 [pid 6579] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6579] write(3, "1000", 4) = 4 [pid 6579] close(3) = 0 [pid 6579] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6579] write(1, "executing program\n", 18) = 18 [pid 6579] memfd_create("syzkaller", 0) = 3 [pid 6579] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6579] 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 6579] munmap(0x7fe591200000, 138412032) = 0 [pid 6579] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6579] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6579] close(3) = 0 [pid 6579] close(4) = 0 [pid 6579] mkdir("./file1", 0777) = 0 [ 181.534590][ T6579] loop0: detected capacity change from 0 to 32768 [ 181.599080][ T6579] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 181.620146][ T6579] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 181.628247][ T6579] bcachefs (loop0): Version upgrade required: [ 181.628247][ T6579] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 181.628247][ T6579] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 181.628247][ T6579] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 181.700671][ T6579] bcachefs (loop0): dropping and reconstructing all alloc info [ 181.716308][ T6579] bcachefs (loop0): check_topology... done [ 181.724186][ T6579] bcachefs (loop0): accounting_read... done [ 181.730255][ T6579] bcachefs (loop0): alloc_read... done [ 181.735827][ T6579] bcachefs (loop0): stripes_read... done [ 181.741547][ T6579] bcachefs (loop0): snapshots_read... done [pid 6579] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6579] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6579] chdir("./file1") = 0 [ 181.747498][ T6579] bcachefs (loop0): check_allocations... done [ 181.764937][ T6579] bcachefs (loop0): going read-write [ 181.773591][ T6579] bcachefs (loop0): done starting filesystem [pid 6579] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6579] ioctl(4, LOOP_CLR_FD) = 0 [pid 6579] close(4) = 0 [pid 6579] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6579] exit_group(0) = ? [pid 6579] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6579, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./67", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./67/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./67/binderfs") = 0 [ 181.974737][ T5829] bcachefs (loop0): shutting down [ 181.979803][ T5829] bcachefs (loop0): going read-only [ 181.985229][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 181.992792][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 182.015330][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 182.028069][ T3002] bcachefs (loop0): fatal error - emergency read only [ 182.035734][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 182.045536][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 182.053383][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 182.068583][ T5829] bcachefs (loop0): shutdown complete umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./67/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./67/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./67/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./67") = 0 mkdir("./68", 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 6590 attached [pid 6590] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6590 [pid 6590] chdir("./68") = 0 [pid 6590] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6590] setpgid(0, 0) = 0 [pid 6590] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6590] write(3, "1000", 4) = 4 [pid 6590] close(3) = 0 [pid 6590] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6590] write(1, "executing program\n", 18) = 18 [pid 6590] memfd_create("syzkaller", 0) = 3 [pid 6590] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6590] 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 6590] munmap(0x7fe591200000, 138412032) = 0 [pid 6590] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6590] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6590] close(3) = 0 [pid 6590] close(4) = 0 [pid 6590] mkdir("./file1", 0777) = 0 [ 183.453783][ T6590] loop0: detected capacity change from 0 to 32768 [ 183.523728][ T6590] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 183.544947][ T6590] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 183.553061][ T6590] bcachefs (loop0): Version upgrade required: [ 183.553061][ T6590] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 183.553061][ T6590] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 183.553061][ T6590] 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 [ 183.625455][ T6590] bcachefs (loop0): dropping and reconstructing all alloc info [ 183.640438][ T6590] bcachefs (loop0): check_topology... done [ 183.646729][ T6590] bcachefs (loop0): accounting_read... done [ 183.652871][ T6590] bcachefs (loop0): alloc_read... done [ 183.658407][ T6590] bcachefs (loop0): stripes_read... done [ 183.664202][ T6590] bcachefs (loop0): snapshots_read... done [pid 6590] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6590] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6590] chdir("./file1") = 0 [pid 6590] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6590] ioctl(4, LOOP_CLR_FD) = 0 [pid 6590] close(4) = 0 [ 183.670131][ T6590] bcachefs (loop0): check_allocations... done [ 183.687029][ T6590] bcachefs (loop0): going read-write [ 183.695219][ T6590] bcachefs (loop0): done starting filesystem [pid 6590] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6590] exit_group(0) = ? [pid 6590] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6590, 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("./68", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./68", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./68/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./68/binderfs") = 0 [ 183.878048][ T5829] bcachefs (loop0): shutting down [ 183.883340][ T5829] bcachefs (loop0): going read-only [ 183.888604][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 183.896249][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 183.918892][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 183.932063][ T35] bcachefs (loop0): fatal error - emergency read only [ 183.939740][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 183.949643][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 183.957428][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 183.972791][ T5829] bcachefs (loop0): shutdown complete umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./68/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./68/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./68/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./68") = 0 mkdir("./69", 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 6601 attached [pid 6601] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6601 [pid 6601] chdir("./69") = 0 [pid 6601] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6601] setpgid(0, 0) = 0 [pid 6601] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6601] write(3, "1000", 4) = 4 [pid 6601] close(3) = 0 [pid 6601] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6601] write(1, "executing program\n", 18executing program ) = 18 [pid 6601] memfd_create("syzkaller", 0) = 3 [pid 6601] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6601] 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 6601] munmap(0x7fe591200000, 138412032) = 0 [pid 6601] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6601] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6601] close(3) = 0 [pid 6601] close(4) = 0 [pid 6601] mkdir("./file1", 0777) = 0 [ 185.246784][ T6601] loop0: detected capacity change from 0 to 32768 [ 185.315810][ T6601] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 185.336917][ T6601] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 185.345090][ T6601] bcachefs (loop0): Version upgrade required: [ 185.345090][ T6601] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 185.345090][ T6601] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 185.345090][ T6601] 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 [ 185.417029][ T6601] bcachefs (loop0): dropping and reconstructing all alloc info [ 185.431169][ T6601] bcachefs (loop0): check_topology... done [ 185.437270][ T6601] bcachefs (loop0): accounting_read... done [ 185.443602][ T6601] bcachefs (loop0): alloc_read... done [ 185.449176][ T6601] bcachefs (loop0): stripes_read... done [ 185.454909][ T6601] bcachefs (loop0): snapshots_read... done [pid 6601] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6601] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6601] chdir("./file1") = 0 [ 185.460875][ T6601] bcachefs (loop0): check_allocations... done [ 185.477900][ T6601] bcachefs (loop0): going read-write [ 185.486421][ T6601] bcachefs (loop0): done starting filesystem [pid 6601] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6601] ioctl(4, LOOP_CLR_FD) = 0 [pid 6601] close(4) = 0 [pid 6601] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6601] exit_group(0) = ? [pid 6601] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6601, 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("./69", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./69", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./69/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./69/binderfs") = 0 [ 185.700634][ T5829] bcachefs (loop0): shutting down [ 185.705857][ T5829] bcachefs (loop0): going read-only [ 185.711090][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 185.718832][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 185.741239][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 185.754395][ T3524] bcachefs (loop0): fatal error - emergency read only [ 185.761720][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 185.771850][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 185.779567][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 185.795246][ T5829] bcachefs (loop0): shutdown complete umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./69/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./69/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./69/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./69") = 0 mkdir("./70", 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 6612 attached , child_tidptr=0x55558edfa650) = 6612 [pid 6612] set_robust_list(0x55558edfa660, 24) = 0 [pid 6612] chdir("./70") = 0 [pid 6612] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6612] setpgid(0, 0) = 0 [pid 6612] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6612] write(3, "1000", 4) = 4 [pid 6612] close(3) = 0 [pid 6612] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6612] write(1, "executing program\n", 18executing program ) = 18 [pid 6612] memfd_create("syzkaller", 0) = 3 [pid 6612] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6612] 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 6612] munmap(0x7fe591200000, 138412032) = 0 [pid 6612] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6612] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6612] close(3) = 0 [pid 6612] close(4) = 0 [pid 6612] mkdir("./file1", 0777) = 0 [ 187.103781][ T6612] loop0: detected capacity change from 0 to 32768 [ 187.160709][ T6612] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 187.182116][ T6612] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 187.190308][ T6612] bcachefs (loop0): Version upgrade required: [ 187.190308][ T6612] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 187.190308][ T6612] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 187.190308][ T6612] 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 [ 187.262590][ T6612] bcachefs (loop0): dropping and reconstructing all alloc info [ 187.277243][ T6612] bcachefs (loop0): check_topology... done [ 187.283366][ T6612] bcachefs (loop0): accounting_read... done [ 187.289501][ T6612] bcachefs (loop0): alloc_read... done [ 187.295173][ T6612] bcachefs (loop0): stripes_read... done [ 187.300879][ T6612] bcachefs (loop0): snapshots_read... done [pid 6612] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6612] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6612] chdir("./file1") = 0 [pid 6612] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6612] ioctl(4, LOOP_CLR_FD) = 0 [pid 6612] close(4) = 0 [ 187.306863][ T6612] bcachefs (loop0): check_allocations... done [ 187.323498][ T6612] bcachefs (loop0): going read-write [ 187.331571][ T6612] bcachefs (loop0): done starting filesystem [pid 6612] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6612] exit_group(0) = ? [pid 6612] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6612, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./70", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./70/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./70/binderfs") = 0 [ 187.517607][ T5829] bcachefs (loop0): shutting down [ 187.522862][ T5829] bcachefs (loop0): going read-only [ 187.528085][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 187.535731][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 187.559542][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 187.572859][ T3524] bcachefs (loop0): fatal error - emergency read only [ 187.580291][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 187.590010][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 187.597795][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 187.613297][ T5829] bcachefs (loop0): shutdown complete umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./70/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./70/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./70/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./70") = 0 mkdir("./71", 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 6623 attached [pid 6623] set_robust_list(0x55558edfa660, 24) = 0 [pid 6623] chdir("./71" [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6623 [pid 6623] <... chdir resumed>) = 0 [pid 6623] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6623] setpgid(0, 0) = 0 [pid 6623] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6623] write(3, "1000", 4) = 4 [pid 6623] close(3) = 0 [pid 6623] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6623] write(1, "executing program\n", 18executing program ) = 18 [pid 6623] memfd_create("syzkaller", 0) = 3 [pid 6623] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6623] 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 6623] munmap(0x7fe591200000, 138412032) = 0 [pid 6623] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6623] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6623] close(3) = 0 [pid 6623] close(4) = 0 [pid 6623] mkdir("./file1", 0777) = 0 [ 188.877049][ T6623] loop0: detected capacity change from 0 to 32768 [ 188.942898][ T6623] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 188.964322][ T6623] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 188.972348][ T6623] bcachefs (loop0): Version upgrade required: [ 188.972348][ T6623] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 188.972348][ T6623] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 188.972348][ T6623] 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 [ 189.044148][ T6623] bcachefs (loop0): dropping and reconstructing all alloc info [ 189.058854][ T6623] bcachefs (loop0): check_topology... done [ 189.064779][ T6623] bcachefs (loop0): accounting_read... done [ 189.070833][ T6623] bcachefs (loop0): alloc_read... done [ 189.076394][ T6623] bcachefs (loop0): stripes_read... done [ 189.082087][ T6623] bcachefs (loop0): snapshots_read... done [pid 6623] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6623] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6623] chdir("./file1") = 0 [pid 6623] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 189.088198][ T6623] bcachefs (loop0): check_allocations... done [ 189.104796][ T6623] bcachefs (loop0): going read-write [ 189.112841][ T6623] bcachefs (loop0): done starting filesystem [pid 6623] ioctl(4, LOOP_CLR_FD) = 0 [pid 6623] close(4) = 0 [pid 6623] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6623] exit_group(0) = ? [pid 6623] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6623, 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("./71", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./71", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./71/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./71/binderfs") = 0 [ 189.277074][ T5829] bcachefs (loop0): shutting down [ 189.282201][ T5829] bcachefs (loop0): going read-only [ 189.287655][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 189.295136][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 189.317905][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 189.331017][ T3524] bcachefs (loop0): fatal error - emergency read only [ 189.338256][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 189.348078][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 189.355690][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 189.370625][ T5829] bcachefs (loop0): shutdown complete umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./71/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./71/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./71/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./71") = 0 mkdir("./72", 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 6634 attached [pid 6634] set_robust_list(0x55558edfa660, 24) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6634 [pid 6634] chdir("./72") = 0 [pid 6634] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6634] setpgid(0, 0) = 0 [pid 6634] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6634] write(3, "1000", 4) = 4 [pid 6634] close(3) = 0 [pid 6634] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6634] write(1, "executing program\n", 18) = 18 [pid 6634] memfd_create("syzkaller", 0) = 3 [pid 6634] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6634] 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 6634] munmap(0x7fe591200000, 138412032) = 0 [pid 6634] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6634] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6634] close(3) = 0 [pid 6634] close(4) = 0 [pid 6634] mkdir("./file1", 0777) = 0 [ 190.605969][ T6634] loop0: detected capacity change from 0 to 32768 [ 190.674069][ T6634] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 190.695316][ T6634] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 190.703426][ T6634] bcachefs (loop0): Version upgrade required: [ 190.703426][ T6634] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 190.703426][ T6634] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 190.703426][ T6634] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 190.775536][ T6634] bcachefs (loop0): dropping and reconstructing all alloc info [ 190.790223][ T6634] bcachefs (loop0): check_topology... done [ 190.796192][ T6634] bcachefs (loop0): accounting_read... done [ 190.802283][ T6634] bcachefs (loop0): alloc_read... done [ 190.807845][ T6634] bcachefs (loop0): stripes_read... done [ 190.813568][ T6634] bcachefs (loop0): snapshots_read... done [pid 6634] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6634] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6634] chdir("./file1") = 0 [pid 6634] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6634] ioctl(4, LOOP_CLR_FD) = 0 [pid 6634] close(4) = 0 [pid 6634] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6634] exit_group(0) = ? [pid 6634] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6634, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./72", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./72/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./72/binderfs") = 0 [ 190.819452][ T6634] bcachefs (loop0): check_allocations... done [ 190.836142][ T6634] bcachefs (loop0): going read-write [ 190.845009][ T6634] bcachefs (loop0): done starting filesystem [ 190.888712][ T5829] bcachefs (loop0): shutting down [ 190.894036][ T5829] bcachefs (loop0): going read-only [ 190.899261][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 190.907388][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 190.929869][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 190.943161][ T3002] bcachefs (loop0): fatal error - emergency read only [ 190.950264][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 190.960181][ T5829] bcachefs (loop0): unshutdown complete, journal seq 13 [ 190.967820][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 190.982828][ T5829] bcachefs (loop0): shutdown complete umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./72/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./72/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./72/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./72") = 0 mkdir("./73", 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 6645 attached , child_tidptr=0x55558edfa650) = 6645 [pid 6645] set_robust_list(0x55558edfa660, 24) = 0 [pid 6645] chdir("./73") = 0 [pid 6645] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6645] setpgid(0, 0) = 0 [pid 6645] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6645] write(3, "1000", 4) = 4 [pid 6645] close(3) = 0 [pid 6645] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6645] write(1, "executing program\n", 18) = 18 [pid 6645] memfd_create("syzkaller", 0) = 3 [pid 6645] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6645] 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 6645] munmap(0x7fe591200000, 138412032) = 0 [pid 6645] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6645] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6645] close(3) = 0 [pid 6645] close(4) = 0 [pid 6645] mkdir("./file1", 0777) = 0 [ 192.264389][ T6645] loop0: detected capacity change from 0 to 32768 [ 192.330225][ T6645] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 192.351905][ T6645] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 192.360005][ T6645] bcachefs (loop0): Version upgrade required: [ 192.360005][ T6645] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 192.360005][ T6645] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 192.360005][ T6645] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 192.431903][ T6645] bcachefs (loop0): dropping and reconstructing all alloc info [ 192.446524][ T6645] bcachefs (loop0): check_topology... done [ 192.452379][ T6645] bcachefs (loop0): accounting_read... done [ 192.459470][ T6645] bcachefs (loop0): alloc_read... done [ 192.465075][ T6645] bcachefs (loop0): stripes_read... done [ 192.470767][ T6645] bcachefs (loop0): snapshots_read... done [pid 6645] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6645] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6645] chdir("./file1") = 0 [pid 6645] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 192.476734][ T6645] bcachefs (loop0): check_allocations... done [ 192.493420][ T6645] bcachefs (loop0): going read-write [ 192.501782][ T6645] bcachefs (loop0): done starting filesystem [pid 6645] ioctl(4, LOOP_CLR_FD) = 0 [pid 6645] close(4) = 0 [pid 6645] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6645] exit_group(0) = ? [pid 6645] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6645, 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("./73", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./73", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./73/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./73/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./73/binderfs") = 0 [ 192.699214][ T5829] bcachefs (loop0): shutting down [ 192.704479][ T5829] bcachefs (loop0): going read-only [ 192.709681][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 192.717387][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 192.742605][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 192.755795][ T3002] bcachefs (loop0): fatal error - emergency read only [ 192.763156][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 192.772941][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 192.780461][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 192.797441][ T5829] bcachefs (loop0): shutdown complete umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./73/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./73/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./73/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./73") = 0 mkdir("./74", 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 6656 attached , child_tidptr=0x55558edfa650) = 6656 [pid 6656] set_robust_list(0x55558edfa660, 24) = 0 [pid 6656] chdir("./74") = 0 [pid 6656] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6656] setpgid(0, 0) = 0 [pid 6656] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6656] write(3, "1000", 4) = 4 [pid 6656] close(3) = 0 [pid 6656] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6656] write(1, "executing program\n", 18) = 18 [pid 6656] memfd_create("syzkaller", 0) = 3 [pid 6656] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6656] 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 6656] munmap(0x7fe591200000, 138412032) = 0 [pid 6656] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6656] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6656] close(3) = 0 [pid 6656] close(4) = 0 [pid 6656] mkdir("./file1", 0777) = 0 [ 194.108221][ T6656] loop0: detected capacity change from 0 to 32768 [ 194.196042][ T6656] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 194.217153][ T6656] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 194.225332][ T6656] bcachefs (loop0): Version upgrade required: [ 194.225332][ T6656] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 194.225332][ T6656] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 194.225332][ T6656] 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 [ 194.297799][ T6656] bcachefs (loop0): dropping and reconstructing all alloc info [ 194.312622][ T6656] bcachefs (loop0): check_topology... done [ 194.318499][ T6656] bcachefs (loop0): accounting_read... done [ 194.324625][ T6656] bcachefs (loop0): alloc_read... done [ 194.330250][ T6656] bcachefs (loop0): stripes_read... done [ 194.336025][ T6656] bcachefs (loop0): snapshots_read... done [pid 6656] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6656] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6656] chdir("./file1") = 0 [pid 6656] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 194.341971][ T6656] bcachefs (loop0): check_allocations... done [ 194.358917][ T6656] bcachefs (loop0): going read-write [ 194.367002][ T6656] bcachefs (loop0): done starting filesystem [pid 6656] ioctl(4, LOOP_CLR_FD) = 0 [pid 6656] close(4) = 0 [pid 6656] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6656] exit_group(0) = ? [pid 6656] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6656, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./74", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./74", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./74/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./74/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./74/binderfs") = 0 [ 194.558398][ T5829] bcachefs (loop0): shutting down [ 194.565391][ T5829] bcachefs (loop0): going read-only [ 194.570620][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 194.578663][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 194.601290][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 194.614514][ T35] bcachefs (loop0): fatal error - emergency read only [ 194.621605][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 194.631693][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 194.639355][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 194.654531][ T5829] bcachefs (loop0): shutdown complete umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./74/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./74/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./74/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./74") = 0 mkdir("./75", 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 6667 attached [pid 6667] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6667 [pid 6667] <... set_robust_list resumed>) = 0 [pid 6667] chdir("./75") = 0 [pid 6667] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6667] setpgid(0, 0) = 0 [pid 6667] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6667] write(3, "1000", 4) = 4 [pid 6667] close(3) = 0 [pid 6667] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6667] write(1, "executing program\n", 18) = 18 [pid 6667] memfd_create("syzkaller", 0) = 3 [pid 6667] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6667] 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 6667] munmap(0x7fe591200000, 138412032) = 0 [pid 6667] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6667] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6667] close(3) = 0 [pid 6667] close(4) = 0 [pid 6667] mkdir("./file1", 0777) = 0 [ 195.943044][ T6667] loop0: detected capacity change from 0 to 32768 [ 196.022079][ T6667] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 196.043215][ T6667] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 196.051274][ T6667] bcachefs (loop0): Version upgrade required: [ 196.051274][ T6667] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 196.051274][ T6667] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 196.051274][ T6667] 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 [ 196.123839][ T6667] bcachefs (loop0): dropping and reconstructing all alloc info [ 196.138501][ T6667] bcachefs (loop0): check_topology... done [ 196.144702][ T6667] bcachefs (loop0): accounting_read... done [ 196.150894][ T6667] bcachefs (loop0): alloc_read... done [ 196.156576][ T6667] bcachefs (loop0): stripes_read... done [ 196.162306][ T6667] bcachefs (loop0): snapshots_read... done [pid 6667] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6667] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6667] chdir("./file1") = 0 [pid 6667] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 196.168278][ T6667] bcachefs (loop0): check_allocations... done [ 196.185107][ T6667] bcachefs (loop0): going read-write [ 196.193256][ T6667] bcachefs (loop0): done starting filesystem [pid 6667] ioctl(4, LOOP_CLR_FD) = 0 [pid 6667] close(4) = 0 [pid 6667] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6667] exit_group(0) = ? [pid 6667] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6667, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=16 /* 0.16 s */} --- umount2("./75", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./75", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./75/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./75/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./75/binderfs") = 0 [ 196.375769][ T5829] bcachefs (loop0): shutting down [ 196.380835][ T5829] bcachefs (loop0): going read-only [ 196.386495][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 196.394050][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 196.416856][ T3002] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 196.430034][ T3002] bcachefs (loop0): fatal error - emergency read only [ 196.437641][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 196.447420][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 196.455129][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 196.470290][ T5829] bcachefs (loop0): shutdown complete umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./75/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./75/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./75/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./75") = 0 mkdir("./76", 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 6678 attached [pid 6678] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6678 [pid 6678] <... set_robust_list resumed>) = 0 [pid 6678] chdir("./76") = 0 [pid 6678] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6678] setpgid(0, 0) = 0 [pid 6678] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6678] write(3, "1000", 4) = 4 [pid 6678] close(3) = 0 [pid 6678] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6678] write(1, "executing program\n", 18) = 18 [pid 6678] memfd_create("syzkaller", 0) = 3 [pid 6678] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6678] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6678] munmap(0x7fe591200000, 138412032) = 0 [pid 6678] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6678] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6678] close(3) = 0 [pid 6678] close(4) = 0 [pid 6678] mkdir("./file1", 0777) = 0 [ 197.795620][ T6678] loop0: detected capacity change from 0 to 32768 [ 197.855887][ T6678] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 197.876971][ T6678] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 197.885088][ T6678] bcachefs (loop0): Version upgrade required: [ 197.885088][ T6678] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 197.885088][ T6678] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 197.885088][ T6678] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 197.956879][ T6678] bcachefs (loop0): dropping and reconstructing all alloc info [ 197.971415][ T6678] bcachefs (loop0): check_topology... done [ 197.977739][ T6678] bcachefs (loop0): accounting_read... done [ 197.983909][ T6678] bcachefs (loop0): alloc_read... done [ 197.989466][ T6678] bcachefs (loop0): stripes_read... done [ 197.995211][ T6678] bcachefs (loop0): snapshots_read... done [pid 6678] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6678] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6678] chdir("./file1") = 0 [ 198.001148][ T6678] bcachefs (loop0): check_allocations... done [ 198.017986][ T6678] bcachefs (loop0): going read-write [ 198.026587][ T6678] bcachefs (loop0): done starting filesystem [pid 6678] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6678] ioctl(4, LOOP_CLR_FD) = 0 [pid 6678] close(4) = 0 [pid 6678] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6678] exit_group(0) = ? [pid 6678] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6678, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- umount2("./76", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./76", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./76/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./76/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./76/binderfs") = 0 [ 198.209407][ T5829] bcachefs (loop0): shutting down [ 198.214641][ T5829] bcachefs (loop0): going read-only [ 198.219835][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 198.227446][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 198.251138][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 198.263927][ T3524] bcachefs (loop0): fatal error - emergency read only [ 198.271048][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 198.281055][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 198.288954][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 198.304451][ T5829] bcachefs (loop0): shutdown complete umount2("./76/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./76/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./76/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./76/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./76/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./76/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./76") = 0 mkdir("./77", 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 6689 attached [pid 6689] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6689 [pid 6689] <... set_robust_list resumed>) = 0 [pid 6689] chdir("./77") = 0 [pid 6689] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6689] setpgid(0, 0) = 0 [pid 6689] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6689] write(3, "1000", 4) = 4 [pid 6689] close(3) = 0 [pid 6689] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6689] write(1, "executing program\n", 18executing program ) = 18 [pid 6689] memfd_create("syzkaller", 0) = 3 [pid 6689] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6689] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6689] munmap(0x7fe591200000, 138412032) = 0 [pid 6689] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6689] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6689] close(3) = 0 [pid 6689] close(4) = 0 [pid 6689] mkdir("./file1", 0777) = 0 [ 199.624018][ T6689] loop0: detected capacity change from 0 to 32768 [ 199.703788][ T6689] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 199.725218][ T6689] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 199.733689][ T6689] bcachefs (loop0): Version upgrade required: [ 199.733689][ T6689] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 199.733689][ T6689] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 199.733689][ T6689] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 199.809432][ T6689] bcachefs (loop0): dropping and reconstructing all alloc info [ 199.826616][ T6689] bcachefs (loop0): check_topology... done [ 199.833029][ T6689] bcachefs (loop0): accounting_read... done [ 199.839315][ T6689] bcachefs (loop0): alloc_read... done [ 199.845558][ T6689] bcachefs (loop0): stripes_read... done [pid 6689] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6689] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6689] chdir("./file1") = 0 [pid 6689] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6689] ioctl(4, LOOP_CLR_FD) = 0 [ 199.851273][ T6689] bcachefs (loop0): snapshots_read... done [ 199.858000][ T6689] bcachefs (loop0): check_allocations... done [ 199.879867][ T6689] bcachefs (loop0): going read-write [ 199.889093][ T6689] bcachefs (loop0): done starting filesystem [pid 6689] close(4) = 0 [pid 6689] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6689] exit_group(0) = ? [pid 6689] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6689, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- umount2("./77", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./77", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./77/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./77/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./77/binderfs") = 0 [ 199.958156][ T5829] bcachefs (loop0): shutting down [ 199.963639][ T5829] bcachefs (loop0): going read-only [ 199.968865][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 199.977244][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 200.000721][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 200.013526][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 200.029165][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 200.032515][ T35] bcachefs (loop0): fatal error - emergency read only [ 200.044059][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 200.064163][ T5829] bcachefs (loop0): shutdown complete umount2("./77/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./77/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./77/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./77/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./77/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./77/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./77") = 0 mkdir("./78", 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 6700 attached [pid 6700] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6700 [pid 6700] <... set_robust_list resumed>) = 0 [pid 6700] chdir("./78") = 0 [pid 6700] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6700] setpgid(0, 0) = 0 [pid 6700] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6700] write(3, "1000", 4) = 4 [pid 6700] close(3) = 0 [pid 6700] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6700] write(1, "executing program\n", 18) = 18 [pid 6700] memfd_create("syzkaller", 0) = 3 [pid 6700] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6700] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6700] munmap(0x7fe591200000, 138412032) = 0 [pid 6700] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6700] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6700] close(3) = 0 [pid 6700] close(4) = 0 [pid 6700] mkdir("./file1", 0777) = 0 [ 201.388120][ T6700] loop0: detected capacity change from 0 to 32768 [ 201.464648][ T6700] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 201.485706][ T6700] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 201.493822][ T6700] bcachefs (loop0): Version upgrade required: [ 201.493822][ T6700] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 201.493822][ T6700] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 201.493822][ T6700] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 201.565846][ T6700] bcachefs (loop0): dropping and reconstructing all alloc info [ 201.579926][ T6700] bcachefs (loop0): check_topology... done [ 201.585888][ T6700] bcachefs (loop0): accounting_read... done [ 201.591941][ T6700] bcachefs (loop0): alloc_read... done [ 201.597501][ T6700] bcachefs (loop0): stripes_read... done [ 201.603326][ T6700] bcachefs (loop0): snapshots_read... done [pid 6700] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6700] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6700] chdir("./file1") = 0 [ 201.609249][ T6700] bcachefs (loop0): check_allocations... done [ 201.625681][ T6700] bcachefs (loop0): going read-write [ 201.633754][ T6700] bcachefs (loop0): done starting filesystem [pid 6700] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6700] ioctl(4, LOOP_CLR_FD) = 0 [pid 6700] close(4) = 0 [pid 6700] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6700] exit_group(0) = ? [pid 6700] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6700, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./78", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./78", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./78/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./78/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./78/binderfs") = 0 [ 201.844176][ T5829] bcachefs (loop0): shutting down [ 201.849227][ T5829] bcachefs (loop0): going read-only [ 201.854679][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 201.862176][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 201.884893][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 201.898132][ T35] bcachefs (loop0): fatal error - emergency read only [ 201.905983][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 201.915819][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 201.923543][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 201.939420][ T5829] bcachefs (loop0): shutdown complete umount2("./78/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./78/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./78/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./78/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./78/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./78/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./78") = 0 mkdir("./79", 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 6711 attached [pid 6711] set_robust_list(0x55558edfa660, 24) = 0 [pid 6711] chdir("./79") = 0 [pid 6711] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6711] setpgid(0, 0) = 0 [pid 6711] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6711] write(3, "1000", 4) = 4 [pid 6711] close(3) = 0 [pid 6711] symlink("/dev/binderfs", "./binderfs" [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6711 [pid 6711] <... symlink resumed>) = 0 [pid 6711] write(1, "executing program\n", 18executing program ) = 18 [pid 6711] memfd_create("syzkaller", 0) = 3 [pid 6711] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6711] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6711] munmap(0x7fe591200000, 138412032) = 0 [pid 6711] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6711] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6711] close(3) = 0 [pid 6711] close(4) = 0 [pid 6711] mkdir("./file1", 0777) = 0 [ 203.180936][ T6711] loop0: detected capacity change from 0 to 32768 [ 203.252659][ T6711] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 203.273877][ T6711] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 203.281873][ T6711] bcachefs (loop0): Version upgrade required: [ 203.281873][ T6711] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 203.281873][ T6711] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 203.281873][ T6711] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 203.354339][ T6711] bcachefs (loop0): dropping and reconstructing all alloc info [ 203.368496][ T6711] bcachefs (loop0): check_topology... done [ 203.374741][ T6711] bcachefs (loop0): accounting_read... done [ 203.380832][ T6711] bcachefs (loop0): alloc_read... done [ 203.386410][ T6711] bcachefs (loop0): stripes_read... done [ 203.392098][ T6711] bcachefs (loop0): snapshots_read... done [pid 6711] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6711] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6711] chdir("./file1") = 0 [pid 6711] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 203.398220][ T6711] bcachefs (loop0): check_allocations... done [ 203.414771][ T6711] bcachefs (loop0): going read-write [ 203.423310][ T6711] bcachefs (loop0): done starting filesystem [pid 6711] ioctl(4, LOOP_CLR_FD) = 0 [pid 6711] close(4) = 0 [pid 6711] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6711] exit_group(0) = ? [pid 6711] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6711, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./79", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./79", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./79/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./79/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./79/binderfs") = 0 [ 203.515545][ T5829] bcachefs (loop0): shutting down [ 203.520614][ T5829] bcachefs (loop0): going read-only [ 203.526188][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 203.534056][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 203.558076][ T3524] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 203.571187][ T3524] bcachefs (loop0): fatal error - emergency read only [ 203.578903][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 203.588731][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 203.596579][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 203.611517][ T5829] bcachefs (loop0): shutdown complete umount2("./79/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./79/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./79/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./79/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./79/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./79/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./79") = 0 mkdir("./80", 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 6723 attached , child_tidptr=0x55558edfa650) = 6723 [pid 6723] set_robust_list(0x55558edfa660, 24) = 0 [pid 6723] chdir("./80") = 0 [pid 6723] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6723] setpgid(0, 0) = 0 [pid 6723] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6723] write(3, "1000", 4) = 4 [pid 6723] close(3) = 0 [pid 6723] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6723] write(1, "executing program\n", 18executing program ) = 18 [pid 6723] memfd_create("syzkaller", 0) = 3 [pid 6723] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6723] 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 6723] munmap(0x7fe591200000, 138412032) = 0 [pid 6723] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6723] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6723] close(3) = 0 [pid 6723] close(4) = 0 [pid 6723] mkdir("./file1", 0777) = 0 [ 204.922982][ T6723] loop0: detected capacity change from 0 to 32768 [ 204.999418][ T6723] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 205.020649][ T6723] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 205.028855][ T6723] bcachefs (loop0): Version upgrade required: [ 205.028855][ T6723] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 205.028855][ T6723] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 205.028855][ T6723] 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 [ 205.101450][ T6723] bcachefs (loop0): dropping and reconstructing all alloc info [ 205.116179][ T6723] bcachefs (loop0): check_topology... done [ 205.122041][ T6723] bcachefs (loop0): accounting_read... done [ 205.128206][ T6723] bcachefs (loop0): alloc_read... done [ 205.133791][ T6723] bcachefs (loop0): stripes_read... done [ 205.139454][ T6723] bcachefs (loop0): snapshots_read... done [pid 6723] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6723] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6723] chdir("./file1") = 0 [ 205.145402][ T6723] bcachefs (loop0): check_allocations... done [ 205.162041][ T6723] bcachefs (loop0): going read-write [ 205.170229][ T6723] bcachefs (loop0): done starting filesystem [pid 6723] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6723] ioctl(4, LOOP_CLR_FD) = 0 [pid 6723] close(4) = 0 [pid 6723] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6723] exit_group(0) = ? [pid 6723] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6723, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./80", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./80", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./80/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./80/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./80/binderfs") = 0 [ 205.347682][ T5829] bcachefs (loop0): shutting down [ 205.352984][ T5829] bcachefs (loop0): going read-only [ 205.358212][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 205.365723][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 205.388798][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 205.402138][ T35] bcachefs (loop0): fatal error - emergency read only [ 205.409512][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 205.419333][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 205.427014][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 205.442400][ T5829] bcachefs (loop0): shutdown complete umount2("./80/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./80/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./80/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./80/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./80/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./80/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./80") = 0 mkdir("./81", 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 6734 attached , child_tidptr=0x55558edfa650) = 6734 [pid 6734] set_robust_list(0x55558edfa660, 24) = 0 [pid 6734] chdir("./81") = 0 [pid 6734] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6734] setpgid(0, 0) = 0 [pid 6734] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6734] write(3, "1000", 4) = 4 [pid 6734] close(3) = 0 [pid 6734] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6734] write(1, "executing program\n", 18executing program ) = 18 [pid 6734] memfd_create("syzkaller", 0) = 3 [pid 6734] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6734] 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 6734] munmap(0x7fe591200000, 138412032) = 0 [pid 6734] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6734] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6734] close(3) = 0 [pid 6734] close(4) = 0 [pid 6734] mkdir("./file1", 0777) = 0 [ 206.776088][ T6734] loop0: detected capacity change from 0 to 32768 [ 206.846631][ T6734] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 206.867939][ T6734] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 206.876151][ T6734] bcachefs (loop0): Version upgrade required: [ 206.876151][ T6734] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 206.876151][ T6734] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 206.876151][ T6734] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 206.948404][ T6734] bcachefs (loop0): dropping and reconstructing all alloc info [ 206.962995][ T6734] bcachefs (loop0): check_topology... done [ 206.968841][ T6734] bcachefs (loop0): accounting_read... done [ 206.975139][ T6734] bcachefs (loop0): alloc_read... done [ 206.980672][ T6734] bcachefs (loop0): stripes_read... done [ 206.986421][ T6734] bcachefs (loop0): snapshots_read... done [pid 6734] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6734] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6734] chdir("./file1") = 0 [pid 6734] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6734] ioctl(4, LOOP_CLR_FD) = 0 [pid 6734] close(4) = 0 [pid 6734] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6734] exit_group(0) = ? [pid 6734] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6734, 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("./81", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 206.992380][ T6734] bcachefs (loop0): check_allocations... done [ 207.008901][ T6734] bcachefs (loop0): going read-write [ 207.016945][ T6734] bcachefs (loop0): done starting filesystem openat(AT_FDCWD, "./81", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./81/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./81/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./81/binderfs") = 0 [ 207.156602][ T5829] bcachefs (loop0): shutting down [ 207.161679][ T5829] bcachefs (loop0): going read-only [ 207.167171][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 207.175595][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 207.198695][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 207.211458][ T35] bcachefs (loop0): fatal error - emergency read only [ 207.218758][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 207.228536][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 207.236408][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 207.251432][ T5829] bcachefs (loop0): shutdown complete umount2("./81/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./81/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./81/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./81/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./81/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./81/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./81") = 0 mkdir("./82", 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 6745 attached [pid 6745] set_robust_list(0x55558edfa660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55558edfa650) = 6745 [pid 6745] <... set_robust_list resumed>) = 0 [pid 6745] chdir("./82") = 0 [pid 6745] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6745] setpgid(0, 0) = 0 [pid 6745] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6745] write(3, "1000", 4) = 4 [pid 6745] close(3) = 0 [pid 6745] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6745] write(1, "executing program\n", 18) = 18 [pid 6745] memfd_create("syzkaller", 0) = 3 [pid 6745] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6745] 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 6745] munmap(0x7fe591200000, 138412032) = 0 [pid 6745] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6745] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6745] close(3) = 0 [pid 6745] close(4) = 0 [pid 6745] mkdir("./file1", 0777) = 0 [ 208.560749][ T6745] loop0: detected capacity change from 0 to 32768 [ 208.638370][ T6745] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 208.659613][ T6745] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 208.667961][ T6745] bcachefs (loop0): Version upgrade required: [ 208.667961][ T6745] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 208.667961][ T6745] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 208.667961][ T6745] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 208.740054][ T6745] bcachefs (loop0): dropping and reconstructing all alloc info [ 208.754934][ T6745] bcachefs (loop0): check_topology... done [ 208.760798][ T6745] bcachefs (loop0): accounting_read... done [ 208.767104][ T6745] bcachefs (loop0): alloc_read... done [ 208.772745][ T6745] bcachefs (loop0): stripes_read... done [ 208.778462][ T6745] bcachefs (loop0): snapshots_read... done [pid 6745] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6745] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6745] chdir("./file1") = 0 [ 208.784559][ T6745] bcachefs (loop0): check_allocations... done [ 208.801350][ T6745] bcachefs (loop0): going read-write [ 208.809509][ T6745] bcachefs (loop0): done starting filesystem [pid 6745] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6745] ioctl(4, LOOP_CLR_FD) = 0 [pid 6745] close(4) = 0 [pid 6745] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6745] exit_group(0) = ? [pid 6745] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6745, 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("./82", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./82", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./82/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./82/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./82/binderfs") = 0 [ 209.001779][ T5829] bcachefs (loop0): shutting down [ 209.007164][ T5829] bcachefs (loop0): going read-only [ 209.012374][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 209.020215][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 209.043100][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 209.056319][ T35] bcachefs (loop0): fatal error - emergency read only [ 209.063521][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 209.073352][ T5829] bcachefs (loop0): unshutdown complete, journal seq 14 [ 209.080839][ T5829] bcachefs (loop0): done going read-only, filesystem not clean [ 209.096666][ T5829] bcachefs (loop0): shutdown complete umount2("./82/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./82/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./82/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./82/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./82/file1", 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, 0x55558ee03730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558ee03730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./82/file1") = 0 getdents64(3, 0x55558edfb6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./82") = 0 mkdir("./83", 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 6756 attached , child_tidptr=0x55558edfa650) = 6756 [pid 6756] set_robust_list(0x55558edfa660, 24) = 0 [pid 6756] chdir("./83") = 0 [pid 6756] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6756] setpgid(0, 0) = 0 [pid 6756] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6756] write(3, "1000", 4) = 4 [pid 6756] close(3) = 0 [pid 6756] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6756] write(1, "executing program\n", 18executing program ) = 18 [pid 6756] memfd_create("syzkaller", 0) = 3 [pid 6756] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe591200000 [pid 6756] 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 6756] munmap(0x7fe591200000, 138412032) = 0 [pid 6756] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6756] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6756] close(3) = 0 [pid 6756] close(4) = 0 [pid 6756] mkdir("./file1", 0777) = 0 [ 210.562876][ T6756] loop0: detected capacity change from 0 to 32768 [ 210.639365][ T6756] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 210.660505][ T6756] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 210.668802][ T6756] bcachefs (loop0): Version upgrade required: [ 210.668802][ T6756] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 210.668802][ T6756] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 210.668802][ T6756] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 210.740831][ T6756] bcachefs (loop0): dropping and reconstructing all alloc info [ 210.755571][ T6756] bcachefs (loop0): check_topology... done [ 210.761460][ T6756] bcachefs (loop0): accounting_read... done [ 210.767794][ T6756] bcachefs (loop0): alloc_read... done [ 210.773485][ T6756] bcachefs (loop0): stripes_read... done [ 210.779202][ T6756] bcachefs (loop0): snapshots_read... done [pid 6756] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 6756] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6756] chdir("./file1") = 0 [ 210.785144][ T6756] bcachefs (loop0): check_allocations... done [ 210.801810][ T6756] bcachefs (loop0): going read-write [ 210.810341][ T6756] bcachefs (loop0): done starting filesystem [pid 6756] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6756] ioctl(4, LOOP_CLR_FD) = 0 [pid 6756] close(4) = 0 [pid 6756] openat(AT_FDCWD, ".pending_reads", O_WRONLY|O_CREAT|O_EXCL|O_SYNC|O_NOFOLLOW|O_CLOEXEC, 06603) = 4 [pid 6756] exit_group(0) = ? [pid 6756] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6756, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./83", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./83", 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, 0x55558edfb6f0 /* 4 entries */, 32768) = 112 umount2("./83/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./83/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./83/binderfs") = 0 [ 210.964496][ T5829] bcachefs (loop0): shutting down [ 210.969555][ T5829] bcachefs (loop0): going read-only [ 210.974881][ T5829] bcachefs (loop0): finished waiting for writes to stop [ 210.982318][ T5829] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 211.003775][ T5829] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 12 [ 211.015794][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 211.016619][ T5829] bcachefs (loop0): unshutdown complete, journal seq 13 [ 211.029535][ T35] bcachefs (loop0): fatal error - emergency read only [ 211.042919][ T35] ------------[ cut here ]------------ [ 211.048585][ T35] kernel BUG at fs/bcachefs/journal.h:375! [ 211.054659][ T35] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 211.061629][ T35] CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-rc7-syzkaller #0 [ 211.070576][ T35] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 211.080626][ T35] Workqueue: btree_update btree_interior_update_work [ 211.087326][ T35] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 211.093400][ T35] Code: fd 90 0f 0b e8 8f 67 78 fd 90 0f 0b e8 87 67 78 fd 90 0f 0b e8 7f 67 78 fd 90 0f 0b e8 77 67 78 fd 90 0f 0b e8 6f 67 78 fd 90 <0f> 0b e8 67 67 78 fd 90 0f 0b e8 5f 67 78 fd 90 0f 0b e8 57 67 78 [ 211.113016][ T35] RSP: 0018:ffffc90000ab76c0 EFLAGS: 00010293 [ 211.119080][ T35] RAX: ffffffff841c7241 RBX: 0000000000000000 RCX: ffff888020690000 [ 211.127045][ T35] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 211.135010][ T35] RBP: ffffc90000ab7890 R08: ffffffff841c1578 R09: 1ffff1100dfd94a8 [ 211.142994][ T35] R10: dffffc0000000000 R11: ffffed100dfd94a9 R12: ffff88806fe80000 [ 211.150959][ T35] R13: ffff88806feca500 R14: 0000000000000044 R15: ffff888070aac0d0 [ 211.158930][ T35] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 211.167851][ T35] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 211.174450][ T35] CR2: 00007ffc47dadff8 CR3: 0000000033bca000 CR4: 00000000003526f0 [ 211.182419][ T35] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 211.190400][ T35] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 211.198371][ T35] Call Trace: [ 211.201646][ T35] [ 211.204583][ T35] ? __die_body+0x5f/0xb0 [ 211.208916][ T35] ? die+0x9e/0xc0 [ 211.212631][ T35] ? do_trap+0x15a/0x3a0 [ 211.216875][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 211.222334][ T35] ? do_error_trap+0x1dc/0x2c0 [ 211.227099][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 211.232647][ T35] ? __pfx_do_error_trap+0x10/0x10 [ 211.237763][ T35] ? report_bug+0x3e8/0x500 [ 211.242280][ T35] ? handle_invalid_op+0x34/0x40 [ 211.247217][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 211.252679][ T35] ? exc_invalid_op+0x38/0x50 [ 211.257369][ T35] ? asm_exc_invalid_op+0x1a/0x20 [ 211.262393][ T35] ? __bch2_trans_commit+0x3568/0x93c0 [ 211.267868][ T35] ? __bch2_trans_commit+0x9231/0x93c0 [ 211.273347][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 211.278812][ T35] ? __pfx___bch2_trans_commit+0x10/0x10 [ 211.284449][ T35] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 211.290438][ T35] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 211.296592][ T35] ? btree_interior_update_work+0x117a/0x2b10 [ 211.302662][ T35] btree_interior_update_work+0x1492/0x2b10 [ 211.308661][ T35] ? __pfx_btree_interior_update_work+0x10/0x10 [ 211.314905][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 211.319927][ T35] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 211.325910][ T35] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 211.332238][ T35] ? process_scheduled_works+0x976/0x1850 [ 211.337955][ T35] process_scheduled_works+0xa63/0x1850 [ 211.343510][ T35] ? __pfx_process_scheduled_works+0x10/0x10 [ 211.349494][ T35] ? assign_work+0x364/0x3d0 [ 211.354104][ T35] worker_thread+0x870/0xd30 [ 211.358701][ T35] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 211.364597][ T35] ? __kthread_parkme+0x169/0x1d0 [ 211.369627][ T35] ? __pfx_worker_thread+0x10/0x10 [ 211.374744][ T35] kthread+0x2f0/0x390 [ 211.378811][ T35] ? __pfx_worker_thread+0x10/0x10 [ 211.383923][ T35] ? __pfx_kthread+0x10/0x10 [ 211.388509][ T35] ret_from_fork+0x4b/0x80 [ 211.392956][ T35] ? __pfx_kthread+0x10/0x10 [ 211.397541][ T35] ret_from_fork_asm+0x1a/0x30 [ 211.402308][ T35] [ 211.405351][ T35] Modules linked in: [ 211.409583][ T35] ---[ end trace 0000000000000000 ]--- [ 211.415334][ T35] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 211.421454][ T35] Code: fd 90 0f 0b e8 8f 67 78 fd 90 0f 0b e8 87 67 78 fd 90 0f 0b e8 7f 67 78 fd 90 0f 0b e8 77 67 78 fd 90 0f 0b e8 6f 67 78 fd 90 <0f> 0b e8 67 67 78 fd 90 0f 0b e8 5f 67 78 fd 90 0f 0b e8 57 67 78 [ 211.441133][ T35] RSP: 0018:ffffc90000ab76c0 EFLAGS: 00010293 [ 211.447242][ T35] RAX: ffffffff841c7241 RBX: 0000000000000000 RCX: ffff888020690000 [ 211.455244][ T35] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 211.463296][ T35] RBP: ffffc90000ab7890 R08: ffffffff841c1578 R09: 1ffff1100dfd94a8 [ 211.471276][ T35] R10: dffffc0000000000 R11: ffffed100dfd94a9 R12: ffff88806fe80000 [ 211.479299][ T35] R13: ffff88806feca500 R14: 0000000000000044 R15: ffff888070aac0d0 [ 211.487327][ T35] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 211.496297][ T35] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 211.502921][ T35] CR2: 00007ffc47dadff8 CR3: 0000000033bca000 CR4: 00000000003526f0 [ 211.510897][ T35] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 211.519021][ T35] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 211.527105][ T35] Kernel panic - not syncing: Fatal exception [ 211.533412][ T35] Kernel Offset: disabled [ 211.537773][ T35] Rebooting in 86400 seconds..