./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1990081179 <...> Warning: Permanently added '10.128.0.173' (ED25519) to the list of known hosts. execve("./syz-executor1990081179", ["./syz-executor1990081179"], 0x7ffc2263dda0 /* 10 vars */) = 0 brk(NULL) = 0x555582790000 brk(0x555582790d00) = 0x555582790d00 arch_prctl(ARCH_SET_FS, 0x555582790380) = 0 set_tid_address(0x555582790650) = 5858 set_robust_list(0x555582790660, 24) = 0 rseq(0x555582790ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1990081179", 4096) = 28 getrandom("\x23\xac\x96\x41\x53\xb6\xdf\x09", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555582790d00 brk(0x5555827b1d00) = 0x5555827b1d00 brk(0x5555827b2000) = 0x5555827b2000 mprotect(0x7f8f446e2000, 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.ORrfat", 0700) = 0 chmod("./syzkaller.ORrfat", 0777) = 0 chdir("./syzkaller.ORrfat") = 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 5860 attached , child_tidptr=0x555582790650) = 5860 [pid 5860] set_robust_list(0x555582790660, 24) = 0 [pid 5860] chdir("./0") = 0 [pid 5860] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5860] setpgid(0, 0) = 0 [pid 5860] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5860] write(3, "1000", 4) = 4 [pid 5860] close(3) = 0 [pid 5860] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5860] write(1, "executing program\n", 18) = 18 [pid 5860] memfd_create("syzkaller", 0) = 3 [pid 5860] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5860] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5860] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5860] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5860] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5860] close(3) = 0 [pid 5860] close(4) = 0 [pid 5860] mkdir("./file1", 0777) = 0 [ 307.431276][ T5860] loop0: detected capacity change from 0 to 32768 [ 307.507075][ T5860] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 307.527463][ T5860] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 307.535823][ T5860] bcachefs (loop0): Version upgrade required: [ 307.535823][ T5860] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 307.535823][ T5860] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 307.535823][ T5860] 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 [ 307.609370][ T5860] bcachefs (loop0): dropping and reconstructing all alloc info [ 307.626551][ T5860] bcachefs (loop0): accounting_read... done [ 307.633063][ T5860] bcachefs (loop0): alloc_read... done [ 307.638626][ T5860] bcachefs (loop0): stripes_read... done [ 307.644340][ T5860] bcachefs (loop0): snapshots_read... done [pid 5860] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5860] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5860] chdir("./file1") = 0 [pid 5860] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 307.650388][ T5860] bcachefs (loop0): check_allocations... done [ 307.669732][ T5860] bcachefs (loop0): going read-write [ 307.679291][ T5860] bcachefs (loop0): done starting filesystem [pid 5860] ioctl(4, LOOP_CLR_FD) = 0 [pid 5860] close(4) = 0 [pid 5860] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5860] exit_group(0) = ? [pid 5860] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5860, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 307.750132][ T5860] syz-executor199 (5860) used greatest stack depth: 18448 bytes left getdents64(3, 0x5555827916f0 /* 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 [ 307.849710][ T5858] bcachefs (loop0): shutting down [ 307.855066][ T5858] bcachefs (loop0): going read-only [ 307.860450][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 307.870072][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 307.897962][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 307.910955][ T35] bcachefs (loop0): fatal error - emergency read only [ 307.918878][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 307.928731][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 307.936696][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 307.955905][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./0/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5871 attached [pid 5871] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 5871 [pid 5871] <... set_robust_list resumed>) = 0 [pid 5871] chdir("./1") = 0 [pid 5871] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5871] setpgid(0, 0) = 0 [pid 5871] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5871] write(3, "1000", 4) = 4 [pid 5871] close(3) = 0 [pid 5871] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5871] write(1, "executing program\n", 18) = 18 [pid 5871] memfd_create("syzkaller", 0) = 3 [pid 5871] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5871] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5871] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5871] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5871] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5871] close(3) = 0 [pid 5871] close(4) = 0 [pid 5871] mkdir("./file1", 0777) = 0 [ 309.481496][ T5871] loop0: detected capacity change from 0 to 32768 [ 309.546823][ T5871] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 309.567090][ T5871] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 309.575267][ T5871] bcachefs (loop0): Version upgrade required: [ 309.575267][ T5871] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 309.575267][ T5871] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 309.575267][ T5871] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 309.647417][ T5871] bcachefs (loop0): dropping and reconstructing all alloc info [ 309.662851][ T5871] bcachefs (loop0): accounting_read... done [ 309.669140][ T5871] bcachefs (loop0): alloc_read... done [ 309.674741][ T5871] bcachefs (loop0): stripes_read... done [ 309.680439][ T5871] bcachefs (loop0): snapshots_read... done [pid 5871] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5871] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5871] chdir("./file1") = 0 [pid 5871] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5871] ioctl(4, LOOP_CLR_FD) = 0 [ 309.686534][ T5871] bcachefs (loop0): check_allocations... done [ 309.704306][ T5871] bcachefs (loop0): going read-write [ 309.712113][ T5871] bcachefs (loop0): done starting filesystem [pid 5871] close(4) = 0 [pid 5871] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5871] exit_group(0) = ? [pid 5871] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5871, 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("./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, 0x5555827916f0 /* 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 [ 309.791934][ T5858] bcachefs (loop0): shutting down [ 309.797452][ T5858] bcachefs (loop0): going read-only [ 309.802643][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 309.810776][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 309.835082][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 309.847988][ T11] bcachefs (loop0): fatal error - emergency read only [ 309.855189][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 309.865011][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 309.872456][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 309.888489][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./1/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5882 attached [pid 5882] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 5882 [pid 5882] <... set_robust_list resumed>) = 0 [pid 5882] chdir("./2") = 0 [pid 5882] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5882] setpgid(0, 0) = 0 [pid 5882] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5882] write(3, "1000", 4) = 4 [pid 5882] close(3) = 0 [pid 5882] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5882] write(1, "executing program\n", 18executing program ) = 18 [pid 5882] memfd_create("syzkaller", 0) = 3 [pid 5882] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5882] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5882] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5882] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5882] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5882] close(3) = 0 [pid 5882] close(4) = 0 [pid 5882] mkdir("./file1", 0777) = 0 [ 311.233609][ T5882] loop0: detected capacity change from 0 to 32768 [ 311.301109][ T5882] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 311.321725][ T5882] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 311.329859][ T5882] bcachefs (loop0): Version upgrade required: [ 311.329859][ T5882] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 311.329859][ T5882] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 311.329859][ T5882] 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 [ 311.402247][ T5882] bcachefs (loop0): dropping and reconstructing all alloc info [ 311.417198][ T5882] bcachefs (loop0): accounting_read... done [ 311.424009][ T5882] bcachefs (loop0): alloc_read... done [ 311.429512][ T5882] bcachefs (loop0): stripes_read... done [ 311.435258][ T5882] bcachefs (loop0): snapshots_read... done [pid 5882] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5882] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5882] chdir("./file1") = 0 [pid 5882] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5882] ioctl(4, LOOP_CLR_FD) = 0 [ 311.441170][ T5882] bcachefs (loop0): check_allocations... done [ 311.457978][ T5882] bcachefs (loop0): going read-write [ 311.466182][ T5882] bcachefs (loop0): done starting filesystem [pid 5882] close(4) = 0 [pid 5882] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5882] exit_group(0) = ? [pid 5882] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5882, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=20 /* 0.20 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, 0x5555827916f0 /* 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 [ 311.640590][ T5858] bcachefs (loop0): shutting down [ 311.645799][ T5858] bcachefs (loop0): going read-only [ 311.650995][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 311.659451][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 311.681896][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 311.694995][ T2964] bcachefs (loop0): fatal error - emergency read only [ 311.702025][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 311.711991][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 311.719491][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 311.735862][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./2/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5894 attached , child_tidptr=0x555582790650) = 5894 [pid 5894] set_robust_list(0x555582790660, 24) = 0 [pid 5894] chdir("./3") = 0 [pid 5894] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5894] setpgid(0, 0) = 0 [pid 5894] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5894] write(3, "1000", 4) = 4 [pid 5894] close(3) = 0 [pid 5894] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5894] write(1, "executing program\n", 18) = 18 [pid 5894] memfd_create("syzkaller", 0) = 3 [pid 5894] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5894] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5894] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5894] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5894] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5894] close(3) = 0 [pid 5894] close(4) = 0 [pid 5894] mkdir("./file1", 0777) = 0 [ 313.007710][ T5894] loop0: detected capacity change from 0 to 32768 [ 313.076886][ T5894] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 313.097257][ T5894] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 313.106112][ T5894] bcachefs (loop0): Version upgrade required: [ 313.106112][ T5894] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 313.106112][ T5894] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 313.106112][ T5894] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 313.178167][ T5894] bcachefs (loop0): dropping and reconstructing all alloc info [ 313.193343][ T5894] bcachefs (loop0): accounting_read... done [ 313.199798][ T5894] bcachefs (loop0): alloc_read... done [ 313.205434][ T5894] bcachefs (loop0): stripes_read... done [ 313.211123][ T5894] bcachefs (loop0): snapshots_read... done [pid 5894] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5894] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5894] chdir("./file1") = 0 [pid 5894] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5894] ioctl(4, LOOP_CLR_FD) = 0 [ 313.217060][ T5894] bcachefs (loop0): check_allocations... done [ 313.234358][ T5894] bcachefs (loop0): going read-write [ 313.242647][ T5894] bcachefs (loop0): done starting filesystem [pid 5894] close(4) = 0 [pid 5894] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5894] exit_group(0) = ? [pid 5894] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5894, 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("./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, 0x5555827916f0 /* 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 [ 313.399138][ T5858] bcachefs (loop0): shutting down [ 313.404313][ T5858] bcachefs (loop0): going read-only [ 313.409525][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 313.416982][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 313.438803][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 313.451991][ T11] bcachefs (loop0): fatal error - emergency read only [ 313.459408][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 313.469160][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 313.476811][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 313.492673][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./3/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5905 attached , child_tidptr=0x555582790650) = 5905 [pid 5905] set_robust_list(0x555582790660, 24) = 0 [pid 5905] chdir("./4") = 0 [pid 5905] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5905] setpgid(0, 0) = 0 [pid 5905] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5905] write(3, "1000", 4) = 4 [pid 5905] close(3) = 0 [pid 5905] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5905] write(1, "executing program\n", 18) = 18 [pid 5905] memfd_create("syzkaller", 0) = 3 [pid 5905] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5905] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5905] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5905] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5905] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5905] close(3) = 0 [pid 5905] close(4) = 0 [pid 5905] mkdir("./file1", 0777) = 0 [ 314.811043][ T5905] loop0: detected capacity change from 0 to 32768 [ 314.869773][ T5905] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 314.889979][ T5905] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 314.898068][ T5905] bcachefs (loop0): Version upgrade required: [ 314.898068][ T5905] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 314.898068][ T5905] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 314.898068][ T5905] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 314.970023][ T5905] bcachefs (loop0): dropping and reconstructing all alloc info [ 314.985253][ T5905] bcachefs (loop0): accounting_read... done [ 314.991691][ T5905] bcachefs (loop0): alloc_read... done [ 314.997752][ T5905] bcachefs (loop0): stripes_read... done [ 315.003497][ T5905] bcachefs (loop0): snapshots_read... done [pid 5905] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5905] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5905] chdir("./file1") = 0 [pid 5905] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 315.009442][ T5905] bcachefs (loop0): check_allocations... done [ 315.027099][ T5905] bcachefs (loop0): going read-write [ 315.035897][ T5905] bcachefs (loop0): done starting filesystem [pid 5905] ioctl(4, LOOP_CLR_FD) = 0 [pid 5905] close(4) = 0 [pid 5905] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5905] exit_group(0) = ? [pid 5905] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5905, 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("./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, 0x5555827916f0 /* 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 [ 315.198221][ T5858] bcachefs (loop0): shutting down [ 315.203278][ T5858] bcachefs (loop0): going read-only [ 315.208751][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 315.216417][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 315.239474][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 315.252325][ T35] bcachefs (loop0): fatal error - emergency read only [ 315.259663][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 315.269488][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 315.277150][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 315.292595][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./4/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5916 attached [pid 5916] set_robust_list(0x555582790660, 24) = 0 [pid 5916] chdir("./5" [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 5916 [pid 5916] <... chdir resumed>) = 0 [pid 5916] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5916] setpgid(0, 0) = 0 [pid 5916] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5916] write(3, "1000", 4) = 4 [pid 5916] close(3) = 0 [pid 5916] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5916] write(1, "executing program\n", 18executing program ) = 18 [pid 5916] memfd_create("syzkaller", 0) = 3 [pid 5916] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5916] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5916] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5916] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5916] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5916] close(3) = 0 [pid 5916] close(4) = 0 [pid 5916] mkdir("./file1", 0777) = 0 [ 316.629047][ T5916] loop0: detected capacity change from 0 to 32768 [ 316.696514][ T5916] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 316.716597][ T5916] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 316.725128][ T5916] bcachefs (loop0): Version upgrade required: [ 316.725128][ T5916] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 316.725128][ T5916] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 316.725128][ T5916] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 316.797051][ T5916] bcachefs (loop0): dropping and reconstructing all alloc info [ 316.811479][ T5916] bcachefs (loop0): accounting_read... done [ 316.817840][ T5916] bcachefs (loop0): alloc_read... done [ 316.823387][ T5916] bcachefs (loop0): stripes_read... done [ 316.829190][ T5916] bcachefs (loop0): snapshots_read... done [pid 5916] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5916] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5916] chdir("./file1") = 0 [pid 5916] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5916] ioctl(4, LOOP_CLR_FD) = 0 [pid 5916] close(4) = 0 [pid 5916] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5916] exit_group(0) = ? [pid 5916] +++ exited with 0 +++ [ 316.835301][ T5916] bcachefs (loop0): check_allocations... done [ 316.852756][ T5916] bcachefs (loop0): going read-write [ 316.861649][ T5916] bcachefs (loop0): done starting filesystem --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5916, 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("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 316.908671][ T5916] syz-executor199 (5916) used greatest stack depth: 18208 bytes left newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 317.036343][ T5858] bcachefs (loop0): shutting down [ 317.041396][ T5858] bcachefs (loop0): going read-only [ 317.046851][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 317.054360][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 317.076434][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 317.089251][ T2964] bcachefs (loop0): fatal error - emergency read only [ 317.096472][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 317.106355][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 317.114098][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 317.130254][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./5/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5927 attached [pid 5927] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 5927 [pid 5927] <... set_robust_list resumed>) = 0 [pid 5927] chdir("./6") = 0 [pid 5927] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5927] setpgid(0, 0) = 0 [pid 5927] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5927] write(3, "1000", 4) = 4 [pid 5927] close(3) = 0 [pid 5927] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5927] write(1, "executing program\n", 18) = 18 [pid 5927] memfd_create("syzkaller", 0) = 3 [pid 5927] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5927] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5927] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5927] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5927] close(3) = 0 [pid 5927] close(4) = 0 [pid 5927] mkdir("./file1", 0777) = 0 [ 318.438071][ T5927] loop0: detected capacity change from 0 to 32768 [ 318.506579][ T5927] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 318.527076][ T5927] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 318.535181][ T5927] bcachefs (loop0): Version upgrade required: [ 318.535181][ T5927] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 318.535181][ T5927] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 318.535181][ T5927] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 318.607213][ T5927] bcachefs (loop0): dropping and reconstructing all alloc info [ 318.621645][ T5927] bcachefs (loop0): accounting_read... done [ 318.627821][ T5927] bcachefs (loop0): alloc_read... done [ 318.633349][ T5927] bcachefs (loop0): stripes_read... done [ 318.639064][ T5927] bcachefs (loop0): snapshots_read... done [pid 5927] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5927] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5927] chdir("./file1") = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 318.645167][ T5927] bcachefs (loop0): check_allocations... done [ 318.662922][ T5927] bcachefs (loop0): going read-write [ 318.671029][ T5927] bcachefs (loop0): done starting filesystem [pid 5927] ioctl(4, LOOP_CLR_FD) = 0 [pid 5927] close(4) = 0 [pid 5927] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5927] exit_group(0) = ? [pid 5927] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5927, 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("./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, 0x5555827916f0 /* 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 [ 318.761589][ T5858] bcachefs (loop0): shutting down [ 318.766877][ T5858] bcachefs (loop0): going read-only [ 318.772096][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 318.779910][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 318.802771][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 318.815606][ T11] bcachefs (loop0): fatal error - emergency read only [ 318.822659][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 318.832621][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 318.840520][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 318.856724][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./6/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5939 attached , child_tidptr=0x555582790650) = 5939 [pid 5939] set_robust_list(0x555582790660, 24) = 0 [pid 5939] chdir("./7") = 0 [pid 5939] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5939] setpgid(0, 0) = 0 [pid 5939] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5939] write(3, "1000", 4) = 4 [pid 5939] close(3) = 0 [pid 5939] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5939] write(1, "executing program\n", 18executing program ) = 18 [pid 5939] memfd_create("syzkaller", 0) = 3 [pid 5939] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5939] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5939] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5939] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5939] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5939] close(3) = 0 [pid 5939] close(4) = 0 [pid 5939] mkdir("./file1", 0777) = 0 [ 320.166748][ T5939] loop0: detected capacity change from 0 to 32768 [ 320.234410][ T5939] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 320.254527][ T5939] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 320.262619][ T5939] bcachefs (loop0): Version upgrade required: [ 320.262619][ T5939] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 320.262619][ T5939] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 320.262619][ T5939] 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 [ 320.335448][ T5939] bcachefs (loop0): dropping and reconstructing all alloc info [ 320.349751][ T5939] bcachefs (loop0): accounting_read... done [ 320.355952][ T5939] bcachefs (loop0): alloc_read... done [ 320.361500][ T5939] bcachefs (loop0): stripes_read... done [ 320.367258][ T5939] bcachefs (loop0): snapshots_read... done [pid 5939] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5939] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5939] chdir("./file1") = 0 [pid 5939] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 320.373280][ T5939] bcachefs (loop0): check_allocations... done [ 320.390452][ T5939] bcachefs (loop0): going read-write [ 320.398348][ T5939] bcachefs (loop0): done starting filesystem [pid 5939] ioctl(4, LOOP_CLR_FD) = 0 [pid 5939] close(4) = 0 [pid 5939] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5939] exit_group(0) = ? [pid 5939] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5939, 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, 0x5555827916f0 /* 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 [ 320.588992][ T5858] bcachefs (loop0): shutting down [ 320.594171][ T5858] bcachefs (loop0): going read-only [ 320.599361][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 320.607426][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 320.629251][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 320.642402][ T2964] bcachefs (loop0): fatal error - emergency read only [ 320.649788][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 320.659902][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 320.667744][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 320.682768][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./7/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5951 attached [pid 5951] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 5951 [pid 5951] <... set_robust_list resumed>) = 0 [pid 5951] chdir("./8") = 0 [pid 5951] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5951] setpgid(0, 0) = 0 [pid 5951] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5951] write(3, "1000", 4) = 4 [pid 5951] close(3) = 0 [pid 5951] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5951] write(1, "executing program\n", 18executing program ) = 18 [pid 5951] memfd_create("syzkaller", 0) = 3 [pid 5951] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5951] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5951] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5951] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5951] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5951] close(3) = 0 [pid 5951] close(4) = 0 [pid 5951] mkdir("./file1", 0777) = 0 [ 322.133049][ T5951] loop0: detected capacity change from 0 to 32768 [ 322.199405][ T5951] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 322.219713][ T5951] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 322.227893][ T5951] bcachefs (loop0): Version upgrade required: [ 322.227893][ T5951] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 322.227893][ T5951] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 322.227893][ T5951] 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 [ 322.299808][ T5951] bcachefs (loop0): dropping and reconstructing all alloc info [ 322.314369][ T5951] bcachefs (loop0): accounting_read... done [ 322.320428][ T5951] bcachefs (loop0): alloc_read... done [ 322.326079][ T5951] bcachefs (loop0): stripes_read... done [ 322.331814][ T5951] bcachefs (loop0): snapshots_read... done [pid 5951] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5951] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5951] chdir("./file1") = 0 [pid 5951] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5951] ioctl(4, LOOP_CLR_FD) = 0 [pid 5951] close(4) = 0 [pid 5951] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5951] exit_group(0) = ? [pid 5951] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5951, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- [ 322.337906][ T5951] bcachefs (loop0): check_allocations... done [ 322.354697][ T5951] bcachefs (loop0): going read-write [ 322.362759][ T5951] bcachefs (loop0): done starting filesystem 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, 0x5555827916f0 /* 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 [ 322.440147][ T5858] bcachefs (loop0): shutting down [ 322.445593][ T5858] bcachefs (loop0): going read-only [ 322.450795][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 322.458658][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 322.480999][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 322.493870][ T11] bcachefs (loop0): fatal error - emergency read only [ 322.500874][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 322.510912][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 322.518669][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 322.541565][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./8/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5962 attached , child_tidptr=0x555582790650) = 5962 [pid 5962] set_robust_list(0x555582790660, 24) = 0 [pid 5962] chdir("./9") = 0 [pid 5962] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5962] setpgid(0, 0) = 0 [pid 5962] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5962] write(3, "1000", 4) = 4 [pid 5962] close(3) = 0 [pid 5962] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5962] write(1, "executing program\n", 18executing program ) = 18 [pid 5962] memfd_create("syzkaller", 0) = 3 [pid 5962] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5962] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5962] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5962] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5962] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5962] close(3) = 0 [pid 5962] close(4) = 0 [pid 5962] mkdir("./file1", 0777) = 0 [ 323.840628][ T5962] loop0: detected capacity change from 0 to 32768 [ 323.915951][ T5962] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 323.936305][ T5962] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 323.944701][ T5962] bcachefs (loop0): Version upgrade required: [ 323.944701][ T5962] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 323.944701][ T5962] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 323.944701][ T5962] 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 [ 324.017277][ T5962] bcachefs (loop0): dropping and reconstructing all alloc info [ 324.033250][ T5962] bcachefs (loop0): accounting_read... done [ 324.039459][ T5962] bcachefs (loop0): alloc_read... done [ 324.045066][ T5962] bcachefs (loop0): stripes_read... done [ 324.050751][ T5962] bcachefs (loop0): snapshots_read... done [pid 5962] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5962] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5962] chdir("./file1") = 0 [ 324.056769][ T5962] bcachefs (loop0): check_allocations... done [ 324.075106][ T5962] bcachefs (loop0): going read-write [ 324.083270][ T5962] bcachefs (loop0): done starting filesystem [pid 5962] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5962] ioctl(4, LOOP_CLR_FD) = 0 [pid 5962] close(4) = 0 [pid 5962] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5962] exit_group(0) = ? [pid 5962] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5962, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=24 /* 0.24 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, 0x5555827916f0 /* 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 [ 324.274524][ T5858] bcachefs (loop0): shutting down [ 324.279571][ T5858] bcachefs (loop0): going read-only [ 324.285034][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 324.292800][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 324.314614][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 324.327526][ T11] bcachefs (loop0): fatal error - emergency read only [ 324.334666][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 324.344474][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 324.351921][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 324.367733][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./9/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5973 attached [pid 5973] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 5973 [pid 5973] <... set_robust_list resumed>) = 0 [pid 5973] chdir("./10") = 0 [pid 5973] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5973] setpgid(0, 0) = 0 [pid 5973] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5973] write(3, "1000", 4) = 4 [pid 5973] close(3) = 0 [pid 5973] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5973] write(1, "executing program\n", 18) = 18 [pid 5973] memfd_create("syzkaller", 0) = 3 [pid 5973] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5973] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5973] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5973] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5973] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5973] close(3) = 0 [pid 5973] close(4) = 0 [pid 5973] mkdir("./file1", 0777) = 0 [ 325.686805][ T5973] loop0: detected capacity change from 0 to 32768 [ 325.752857][ T5973] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 325.772946][ T5973] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 325.781455][ T5973] bcachefs (loop0): Version upgrade required: [ 325.781455][ T5973] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 325.781455][ T5973] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 325.781455][ T5973] 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 [ 325.853384][ T5973] bcachefs (loop0): dropping and reconstructing all alloc info [ 325.868995][ T5973] bcachefs (loop0): accounting_read... done [ 325.875175][ T5973] bcachefs (loop0): alloc_read... done [ 325.880711][ T5973] bcachefs (loop0): stripes_read... done [ 325.886417][ T5973] bcachefs (loop0): snapshots_read... done [pid 5973] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5973] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5973] chdir("./file1") = 0 [ 325.892359][ T5973] bcachefs (loop0): check_allocations... done [ 325.909693][ T5973] bcachefs (loop0): going read-write [ 325.918233][ T5973] bcachefs (loop0): done starting filesystem [pid 5973] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5973] ioctl(4, LOOP_CLR_FD) = 0 [pid 5973] close(4) = 0 [pid 5973] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5973] exit_group(0) = ? [pid 5973] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5973, si_uid=0, si_status=0, si_utime=0, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x5555827916f0 /* 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 [ 326.109617][ T5858] bcachefs (loop0): shutting down [ 326.114794][ T5858] bcachefs (loop0): going read-only [ 326.119993][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 326.127858][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 326.150330][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 326.163262][ T11] bcachefs (loop0): fatal error - emergency read only [ 326.171482][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 326.181202][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 326.189200][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 326.205128][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./10/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5984 attached , child_tidptr=0x555582790650) = 5984 [pid 5984] set_robust_list(0x555582790660, 24) = 0 [pid 5984] chdir("./11") = 0 [pid 5984] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5984] setpgid(0, 0) = 0 [pid 5984] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5984] write(3, "1000", 4) = 4 [pid 5984] close(3) = 0 [pid 5984] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5984] write(1, "executing program\n", 18executing program ) = 18 [pid 5984] memfd_create("syzkaller", 0) = 3 [pid 5984] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5984] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5984] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5984] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5984] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5984] close(3) = 0 [pid 5984] close(4) = 0 [pid 5984] mkdir("./file1", 0777) = 0 [ 327.580846][ T5984] loop0: detected capacity change from 0 to 32768 [ 327.669003][ T5984] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 327.689236][ T5984] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 327.697386][ T5984] bcachefs (loop0): Version upgrade required: [ 327.697386][ T5984] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 327.697386][ T5984] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 327.697386][ T5984] 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 [ 327.769486][ T5984] bcachefs (loop0): dropping and reconstructing all alloc info [ 327.784958][ T5984] bcachefs (loop0): accounting_read... done [ 327.791035][ T5984] bcachefs (loop0): alloc_read... done [ 327.796639][ T5984] bcachefs (loop0): stripes_read... done [ 327.802350][ T5984] bcachefs (loop0): snapshots_read... done [pid 5984] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5984] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5984] chdir("./file1") = 0 [pid 5984] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5984] ioctl(4, LOOP_CLR_FD) = 0 [ 327.808431][ T5984] bcachefs (loop0): check_allocations... done [ 327.825698][ T5984] bcachefs (loop0): going read-write [ 327.834584][ T5984] bcachefs (loop0): done starting filesystem [pid 5984] close(4) = 0 [pid 5984] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5984] exit_group(0) = ? [pid 5984] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5984, 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("./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, 0x5555827916f0 /* 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 [ 327.918181][ T5858] bcachefs (loop0): shutting down [ 327.923230][ T5858] bcachefs (loop0): going read-only [ 327.928690][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 327.936236][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 327.958634][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 327.971645][ T5950] bcachefs (loop0): fatal error - emergency read only [ 327.978825][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 327.988866][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 327.996624][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 328.011855][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./11/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 5995 attached [pid 5995] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 5995 [pid 5995] chdir("./12") = 0 [pid 5995] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5995] setpgid(0, 0) = 0 [pid 5995] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5995] write(3, "1000", 4) = 4 [pid 5995] close(3) = 0 [pid 5995] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5995] write(1, "executing program\n", 18executing program ) = 18 [pid 5995] memfd_create("syzkaller", 0) = 3 [pid 5995] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 5995] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5995] munmap(0x7f8f3c200000, 138412032) = 0 [pid 5995] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5995] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5995] close(3) = 0 [pid 5995] close(4) = 0 [pid 5995] mkdir("./file1", 0777) = 0 [ 329.446744][ T5995] loop0: detected capacity change from 0 to 32768 [ 329.525197][ T5995] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 329.545265][ T5995] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 329.553261][ T5995] bcachefs (loop0): Version upgrade required: [ 329.553261][ T5995] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 329.553261][ T5995] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 329.553261][ T5995] 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 [ 329.625338][ T5995] bcachefs (loop0): dropping and reconstructing all alloc info [ 329.640705][ T5995] bcachefs (loop0): accounting_read... done [ 329.647091][ T5995] bcachefs (loop0): alloc_read... done [ 329.652631][ T5995] bcachefs (loop0): stripes_read... done [ 329.658606][ T5995] bcachefs (loop0): snapshots_read... done [pid 5995] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 5995] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5995] chdir("./file1") = 0 [pid 5995] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 329.664589][ T5995] bcachefs (loop0): check_allocations... done [ 329.681209][ T5995] bcachefs (loop0): going read-write [ 329.690040][ T5995] bcachefs (loop0): done starting filesystem [pid 5995] ioctl(4, LOOP_CLR_FD) = 0 [pid 5995] close(4) = 0 [pid 5995] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 5995] exit_group(0) = ? [pid 5995] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5995, 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("./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, 0x5555827916f0 /* 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 [ 329.874430][ T5858] bcachefs (loop0): shutting down [ 329.879531][ T5858] bcachefs (loop0): going read-only [ 329.885255][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 329.892552][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 329.914489][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 329.927637][ T11] bcachefs (loop0): fatal error - emergency read only [ 329.934888][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 329.944719][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 329.952168][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 329.967400][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./12/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6006 attached [pid 6006] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6006 [pid 6006] <... set_robust_list resumed>) = 0 [pid 6006] chdir("./13") = 0 [pid 6006] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6006] setpgid(0, 0) = 0 [pid 6006] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6006] write(3, "1000", 4) = 4 [pid 6006] close(3) = 0 [pid 6006] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6006] write(1, "executing program\n", 18executing program ) = 18 [pid 6006] memfd_create("syzkaller", 0) = 3 [pid 6006] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6006] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6006] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6006] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6006] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6006] close(3) = 0 [pid 6006] close(4) = 0 [pid 6006] mkdir("./file1", 0777) = 0 [ 331.262277][ T6006] loop0: detected capacity change from 0 to 32768 [ 331.335489][ T6006] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 331.355672][ T6006] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 331.363807][ T6006] bcachefs (loop0): Version upgrade required: [ 331.363807][ T6006] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 331.363807][ T6006] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 331.363807][ T6006] 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 [ 331.436171][ T6006] bcachefs (loop0): dropping and reconstructing all alloc info [ 331.450410][ T6006] bcachefs (loop0): accounting_read... done [ 331.456661][ T6006] bcachefs (loop0): alloc_read... done [ 331.462181][ T6006] bcachefs (loop0): stripes_read... done [ 331.467993][ T6006] bcachefs (loop0): snapshots_read... done [pid 6006] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6006] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6006] chdir("./file1") = 0 [pid 6006] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6006] ioctl(4, LOOP_CLR_FD) = 0 [pid 6006] close(4) = 0 [pid 6006] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6006] exit_group(0) = ? [pid 6006] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6006, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 331.473972][ T6006] bcachefs (loop0): check_allocations... done [ 331.490429][ T6006] bcachefs (loop0): going read-write [ 331.498919][ T6006] bcachefs (loop0): done starting filesystem [ 331.546975][ T5858] bcachefs (loop0): shutting down [ 331.552027][ T5858] bcachefs (loop0): going read-only [ 331.557742][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 331.566118][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 331.588407][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 331.601281][ T5950] bcachefs (loop0): fatal error - emergency read only [ 331.609292][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 331.619210][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 331.626972][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 331.643027][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./13/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6017 attached , child_tidptr=0x555582790650) = 6017 [pid 6017] set_robust_list(0x555582790660, 24) = 0 [pid 6017] chdir("./14") = 0 [pid 6017] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6017] setpgid(0, 0) = 0 [pid 6017] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6017] write(3, "1000", 4) = 4 [pid 6017] close(3) = 0 [pid 6017] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6017] write(1, "executing program\n", 18executing program ) = 18 [pid 6017] memfd_create("syzkaller", 0) = 3 [pid 6017] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6017] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6017] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6017] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6017] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6017] close(3) = 0 [pid 6017] close(4) = 0 [pid 6017] mkdir("./file1", 0777) = 0 [ 332.955279][ T6017] loop0: detected capacity change from 0 to 32768 [ 333.039628][ T6017] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 333.059704][ T6017] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 333.067811][ T6017] bcachefs (loop0): Version upgrade required: [ 333.067811][ T6017] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 333.067811][ T6017] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 333.067811][ T6017] 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 [ 333.140124][ T6017] bcachefs (loop0): dropping and reconstructing all alloc info [ 333.154640][ T6017] bcachefs (loop0): accounting_read... done [ 333.160723][ T6017] bcachefs (loop0): alloc_read... done [ 333.166363][ T6017] bcachefs (loop0): stripes_read... done [ 333.172097][ T6017] bcachefs (loop0): snapshots_read... done [pid 6017] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6017] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6017] chdir("./file1") = 0 [pid 6017] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 333.178082][ T6017] bcachefs (loop0): check_allocations... done [ 333.195435][ T6017] bcachefs (loop0): going read-write [ 333.203941][ T6017] bcachefs (loop0): done starting filesystem [pid 6017] ioctl(4, LOOP_CLR_FD) = 0 [pid 6017] close(4) = 0 [pid 6017] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6017] exit_group(0) = ? [pid 6017] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6017, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 333.385055][ T5858] bcachefs (loop0): shutting down [ 333.390238][ T5858] bcachefs (loop0): going read-only [ 333.395761][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 333.403145][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 333.424728][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 333.437898][ T11] bcachefs (loop0): fatal error - emergency read only [ 333.445510][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 333.455264][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 333.462717][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 333.478991][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./14/file1") = 0 getdents64(3, 0x5555827916f0 /* 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, child_tidptr=0x555582790650) = 6028 ./strace-static-x86_64: Process 6028 attached [pid 6028] set_robust_list(0x555582790660, 24) = 0 [pid 6028] chdir("./15") = 0 [pid 6028] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6028] setpgid(0, 0) = 0 [pid 6028] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6028] write(3, "1000", 4) = 4 [pid 6028] close(3) = 0 [pid 6028] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6028] write(1, "executing program\n", 18) = 18 [pid 6028] memfd_create("syzkaller", 0) = 3 [pid 6028] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6028] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6028] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6028] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6028] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6028] close(3) = 0 [pid 6028] close(4) = 0 [pid 6028] mkdir("./file1", 0777) = 0 [ 334.818187][ T6028] loop0: detected capacity change from 0 to 32768 [ 334.886991][ T6028] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 334.907510][ T6028] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 334.915605][ T6028] bcachefs (loop0): Version upgrade required: [ 334.915605][ T6028] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 334.915605][ T6028] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 334.915605][ T6028] 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 [ 334.987694][ T6028] bcachefs (loop0): dropping and reconstructing all alloc info [ 335.002215][ T6028] bcachefs (loop0): accounting_read... done [ 335.008447][ T6028] bcachefs (loop0): alloc_read... done [ 335.014024][ T6028] bcachefs (loop0): stripes_read... done [ 335.019701][ T6028] bcachefs (loop0): snapshots_read... done [pid 6028] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6028] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6028] chdir("./file1") = 0 [pid 6028] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 335.025639][ T6028] bcachefs (loop0): check_allocations... done [ 335.042246][ T6028] bcachefs (loop0): going read-write [ 335.050696][ T6028] bcachefs (loop0): done starting filesystem [pid 6028] ioctl(4, LOOP_CLR_FD) = 0 [pid 6028] close(4) = 0 [pid 6028] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6028] exit_group(0) = ? [pid 6028] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6028, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=27 /* 0.27 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./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, 0x5555827916f0 /* 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 [ 335.251929][ T5858] bcachefs (loop0): shutting down [ 335.257150][ T5858] bcachefs (loop0): going read-only [ 335.262369][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 335.270078][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 335.292322][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 335.305286][ T5950] bcachefs (loop0): fatal error - emergency read only [ 335.312309][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 335.322093][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 335.329716][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 335.346387][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./15/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6039 attached , child_tidptr=0x555582790650) = 6039 [pid 6039] set_robust_list(0x555582790660, 24) = 0 [pid 6039] chdir("./16") = 0 [pid 6039] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6039] setpgid(0, 0) = 0 [pid 6039] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6039] write(3, "1000", 4) = 4 [pid 6039] close(3) = 0 [pid 6039] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6039] write(1, "executing program\n", 18) = 18 [pid 6039] memfd_create("syzkaller", 0) = 3 [pid 6039] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6039] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6039] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6039] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6039] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6039] close(3) = 0 [pid 6039] close(4) = 0 [pid 6039] mkdir("./file1", 0777) = 0 [ 336.638193][ T6039] loop0: detected capacity change from 0 to 32768 [ 336.704897][ T6039] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 336.725415][ T6039] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 336.733415][ T6039] bcachefs (loop0): Version upgrade required: [ 336.733415][ T6039] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 336.733415][ T6039] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 336.733415][ T6039] 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 [ 336.805538][ T6039] bcachefs (loop0): dropping and reconstructing all alloc info [ 336.820087][ T6039] bcachefs (loop0): accounting_read... done [ 336.826274][ T6039] bcachefs (loop0): alloc_read... done [ 336.831806][ T6039] bcachefs (loop0): stripes_read... done [ 336.837516][ T6039] bcachefs (loop0): snapshots_read... done [pid 6039] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6039] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6039] chdir("./file1") = 0 [pid 6039] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6039] ioctl(4, LOOP_CLR_FD) = 0 [ 336.843489][ T6039] bcachefs (loop0): check_allocations... done [ 336.860278][ T6039] bcachefs (loop0): going read-write [ 336.868226][ T6039] bcachefs (loop0): done starting filesystem [pid 6039] close(4) = 0 [pid 6039] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6039] exit_group(0) = ? [pid 6039] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6039, 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("./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, 0x5555827916f0 /* 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 [ 337.044263][ T5858] bcachefs (loop0): shutting down [ 337.049315][ T5858] bcachefs (loop0): going read-only [ 337.054740][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 337.062069][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 337.083822][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 337.096742][ T11] bcachefs (loop0): fatal error - emergency read only [ 337.103870][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 337.113696][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 337.121156][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 337.137876][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./16/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6050 attached , child_tidptr=0x555582790650) = 6050 [pid 6050] set_robust_list(0x555582790660, 24) = 0 [pid 6050] chdir("./17") = 0 [pid 6050] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6050] setpgid(0, 0) = 0 [pid 6050] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6050] write(3, "1000", 4) = 4 [pid 6050] close(3) = 0 [pid 6050] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6050] write(1, "executing program\n", 18executing program ) = 18 [pid 6050] memfd_create("syzkaller", 0) = 3 [pid 6050] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6050] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6050] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6050] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6050] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6050] close(3) = 0 [pid 6050] close(4) = 0 [pid 6050] mkdir("./file1", 0777) = 0 [ 338.509356][ T6050] loop0: detected capacity change from 0 to 32768 [ 338.577123][ T6050] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 338.597174][ T6050] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 338.605410][ T6050] bcachefs (loop0): Version upgrade required: [ 338.605410][ T6050] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 338.605410][ T6050] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 338.605410][ T6050] 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 [ 338.677847][ T6050] bcachefs (loop0): dropping and reconstructing all alloc info [ 338.693814][ T6050] bcachefs (loop0): accounting_read... done [ 338.699967][ T6050] bcachefs (loop0): alloc_read... done [ 338.705575][ T6050] bcachefs (loop0): stripes_read... done [ 338.711293][ T6050] bcachefs (loop0): snapshots_read... done [pid 6050] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6050] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6050] chdir("./file1") = 0 [pid 6050] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6050] ioctl(4, LOOP_CLR_FD) = 0 [pid 6050] close(4) = 0 [pid 6050] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6050] exit_group(0) = ? [pid 6050] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6050, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 338.717303][ T6050] bcachefs (loop0): check_allocations... done [ 338.734443][ T6050] bcachefs (loop0): going read-write [ 338.742710][ T6050] bcachefs (loop0): done starting filesystem 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, 0x5555827916f0 /* 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 [ 338.885767][ T5858] bcachefs (loop0): shutting down [ 338.890832][ T5858] bcachefs (loop0): going read-only [ 338.896592][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 338.905163][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 338.925894][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 338.938876][ T5950] bcachefs (loop0): fatal error - emergency read only [ 338.946099][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 338.955928][ T5858] bcachefs (loop0): unshutdown complete, journal seq 13 [ 338.963368][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 338.979052][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./17/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6061 attached , child_tidptr=0x555582790650) = 6061 [pid 6061] set_robust_list(0x555582790660, 24) = 0 [pid 6061] chdir("./18") = 0 [pid 6061] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6061] setpgid(0, 0) = 0 [pid 6061] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6061] write(3, "1000", 4) = 4 [pid 6061] close(3) = 0 [pid 6061] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6061] write(1, "executing program\n", 18) = 18 [pid 6061] memfd_create("syzkaller", 0) = 3 [pid 6061] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6061] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6061] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6061] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6061] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6061] close(3) = 0 [pid 6061] close(4) = 0 [pid 6061] mkdir("./file1", 0777) = 0 [ 340.323601][ T6061] loop0: detected capacity change from 0 to 32768 [ 340.388617][ T6061] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 340.408829][ T6061] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 340.416916][ T6061] bcachefs (loop0): Version upgrade required: [ 340.416916][ T6061] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 340.416916][ T6061] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 340.416916][ T6061] 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 [ 340.488915][ T6061] bcachefs (loop0): dropping and reconstructing all alloc info [ 340.503183][ T6061] bcachefs (loop0): accounting_read... done [ 340.509321][ T6061] bcachefs (loop0): alloc_read... done [ 340.514895][ T6061] bcachefs (loop0): stripes_read... done [ 340.520578][ T6061] bcachefs (loop0): snapshots_read... done [pid 6061] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6061] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6061] chdir("./file1") = 0 [pid 6061] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6061] ioctl(4, LOOP_CLR_FD) = 0 [pid 6061] close(4) = 0 [pid 6061] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [ 340.526550][ T6061] bcachefs (loop0): check_allocations... done [ 340.543112][ T6061] bcachefs (loop0): going read-write [ 340.551232][ T6061] bcachefs (loop0): done starting filesystem [pid 6061] exit_group(0) = ? [pid 6061] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6061, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 340.666687][ T5858] bcachefs (loop0): shutting down [ 340.671768][ T5858] bcachefs (loop0): going read-only [ 340.677302][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 340.684743][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 340.707005][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 340.719937][ T2964] bcachefs (loop0): fatal error - emergency read only [ 340.727413][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 340.737140][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 340.745053][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 340.761556][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./18/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6072 attached [pid 6072] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6072 [pid 6072] chdir("./19") = 0 [pid 6072] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6072] setpgid(0, 0) = 0 [pid 6072] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6072] write(3, "1000", 4) = 4 [pid 6072] close(3) = 0 [pid 6072] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6072] write(1, "executing program\n", 18executing program ) = 18 [pid 6072] memfd_create("syzkaller", 0) = 3 [pid 6072] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6072] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6072] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6072] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6072] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6072] close(3) = 0 [pid 6072] close(4) = 0 [pid 6072] mkdir("./file1", 0777) = 0 [ 342.127336][ T6072] loop0: detected capacity change from 0 to 32768 [ 342.194646][ T6072] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 342.214802][ T6072] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 342.222824][ T6072] bcachefs (loop0): Version upgrade required: [ 342.222824][ T6072] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 342.222824][ T6072] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 342.222824][ T6072] 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 [ 342.296781][ T6072] bcachefs (loop0): dropping and reconstructing all alloc info [ 342.310985][ T6072] bcachefs (loop0): accounting_read... done [ 342.317180][ T6072] bcachefs (loop0): alloc_read... done [ 342.322769][ T6072] bcachefs (loop0): stripes_read... done [ 342.328514][ T6072] bcachefs (loop0): snapshots_read... done [pid 6072] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6072] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6072] chdir("./file1") = 0 [pid 6072] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 342.334516][ T6072] bcachefs (loop0): check_allocations... done [ 342.352575][ T6072] bcachefs (loop0): going read-write [ 342.361351][ T6072] bcachefs (loop0): done starting filesystem [pid 6072] ioctl(4, LOOP_CLR_FD) = 0 [pid 6072] close(4) = 0 [pid 6072] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6072] exit_group(0) = ? [pid 6072] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6072, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 342.455097][ T5858] bcachefs (loop0): shutting down [ 342.460152][ T5858] bcachefs (loop0): going read-only [ 342.465906][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 342.473231][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 342.495748][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 342.508629][ T5950] bcachefs (loop0): fatal error - emergency read only [ 342.516144][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 342.526075][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 342.533850][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 342.549543][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./19/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6083 attached , child_tidptr=0x555582790650) = 6083 [pid 6083] set_robust_list(0x555582790660, 24) = 0 [pid 6083] chdir("./20") = 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) = 0x7f8f3c200000 [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(0x7f8f3c200000, 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 [ 343.821048][ T6083] loop0: detected capacity change from 0 to 32768 [ 343.890523][ T6083] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 343.911254][ T6083] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 343.919351][ T6083] bcachefs (loop0): Version upgrade required: [ 343.919351][ T6083] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 343.919351][ T6083] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 343.919351][ 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 [ 343.991315][ T6083] bcachefs (loop0): dropping and reconstructing all alloc info [ 344.005750][ T6083] bcachefs (loop0): accounting_read... done [ 344.011872][ T6083] bcachefs (loop0): alloc_read... done [ 344.017475][ T6083] bcachefs (loop0): stripes_read... done [ 344.023168][ T6083] bcachefs (loop0): snapshots_read... done [pid 6083] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 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 [ 344.029116][ T6083] bcachefs (loop0): check_allocations... done [ 344.045712][ T6083] bcachefs (loop0): going read-write [ 344.054803][ T6083] bcachefs (loop0): done starting filesystem [pid 6083] ioctl(4, LOOP_CLR_FD) = 0 [pid 6083] close(4) = 0 [pid 6083] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [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=2 /* 0.02 s */, si_stime=22 /* 0.22 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, 0x5555827916f0 /* 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 [ 344.132852][ T5858] bcachefs (loop0): shutting down [ 344.138180][ T5858] bcachefs (loop0): going read-only [ 344.143380][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 344.151258][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 344.174038][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 344.187091][ T5950] bcachefs (loop0): fatal error - emergency read only [ 344.194372][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 344.204702][ T5858] bcachefs (loop0): unshutdown complete, journal seq 13 [ 344.212223][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 344.228388][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./20/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6094 attached , child_tidptr=0x555582790650) = 6094 [pid 6094] set_robust_list(0x555582790660, 24) = 0 [pid 6094] chdir("./21") = 0 [pid 6094] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6094] setpgid(0, 0) = 0 [pid 6094] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6094] write(3, "1000", 4) = 4 [pid 6094] close(3) = 0 [pid 6094] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6094] write(1, "executing program\n", 18) = 18 [pid 6094] memfd_create("syzkaller", 0) = 3 [pid 6094] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [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(0x7f8f3c200000, 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 [ 345.564917][ T6094] loop0: detected capacity change from 0 to 32768 [ 345.630956][ T6094] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 345.651191][ T6094] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 345.659601][ T6094] bcachefs (loop0): Version upgrade required: [ 345.659601][ T6094] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 345.659601][ T6094] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 345.659601][ 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 [ 345.732657][ T6094] bcachefs (loop0): dropping and reconstructing all alloc info [ 345.747758][ T6094] bcachefs (loop0): accounting_read... done [ 345.753897][ T6094] bcachefs (loop0): alloc_read... done [ 345.759410][ T6094] bcachefs (loop0): stripes_read... done [ 345.765136][ T6094] bcachefs (loop0): snapshots_read... done [pid 6094] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6094] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6094] chdir("./file1") = 0 [pid 6094] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6094] ioctl(4, LOOP_CLR_FD) = 0 [ 345.771048][ T6094] bcachefs (loop0): check_allocations... done [ 345.787450][ T6094] bcachefs (loop0): going read-write [ 345.795559][ T6094] bcachefs (loop0): done starting filesystem [pid 6094] close(4) = 0 [pid 6094] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6094] exit_group(0) = ? [pid 6094] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6094, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 345.978229][ T5858] bcachefs (loop0): shutting down [ 345.983278][ T5858] bcachefs (loop0): going read-only [ 345.988737][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 345.996344][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 346.017970][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 346.031097][ T2964] bcachefs (loop0): fatal error - emergency read only [ 346.038531][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 346.048307][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 346.056028][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 346.073752][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./21/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6105 attached [pid 6105] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6105 [pid 6105] chdir("./22") = 0 [pid 6105] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6105] setpgid(0, 0) = 0 [pid 6105] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6105] write(3, "1000", 4) = 4 [pid 6105] close(3) = 0 [pid 6105] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6105] write(1, "executing program\n", 18) = 18 [pid 6105] memfd_create("syzkaller", 0) = 3 [pid 6105] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [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(0x7f8f3c200000, 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 [ 347.392798][ T6105] loop0: detected capacity change from 0 to 32768 [ 347.476833][ T6105] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 347.496965][ T6105] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 347.505176][ T6105] bcachefs (loop0): Version upgrade required: [ 347.505176][ T6105] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 347.505176][ T6105] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 347.505176][ 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 [ 347.577243][ T6105] bcachefs (loop0): dropping and reconstructing all alloc info [ 347.592065][ T6105] bcachefs (loop0): accounting_read... done [ 347.598289][ T6105] bcachefs (loop0): alloc_read... done [ 347.603929][ T6105] bcachefs (loop0): stripes_read... done [ 347.609608][ T6105] bcachefs (loop0): snapshots_read... done [pid 6105] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 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 [ 347.615726][ T6105] bcachefs (loop0): check_allocations... done [ 347.632321][ T6105] bcachefs (loop0): going read-write [ 347.640737][ T6105] bcachefs (loop0): done starting filesystem [pid 6105] ioctl(4, LOOP_CLR_FD) = 0 [pid 6105] close(4) = 0 [pid 6105] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6105] exit_group(0) = ? [pid 6105] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6105, si_uid=0, si_status=0, si_utime=0, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 347.832746][ T5858] bcachefs (loop0): shutting down [ 347.837969][ T5858] bcachefs (loop0): going read-only [ 347.843161][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 347.850706][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 347.872386][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 347.885433][ T11] bcachefs (loop0): fatal error - emergency read only [ 347.892453][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 347.902286][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 347.910081][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 347.925864][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./22/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6117 attached , child_tidptr=0x555582790650) = 6117 [pid 6117] set_robust_list(0x555582790660, 24) = 0 [pid 6117] chdir("./23") = 0 [pid 6117] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6117] setpgid(0, 0) = 0 [pid 6117] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6117] write(3, "1000", 4) = 4 [pid 6117] close(3) = 0 [pid 6117] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6117] write(1, "executing program\n", 18executing program ) = 18 [pid 6117] memfd_create("syzkaller", 0) = 3 [pid 6117] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6117] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6117] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6117] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6117] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6117] close(3) = 0 [pid 6117] close(4) = 0 [pid 6117] mkdir("./file1", 0777) = 0 [ 349.223681][ T6117] loop0: detected capacity change from 0 to 32768 [ 349.292158][ T6117] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 349.312271][ T6117] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 349.320742][ T6117] bcachefs (loop0): Version upgrade required: [ 349.320742][ T6117] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 349.320742][ T6117] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 349.320742][ T6117] 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 [ 349.392773][ T6117] bcachefs (loop0): dropping and reconstructing all alloc info [ 349.408672][ T6117] bcachefs (loop0): accounting_read... done [ 349.414814][ T6117] bcachefs (loop0): alloc_read... done [ 349.420346][ T6117] bcachefs (loop0): stripes_read... done [ 349.426123][ T6117] bcachefs (loop0): snapshots_read... done [pid 6117] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6117] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6117] chdir("./file1") = 0 [pid 6117] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6117] ioctl(4, LOOP_CLR_FD) = 0 [pid 6117] close(4) = 0 [pid 6117] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [ 349.432052][ T6117] bcachefs (loop0): check_allocations... done [ 349.449089][ T6117] bcachefs (loop0): going read-write [ 349.457255][ T6117] bcachefs (loop0): done starting filesystem [pid 6117] exit_group(0) = ? [pid 6117] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6117, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=27 /* 0.27 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 [ 349.504840][ T6117] syz-executor199 (6117) used greatest stack depth: 17968 bytes left getdents64(3, 0x5555827916f0 /* 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 [ 349.612384][ T5858] bcachefs (loop0): shutting down [ 349.617574][ T5858] bcachefs (loop0): going read-only [ 349.622831][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 349.630754][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 349.651912][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 349.664925][ T2964] bcachefs (loop0): fatal error - emergency read only [ 349.672120][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 349.682083][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 349.689693][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 349.706067][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./23/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6129 attached [pid 6129] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6129 [pid 6129] <... set_robust_list resumed>) = 0 [pid 6129] chdir("./24") = 0 [pid 6129] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6129] setpgid(0, 0) = 0 [pid 6129] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6129] write(3, "1000", 4) = 4 [pid 6129] close(3) = 0 [pid 6129] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6129] write(1, "executing program\n", 18) = 18 [pid 6129] memfd_create("syzkaller", 0) = 3 [pid 6129] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6129] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6129] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6129] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6129] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6129] close(3) = 0 [pid 6129] close(4) = 0 [pid 6129] mkdir("./file1", 0777) = 0 [ 351.064914][ T6129] loop0: detected capacity change from 0 to 32768 [ 351.140568][ T6129] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 351.160930][ T6129] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 351.169445][ T6129] bcachefs (loop0): Version upgrade required: [ 351.169445][ T6129] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 351.169445][ T6129] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 351.169445][ T6129] 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 [ 351.241855][ T6129] bcachefs (loop0): dropping and reconstructing all alloc info [ 351.256855][ T6129] bcachefs (loop0): accounting_read... done [ 351.262954][ T6129] bcachefs (loop0): alloc_read... done [ 351.268568][ T6129] bcachefs (loop0): stripes_read... done [ 351.274285][ T6129] bcachefs (loop0): snapshots_read... done [pid 6129] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6129] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6129] chdir("./file1") = 0 [pid 6129] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6129] ioctl(4, LOOP_CLR_FD) = 0 [pid 6129] close(4) = 0 [ 351.280160][ T6129] bcachefs (loop0): check_allocations... done [ 351.297683][ T6129] bcachefs (loop0): going read-write [ 351.306387][ T6129] bcachefs (loop0): done starting filesystem [pid 6129] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6129] exit_group(0) = ? [pid 6129] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6129, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./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, 0x5555827916f0 /* 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 [ 351.479530][ T5858] bcachefs (loop0): shutting down [ 351.484768][ T5858] bcachefs (loop0): going read-only [ 351.490004][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 351.497674][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 351.520203][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 351.533056][ T5950] bcachefs (loop0): fatal error - emergency read only [ 351.540339][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 351.550040][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 351.557765][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 351.573565][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./24/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6142 attached [pid 6142] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6142 [pid 6142] chdir("./25") = 0 [pid 6142] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6142] setpgid(0, 0) = 0 [pid 6142] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6142] write(3, "1000", 4) = 4 [pid 6142] close(3) = 0 [pid 6142] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6142] write(1, "executing program\n", 18) = 18 [pid 6142] memfd_create("syzkaller", 0) = 3 [pid 6142] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6142] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6142] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6142] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6142] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6142] close(3) = 0 [pid 6142] close(4) = 0 [pid 6142] mkdir("./file1", 0777) = 0 [ 353.009958][ T6142] loop0: detected capacity change from 0 to 32768 [ 353.071923][ T6142] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 353.092030][ T6142] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 353.100172][ T6142] bcachefs (loop0): Version upgrade required: [ 353.100172][ T6142] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 353.100172][ T6142] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 353.100172][ T6142] 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 [ 353.172304][ T6142] bcachefs (loop0): dropping and reconstructing all alloc info [ 353.186961][ T6142] bcachefs (loop0): accounting_read... done [ 353.193047][ T6142] bcachefs (loop0): alloc_read... done [ 353.198670][ T6142] bcachefs (loop0): stripes_read... done [ 353.204459][ T6142] bcachefs (loop0): snapshots_read... done [pid 6142] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6142] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6142] chdir("./file1") = 0 [pid 6142] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6142] ioctl(4, LOOP_CLR_FD) = 0 [ 353.210336][ T6142] bcachefs (loop0): check_allocations... done [ 353.227823][ T6142] bcachefs (loop0): going read-write [ 353.236753][ T6142] bcachefs (loop0): done starting filesystem [pid 6142] close(4) = 0 [pid 6142] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6142] exit_group(0) = ? [pid 6142] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6142, 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, 0x5555827916f0 /* 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 [ 353.432231][ T5858] bcachefs (loop0): shutting down [ 353.437505][ T5858] bcachefs (loop0): going read-only [ 353.442717][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 353.450335][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 353.472368][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 353.485463][ T2964] bcachefs (loop0): fatal error - emergency read only [ 353.492517][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 353.502424][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 353.510286][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 353.527651][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./25/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6155 attached , child_tidptr=0x555582790650) = 6155 [pid 6155] set_robust_list(0x555582790660, 24) = 0 [pid 6155] chdir("./26") = 0 [pid 6155] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6155] setpgid(0, 0) = 0 [pid 6155] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6155] write(3, "1000", 4) = 4 [pid 6155] close(3) = 0 [pid 6155] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6155] write(1, "executing program\n", 18) = 18 [pid 6155] memfd_create("syzkaller", 0) = 3 [pid 6155] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6155] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6155] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6155] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6155] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6155] close(3) = 0 [pid 6155] close(4) = 0 [pid 6155] mkdir("./file1", 0777) = 0 [ 354.925184][ T6155] loop0: detected capacity change from 0 to 32768 [ 354.979151][ T6155] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 354.999283][ T6155] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 355.007450][ T6155] bcachefs (loop0): Version upgrade required: [ 355.007450][ T6155] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 355.007450][ T6155] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 355.007450][ T6155] 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 [ 355.079460][ T6155] bcachefs (loop0): dropping and reconstructing all alloc info [ 355.094122][ T6155] bcachefs (loop0): accounting_read... done [ 355.100190][ T6155] bcachefs (loop0): alloc_read... done [ 355.105916][ T6155] bcachefs (loop0): stripes_read... done [ 355.111688][ T6155] bcachefs (loop0): snapshots_read... done [pid 6155] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6155] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6155] chdir("./file1") = 0 [pid 6155] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6155] ioctl(4, LOOP_CLR_FD) = 0 [pid 6155] close(4) = 0 [ 355.117651][ T6155] bcachefs (loop0): check_allocations... done [ 355.134800][ T6155] bcachefs (loop0): going read-write [ 355.143323][ T6155] bcachefs (loop0): done starting filesystem [pid 6155] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6155] exit_group(0) = ? [pid 6155] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6155, 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("./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, 0x5555827916f0 /* 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 [ 355.306900][ T5858] bcachefs (loop0): shutting down [ 355.311968][ T5858] bcachefs (loop0): going read-only [ 355.317400][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 355.324954][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 355.346797][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 355.359789][ T5950] bcachefs (loop0): fatal error - emergency read only [ 355.366997][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 355.376803][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 355.384529][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 355.400450][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./26/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6167 attached , child_tidptr=0x555582790650) = 6167 [pid 6167] set_robust_list(0x555582790660, 24) = 0 [pid 6167] chdir("./27") = 0 [pid 6167] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6167] setpgid(0, 0) = 0 [pid 6167] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6167] write(3, "1000", 4) = 4 [pid 6167] close(3) = 0 [pid 6167] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6167] write(1, "executing program\n", 18) = 18 [pid 6167] memfd_create("syzkaller", 0) = 3 [pid 6167] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6167] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6167] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6167] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6167] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6167] close(3) = 0 [pid 6167] close(4) = 0 [pid 6167] mkdir("./file1", 0777) = 0 [ 356.763739][ T6167] loop0: detected capacity change from 0 to 32768 [ 356.838596][ T6167] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 356.858703][ T6167] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 356.866824][ T6167] bcachefs (loop0): Version upgrade required: [ 356.866824][ T6167] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 356.866824][ T6167] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 356.866824][ T6167] 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 [ 356.938655][ T6167] bcachefs (loop0): dropping and reconstructing all alloc info [ 356.954166][ T6167] bcachefs (loop0): accounting_read... done [ 356.960254][ T6167] bcachefs (loop0): alloc_read... done [ 356.965832][ T6167] bcachefs (loop0): stripes_read... done [ 356.971531][ T6167] bcachefs (loop0): snapshots_read... done [pid 6167] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6167] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6167] chdir("./file1") = 0 [pid 6167] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 356.977644][ T6167] bcachefs (loop0): check_allocations... done [ 356.994924][ T6167] bcachefs (loop0): going read-write [ 357.003225][ T6167] bcachefs (loop0): done starting filesystem [pid 6167] ioctl(4, LOOP_CLR_FD) = 0 [pid 6167] close(4) = 0 [pid 6167] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6167] exit_group(0) = ? [pid 6167] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6167, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 357.208858][ T5858] bcachefs (loop0): shutting down [ 357.214060][ T5858] bcachefs (loop0): going read-only [ 357.219277][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 357.226848][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 357.248433][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 357.261106][ T11] bcachefs (loop0): fatal error - emergency read only [ 357.268777][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 357.278714][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 357.286406][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 357.301914][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./27/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6178 attached , child_tidptr=0x555582790650) = 6178 [pid 6178] set_robust_list(0x555582790660, 24) = 0 [pid 6178] chdir("./28") = 0 [pid 6178] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6178] setpgid(0, 0) = 0 [pid 6178] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6178] write(3, "1000", 4) = 4 [pid 6178] close(3) = 0 [pid 6178] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6178] write(1, "executing program\n", 18) = 18 [pid 6178] memfd_create("syzkaller", 0) = 3 [pid 6178] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6178] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6178] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6178] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6178] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6178] close(3) = 0 [pid 6178] close(4) = 0 [pid 6178] mkdir("./file1", 0777) = 0 [ 358.591037][ T6178] loop0: detected capacity change from 0 to 32768 [ 358.663225][ T6178] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 358.683905][ T6178] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 358.691922][ T6178] bcachefs (loop0): Version upgrade required: [ 358.691922][ T6178] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 358.691922][ T6178] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 358.691922][ T6178] 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 [ 358.764674][ T6178] bcachefs (loop0): dropping and reconstructing all alloc info [ 358.779116][ T6178] bcachefs (loop0): accounting_read... done [ 358.785276][ T6178] bcachefs (loop0): alloc_read... done [ 358.790820][ T6178] bcachefs (loop0): stripes_read... done [ 358.796578][ T6178] bcachefs (loop0): snapshots_read... done [pid 6178] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6178] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6178] chdir("./file1") = 0 [pid 6178] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 358.802529][ T6178] bcachefs (loop0): check_allocations... done [ 358.819080][ T6178] bcachefs (loop0): going read-write [ 358.827080][ T6178] bcachefs (loop0): done starting filesystem [pid 6178] ioctl(4, LOOP_CLR_FD) = 0 [pid 6178] close(4) = 0 [pid 6178] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6178] exit_group(0) = ? [pid 6178] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6178, 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("./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, 0x5555827916f0 /* 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 [ 358.913263][ T5858] bcachefs (loop0): shutting down [ 358.918542][ T5858] bcachefs (loop0): going read-only [ 358.924177][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 358.931576][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 358.956844][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 358.969759][ T5950] bcachefs (loop0): fatal error - emergency read only [ 358.976971][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 358.986867][ T5858] bcachefs (loop0): unshutdown complete, journal seq 13 [ 358.994781][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 359.010699][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./28/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6189 attached [pid 6189] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6189 [pid 6189] <... set_robust_list resumed>) = 0 [pid 6189] chdir("./29") = 0 [pid 6189] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6189] setpgid(0, 0) = 0 [pid 6189] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6189] write(3, "1000", 4) = 4 [pid 6189] close(3) = 0 [pid 6189] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6189] write(1, "executing program\n", 18) = 18 [pid 6189] memfd_create("syzkaller", 0) = 3 [pid 6189] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6189] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6189] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6189] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6189] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6189] close(3) = 0 [pid 6189] close(4) = 0 [pid 6189] mkdir("./file1", 0777) = 0 [ 360.470017][ T6189] loop0: detected capacity change from 0 to 32768 [ 360.543665][ T6189] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 360.564120][ T6189] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 360.572134][ T6189] bcachefs (loop0): Version upgrade required: [ 360.572134][ T6189] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 360.572134][ T6189] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 360.572134][ T6189] 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 [ 360.644605][ T6189] bcachefs (loop0): dropping and reconstructing all alloc info [ 360.659447][ T6189] bcachefs (loop0): accounting_read... done [ 360.665632][ T6189] bcachefs (loop0): alloc_read... done [ 360.671151][ T6189] bcachefs (loop0): stripes_read... done [ 360.676866][ T6189] bcachefs (loop0): snapshots_read... done [pid 6189] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6189] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6189] chdir("./file1") = 0 [pid 6189] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6189] ioctl(4, LOOP_CLR_FD) = 0 [pid 6189] close(4) = 0 [pid 6189] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6189] exit_group(0) = ? [pid 6189] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6189, 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("./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 [ 360.682797][ T6189] bcachefs (loop0): check_allocations... done [ 360.699444][ T6189] bcachefs (loop0): going read-write [ 360.707982][ T6189] bcachefs (loop0): done starting filesystem getdents64(3, 0x5555827916f0 /* 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 [ 360.808415][ T5858] bcachefs (loop0): shutting down [ 360.813638][ T5858] bcachefs (loop0): going read-only [ 360.818858][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 360.826498][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 360.848517][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 360.861215][ T2964] bcachefs (loop0): fatal error - emergency read only [ 360.868796][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 360.878599][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 360.886335][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 360.902061][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./29/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6200 attached [pid 6200] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6200 [pid 6200] chdir("./30") = 0 [pid 6200] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6200] setpgid(0, 0) = 0 [pid 6200] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6200] write(3, "1000", 4) = 4 [pid 6200] close(3) = 0 [pid 6200] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6200] write(1, "executing program\n", 18) = 18 [pid 6200] memfd_create("syzkaller", 0) = 3 [pid 6200] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6200] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6200] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6200] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6200] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6200] close(3) = 0 [pid 6200] close(4) = 0 [pid 6200] mkdir("./file1", 0777) = 0 [ 362.182250][ T6200] loop0: detected capacity change from 0 to 32768 [ 362.248666][ T6200] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 362.269175][ T6200] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 362.277278][ T6200] bcachefs (loop0): Version upgrade required: [ 362.277278][ T6200] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 362.277278][ T6200] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 362.277278][ T6200] 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 [ 362.349598][ T6200] bcachefs (loop0): dropping and reconstructing all alloc info [ 362.364334][ T6200] bcachefs (loop0): accounting_read... done [ 362.370487][ T6200] bcachefs (loop0): alloc_read... done [ 362.376196][ T6200] bcachefs (loop0): stripes_read... done [ 362.381869][ T6200] bcachefs (loop0): snapshots_read... done [pid 6200] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6200] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6200] chdir("./file1") = 0 [pid 6200] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 362.387893][ T6200] bcachefs (loop0): check_allocations... done [ 362.405200][ T6200] bcachefs (loop0): going read-write [ 362.413105][ T6200] bcachefs (loop0): done starting filesystem [pid 6200] ioctl(4, LOOP_CLR_FD) = 0 [pid 6200] close(4) = 0 [pid 6200] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6200] exit_group(0) = ? [pid 6200] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6200, 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("./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, 0x5555827916f0 /* 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 [ 362.606360][ T5858] bcachefs (loop0): shutting down [ 362.611436][ T5858] bcachefs (loop0): going read-only [ 362.616864][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 362.624401][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 362.647642][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 362.660736][ T5950] bcachefs (loop0): fatal error - emergency read only [ 362.668287][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 362.678043][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 362.685880][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 362.701143][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./30/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6211 attached [pid 6211] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6211 [pid 6211] chdir("./31") = 0 [pid 6211] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6211] setpgid(0, 0) = 0 [pid 6211] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6211] write(3, "1000", 4) = 4 [pid 6211] close(3) = 0 [pid 6211] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6211] write(1, "executing program\n", 18) = 18 [pid 6211] memfd_create("syzkaller", 0) = 3 [pid 6211] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6211] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6211] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6211] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6211] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6211] close(3) = 0 [pid 6211] close(4) = 0 [pid 6211] mkdir("./file1", 0777) = 0 [ 364.004265][ T6211] loop0: detected capacity change from 0 to 32768 [ 364.068043][ T6211] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 364.088241][ T6211] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 364.096982][ T6211] bcachefs (loop0): Version upgrade required: [ 364.096982][ T6211] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 364.096982][ T6211] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 364.096982][ T6211] 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 [ 364.169244][ T6211] bcachefs (loop0): dropping and reconstructing all alloc info [ 364.183846][ T6211] bcachefs (loop0): accounting_read... done [ 364.189938][ T6211] bcachefs (loop0): alloc_read... done [ 364.195519][ T6211] bcachefs (loop0): stripes_read... done [ 364.201256][ T6211] bcachefs (loop0): snapshots_read... done [pid 6211] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6211] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6211] chdir("./file1") = 0 [pid 6211] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6211] ioctl(4, LOOP_CLR_FD) = 0 [ 364.207298][ T6211] bcachefs (loop0): check_allocations... done [ 364.224884][ T6211] bcachefs (loop0): going read-write [ 364.233224][ T6211] bcachefs (loop0): done starting filesystem [pid 6211] close(4) = 0 [pid 6211] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6211] exit_group(0) = ? [pid 6211] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6211, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- 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, 0x5555827916f0 /* 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 [ 364.445353][ T5858] bcachefs (loop0): shutting down [ 364.450403][ T5858] bcachefs (loop0): going read-only [ 364.456004][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 364.463793][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 364.486465][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 364.499452][ T11] bcachefs (loop0): fatal error - emergency read only [ 364.506657][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 364.516423][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 364.524280][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 364.539698][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./31/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6222 attached , child_tidptr=0x555582790650) = 6222 [pid 6222] set_robust_list(0x555582790660, 24) = 0 [pid 6222] chdir("./32") = 0 [pid 6222] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6222] setpgid(0, 0) = 0 [pid 6222] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6222] write(3, "1000", 4) = 4 [pid 6222] close(3) = 0 [pid 6222] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6222] write(1, "executing program\n", 18) = 18 [pid 6222] memfd_create("syzkaller", 0) = 3 [pid 6222] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6222] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6222] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6222] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6222] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6222] close(3) = 0 [pid 6222] close(4) = 0 [pid 6222] mkdir("./file1", 0777) = 0 [ 365.833981][ T6222] loop0: detected capacity change from 0 to 32768 [ 365.906950][ T6222] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 365.927760][ T6222] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 365.935978][ T6222] bcachefs (loop0): Version upgrade required: [ 365.935978][ T6222] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 365.935978][ T6222] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 365.935978][ T6222] 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 [ 366.008057][ T6222] bcachefs (loop0): dropping and reconstructing all alloc info [ 366.022877][ T6222] bcachefs (loop0): accounting_read... done [ 366.029203][ T6222] bcachefs (loop0): alloc_read... done [ 366.034912][ T6222] bcachefs (loop0): stripes_read... done [ 366.040604][ T6222] bcachefs (loop0): snapshots_read... done [pid 6222] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6222] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6222] chdir("./file1") = 0 [ 366.046632][ T6222] bcachefs (loop0): check_allocations... done [ 366.064609][ T6222] bcachefs (loop0): going read-write [ 366.073111][ T6222] bcachefs (loop0): done starting filesystem [pid 6222] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6222] ioctl(4, LOOP_CLR_FD) = 0 [pid 6222] close(4) = 0 [pid 6222] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6222] exit_group(0) = ? [pid 6222] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6222, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 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 [ 366.272743][ T5858] bcachefs (loop0): shutting down [ 366.278178][ T5858] bcachefs (loop0): going read-only [ 366.283403][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 366.291090][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 366.312853][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 366.325801][ T5950] bcachefs (loop0): fatal error - emergency read only [ 366.332964][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 366.342822][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 366.350597][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 366.366437][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./32/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6233 attached , child_tidptr=0x555582790650) = 6233 [pid 6233] set_robust_list(0x555582790660, 24) = 0 [pid 6233] chdir("./33") = 0 [pid 6233] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6233] setpgid(0, 0) = 0 [pid 6233] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6233] write(3, "1000", 4) = 4 [pid 6233] close(3) = 0 [pid 6233] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6233] write(1, "executing program\n", 18) = 18 [pid 6233] memfd_create("syzkaller", 0) = 3 [pid 6233] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6233] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6233] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6233] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6233] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6233] close(3) = 0 [pid 6233] close(4) = 0 [pid 6233] mkdir("./file1", 0777) = 0 [ 367.705817][ T6233] loop0: detected capacity change from 0 to 32768 [ 367.782245][ T6233] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 367.805586][ T6233] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 367.813676][ T6233] bcachefs (loop0): Version upgrade required: [ 367.813676][ T6233] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 367.813676][ T6233] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 367.813676][ T6233] 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 [ 367.885464][ T6233] bcachefs (loop0): dropping and reconstructing all alloc info [ 367.900021][ T6233] bcachefs (loop0): accounting_read... done [ 367.906235][ T6233] bcachefs (loop0): alloc_read... done [ 367.911753][ T6233] bcachefs (loop0): stripes_read... done [ 367.917472][ T6233] bcachefs (loop0): snapshots_read... done [pid 6233] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6233] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6233] chdir("./file1") = 0 [pid 6233] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6233] ioctl(4, LOOP_CLR_FD) = 0 [ 367.923394][ T6233] bcachefs (loop0): check_allocations... done [ 367.939970][ T6233] bcachefs (loop0): going read-write [ 367.948596][ T6233] bcachefs (loop0): done starting filesystem [pid 6233] close(4) = 0 [pid 6233] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6233] exit_group(0) = ? [pid 6233] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6233, 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("./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, 0x5555827916f0 /* 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 [ 368.134672][ T5858] bcachefs (loop0): shutting down [ 368.139718][ T5858] bcachefs (loop0): going read-only [ 368.144969][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 368.152365][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 368.174283][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 368.187450][ T2964] bcachefs (loop0): fatal error - emergency read only [ 368.194638][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 368.204416][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 368.211853][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 368.227817][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./33/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6244 attached [pid 6244] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6244 [pid 6244] <... set_robust_list resumed>) = 0 [pid 6244] chdir("./34") = 0 [pid 6244] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6244] setpgid(0, 0) = 0 [pid 6244] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6244] write(3, "1000", 4) = 4 [pid 6244] close(3) = 0 [pid 6244] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6244] write(1, "executing program\n", 18) = 18 [pid 6244] memfd_create("syzkaller", 0) = 3 [pid 6244] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6244] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6244] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6244] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6244] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6244] close(3) = 0 [pid 6244] close(4) = 0 [pid 6244] mkdir("./file1", 0777) = 0 [ 369.516607][ T6244] loop0: detected capacity change from 0 to 32768 [ 369.586039][ T6244] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 369.606256][ T6244] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 369.614510][ T6244] bcachefs (loop0): Version upgrade required: [ 369.614510][ T6244] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 369.614510][ T6244] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 369.614510][ T6244] 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 [ 369.686778][ T6244] bcachefs (loop0): dropping and reconstructing all alloc info [ 369.701657][ T6244] bcachefs (loop0): accounting_read... done [ 369.707831][ T6244] bcachefs (loop0): alloc_read... done [ 369.713453][ T6244] bcachefs (loop0): stripes_read... done [ 369.719149][ T6244] bcachefs (loop0): snapshots_read... done [pid 6244] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6244] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6244] chdir("./file1") = 0 [ 369.725149][ T6244] bcachefs (loop0): check_allocations... done [ 369.741561][ T6244] bcachefs (loop0): going read-write [ 369.750055][ T6244] bcachefs (loop0): done starting filesystem [pid 6244] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6244] ioctl(4, LOOP_CLR_FD) = 0 [pid 6244] close(4) = 0 [pid 6244] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6244] exit_group(0) = ? [pid 6244] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6244, 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("./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, 0x5555827916f0 /* 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 [ 369.939343][ T5858] bcachefs (loop0): shutting down [ 369.944586][ T5858] bcachefs (loop0): going read-only [ 369.949831][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 369.957372][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 369.979190][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 369.992198][ T2964] bcachefs (loop0): fatal error - emergency read only [ 370.000244][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 370.010056][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 370.017813][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 370.034505][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./34/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6255 attached [pid 6255] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6255 [pid 6255] chdir("./35") = 0 [pid 6255] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6255] setpgid(0, 0) = 0 [pid 6255] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6255] write(3, "1000", 4) = 4 [pid 6255] close(3) = 0 [pid 6255] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6255] write(1, "executing program\n", 18) = 18 [pid 6255] memfd_create("syzkaller", 0) = 3 [pid 6255] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6255] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6255] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6255] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6255] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6255] close(3) = 0 [pid 6255] close(4) = 0 [pid 6255] mkdir("./file1", 0777) = 0 [ 371.371080][ T6255] loop0: detected capacity change from 0 to 32768 [ 371.435662][ T6255] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 371.456094][ T6255] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 371.464223][ T6255] bcachefs (loop0): Version upgrade required: [ 371.464223][ T6255] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 371.464223][ T6255] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 371.464223][ T6255] 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 [ 371.536305][ T6255] bcachefs (loop0): dropping and reconstructing all alloc info [ 371.551328][ T6255] bcachefs (loop0): accounting_read... done [ 371.557874][ T6255] bcachefs (loop0): alloc_read... done [ 371.563515][ T6255] bcachefs (loop0): stripes_read... done [ 371.569211][ T6255] bcachefs (loop0): snapshots_read... done [pid 6255] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6255] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6255] chdir("./file1") = 0 [pid 6255] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6255] ioctl(4, LOOP_CLR_FD) = 0 [pid 6255] close(4) = 0 [pid 6255] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6255] exit_group(0) = ? [pid 6255] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6255, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 371.575197][ T6255] bcachefs (loop0): check_allocations... done [ 371.591808][ T6255] bcachefs (loop0): going read-write [ 371.600098][ T6255] 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, 0x5555827916f0 /* 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 [ 371.712432][ T5858] bcachefs (loop0): shutting down [ 371.717654][ T5858] bcachefs (loop0): going read-only [ 371.722881][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 371.730448][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 371.753535][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 371.766364][ T2964] bcachefs (loop0): fatal error - emergency read only [ 371.773515][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 371.784048][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 371.791515][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 371.806975][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./35/file1") = 0 getdents64(3, 0x5555827916f0 /* 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./strace-static-x86_64: Process 6266 attached , child_tidptr=0x555582790650) = 6266 [pid 6266] set_robust_list(0x555582790660, 24) = 0 [pid 6266] chdir("./36") = 0 [pid 6266] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6266] setpgid(0, 0) = 0 [pid 6266] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6266] write(3, "1000", 4) = 4 [pid 6266] close(3) = 0 [pid 6266] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6266] write(1, "executing program\n", 18executing program ) = 18 [pid 6266] memfd_create("syzkaller", 0) = 3 [pid 6266] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6266] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6266] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6266] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6266] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6266] close(3) = 0 [pid 6266] close(4) = 0 [pid 6266] mkdir("./file1", 0777) = 0 [ 373.199676][ T6266] loop0: detected capacity change from 0 to 32768 [ 373.264376][ T6266] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 373.284773][ T6266] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 373.292769][ T6266] bcachefs (loop0): Version upgrade required: [ 373.292769][ T6266] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 373.292769][ T6266] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 373.292769][ T6266] 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 [ 373.365296][ T6266] bcachefs (loop0): dropping and reconstructing all alloc info [ 373.379693][ T6266] bcachefs (loop0): accounting_read... done [ 373.386163][ T6266] bcachefs (loop0): alloc_read... done [ 373.391699][ T6266] bcachefs (loop0): stripes_read... done [ 373.397486][ T6266] bcachefs (loop0): snapshots_read... done [pid 6266] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6266] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6266] chdir("./file1") = 0 [pid 6266] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 373.403501][ T6266] bcachefs (loop0): check_allocations... done [ 373.419953][ T6266] bcachefs (loop0): going read-write [ 373.428168][ T6266] bcachefs (loop0): done starting filesystem [pid 6266] ioctl(4, LOOP_CLR_FD) = 0 [pid 6266] close(4) = 0 [pid 6266] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6266] exit_group(0) = ? [pid 6266] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6266, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=20 /* 0.20 s */} --- 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, 0x5555827916f0 /* 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 [ 373.612982][ T5858] bcachefs (loop0): shutting down [ 373.618213][ T5858] bcachefs (loop0): going read-only [ 373.623552][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 373.630972][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 373.652548][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 373.665703][ T11] bcachefs (loop0): fatal error - emergency read only [ 373.672774][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 373.682782][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 373.690441][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 373.705841][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./36/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6277 attached , child_tidptr=0x555582790650) = 6277 [pid 6277] set_robust_list(0x555582790660, 24) = 0 [pid 6277] chdir("./37") = 0 [pid 6277] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6277] setpgid(0, 0) = 0 [pid 6277] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6277] write(3, "1000", 4) = 4 [pid 6277] close(3) = 0 [pid 6277] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6277] write(1, "executing program\n", 18) = 18 [pid 6277] memfd_create("syzkaller", 0) = 3 [pid 6277] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6277] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6277] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6277] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6277] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6277] close(3) = 0 [pid 6277] close(4) = 0 [pid 6277] mkdir("./file1", 0777) = 0 [ 375.064604][ T6277] loop0: detected capacity change from 0 to 32768 [ 375.142854][ T6277] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 375.163322][ T6277] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 375.171689][ T6277] bcachefs (loop0): Version upgrade required: [ 375.171689][ T6277] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 375.171689][ T6277] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 375.171689][ T6277] 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 [ 375.243996][ T6277] bcachefs (loop0): dropping and reconstructing all alloc info [ 375.259126][ T6277] bcachefs (loop0): accounting_read... done [ 375.265304][ T6277] bcachefs (loop0): alloc_read... done [ 375.270841][ T6277] bcachefs (loop0): stripes_read... done [ 375.276659][ T6277] bcachefs (loop0): snapshots_read... done [pid 6277] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6277] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6277] chdir("./file1") = 0 [pid 6277] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6277] ioctl(4, LOOP_CLR_FD) = 0 [pid 6277] close(4) = 0 [ 375.282602][ T6277] bcachefs (loop0): check_allocations... done [ 375.299358][ T6277] bcachefs (loop0): going read-write [ 375.308069][ T6277] bcachefs (loop0): done starting filesystem [pid 6277] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6277] exit_group(0) = ? [pid 6277] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6277, 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("./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, 0x5555827916f0 /* 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 [ 375.450522][ T5858] bcachefs (loop0): shutting down [ 375.455833][ T5858] bcachefs (loop0): going read-only [ 375.461064][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 375.468681][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 375.490493][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 375.503783][ T2964] bcachefs (loop0): fatal error - emergency read only [ 375.511094][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 375.520900][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 375.528584][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 375.544347][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./37/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6288 attached [pid 6288] set_robust_list(0x555582790660, 24) = 0 [pid 6288] chdir("./38") = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6288 [pid 6288] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6288] setpgid(0, 0) = 0 [pid 6288] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6288] write(3, "1000", 4) = 4 [pid 6288] close(3) = 0 [pid 6288] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6288] write(1, "executing program\n", 18executing program ) = 18 [pid 6288] memfd_create("syzkaller", 0) = 3 [pid 6288] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6288] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6288] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6288] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6288] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6288] close(3) = 0 [pid 6288] close(4) = 0 [pid 6288] mkdir("./file1", 0777) = 0 [ 376.875570][ T6288] loop0: detected capacity change from 0 to 32768 [ 376.951472][ T6288] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 376.971517][ T6288] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 376.979638][ T6288] bcachefs (loop0): Version upgrade required: [ 376.979638][ T6288] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 376.979638][ T6288] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 376.979638][ T6288] 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 [ 377.051608][ T6288] bcachefs (loop0): dropping and reconstructing all alloc info [ 377.066420][ T6288] bcachefs (loop0): accounting_read... done [ 377.072513][ T6288] bcachefs (loop0): alloc_read... done [ 377.078202][ T6288] bcachefs (loop0): stripes_read... done [ 377.083931][ T6288] bcachefs (loop0): snapshots_read... done [pid 6288] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6288] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6288] chdir("./file1") = 0 [pid 6288] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6288] ioctl(4, LOOP_CLR_FD) = 0 [pid 6288] close(4) = 0 [ 377.089924][ T6288] bcachefs (loop0): check_allocations... done [ 377.107074][ T6288] bcachefs (loop0): going read-write [ 377.115790][ T6288] bcachefs (loop0): done starting filesystem [pid 6288] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6288] exit_group(0) = ? [pid 6288] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6288, 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("./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, 0x5555827916f0 /* 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 [ 377.288775][ T5858] bcachefs (loop0): shutting down [ 377.294006][ T5858] bcachefs (loop0): going read-only [ 377.299218][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 377.306745][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 377.328377][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 377.341312][ T5950] bcachefs (loop0): fatal error - emergency read only [ 377.348781][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 377.358452][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 377.366159][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 377.381472][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./38/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6299 attached [pid 6299] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6299 [pid 6299] chdir("./39") = 0 [pid 6299] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6299] setpgid(0, 0) = 0 [pid 6299] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6299] write(3, "1000", 4) = 4 [pid 6299] close(3) = 0 [pid 6299] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6299] write(1, "executing program\n", 18) = 18 [pid 6299] memfd_create("syzkaller", 0) = 3 [pid 6299] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6299] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6299] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6299] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6299] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6299] close(3) = 0 [pid 6299] close(4) = 0 [pid 6299] mkdir("./file1", 0777) = 0 [ 378.704845][ T6299] loop0: detected capacity change from 0 to 32768 [ 378.768792][ T6299] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 378.789166][ T6299] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 378.797331][ T6299] bcachefs (loop0): Version upgrade required: [ 378.797331][ T6299] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 378.797331][ T6299] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 378.797331][ T6299] 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 [ 378.870142][ T6299] bcachefs (loop0): dropping and reconstructing all alloc info [ 378.885342][ T6299] bcachefs (loop0): accounting_read... done [ 378.891466][ T6299] bcachefs (loop0): alloc_read... done [ 378.897071][ T6299] bcachefs (loop0): stripes_read... done [ 378.902754][ T6299] bcachefs (loop0): snapshots_read... done [pid 6299] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6299] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6299] chdir("./file1") = 0 [ 378.908905][ T6299] bcachefs (loop0): check_allocations... done [ 378.926353][ T6299] bcachefs (loop0): going read-write [ 378.934457][ T6299] bcachefs (loop0): done starting filesystem [pid 6299] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6299] ioctl(4, LOOP_CLR_FD) = 0 [pid 6299] close(4) = 0 [pid 6299] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6299] exit_group(0) = ? [pid 6299] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6299, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- 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, 0x5555827916f0 /* 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 [ 379.116250][ T5858] bcachefs (loop0): shutting down [ 379.121369][ T5858] bcachefs (loop0): going read-only [ 379.126796][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 379.134387][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 379.156509][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 379.169420][ T5950] bcachefs (loop0): fatal error - emergency read only [ 379.176683][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 379.186638][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 379.194374][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 379.209765][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./39/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6310 attached [pid 6310] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6310 [pid 6310] chdir("./40") = 0 [pid 6310] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6310] setpgid(0, 0) = 0 [pid 6310] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6310] write(3, "1000", 4) = 4 [pid 6310] close(3) = 0 [pid 6310] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6310] write(1, "executing program\n", 18) = 18 [pid 6310] memfd_create("syzkaller", 0) = 3 [pid 6310] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6310] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6310] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6310] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6310] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6310] close(3) = 0 [pid 6310] close(4) = 0 [pid 6310] mkdir("./file1", 0777) = 0 [ 380.508756][ T6310] loop0: detected capacity change from 0 to 32768 [ 380.574197][ T6310] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 380.594206][ T6310] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 380.602181][ T6310] bcachefs (loop0): Version upgrade required: [ 380.602181][ T6310] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 380.602181][ T6310] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 380.602181][ T6310] 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 [ 380.674708][ T6310] bcachefs (loop0): dropping and reconstructing all alloc info [ 380.689330][ T6310] bcachefs (loop0): accounting_read... done [ 380.695480][ T6310] bcachefs (loop0): alloc_read... done [ 380.701015][ T6310] bcachefs (loop0): stripes_read... done [ 380.706998][ T6310] bcachefs (loop0): snapshots_read... done [pid 6310] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6310] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6310] chdir("./file1") = 0 [pid 6310] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6310] ioctl(4, LOOP_CLR_FD) = 0 [ 380.712939][ T6310] bcachefs (loop0): check_allocations... done [ 380.729426][ T6310] bcachefs (loop0): going read-write [ 380.737450][ T6310] bcachefs (loop0): done starting filesystem [pid 6310] close(4) = 0 [pid 6310] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6310] exit_group(0) = ? [pid 6310] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6310, 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("./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, 0x5555827916f0 /* 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 [ 380.907025][ T5858] bcachefs (loop0): shutting down [ 380.912067][ T5858] bcachefs (loop0): going read-only [ 380.917531][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 380.924971][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 380.947529][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 380.960664][ T11] bcachefs (loop0): fatal error - emergency read only [ 380.968603][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 380.978389][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 380.986088][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 381.001427][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./40/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6321 attached , child_tidptr=0x555582790650) = 6321 [pid 6321] set_robust_list(0x555582790660, 24) = 0 [pid 6321] chdir("./41") = 0 [pid 6321] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6321] setpgid(0, 0) = 0 [pid 6321] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6321] write(3, "1000", 4) = 4 [pid 6321] close(3) = 0 [pid 6321] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6321] write(1, "executing program\n", 18executing program ) = 18 [pid 6321] memfd_create("syzkaller", 0) = 3 [pid 6321] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6321] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6321] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6321] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6321] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6321] close(3) = 0 [pid 6321] close(4) = 0 [pid 6321] mkdir("./file1", 0777) = 0 [ 382.407884][ T6321] loop0: detected capacity change from 0 to 32768 [ 382.488063][ T6321] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 382.508158][ T6321] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 382.516252][ T6321] bcachefs (loop0): Version upgrade required: [ 382.516252][ T6321] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 382.516252][ T6321] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 382.516252][ T6321] 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 [ 382.588495][ T6321] bcachefs (loop0): dropping and reconstructing all alloc info [ 382.603237][ T6321] bcachefs (loop0): accounting_read... done [ 382.609566][ T6321] bcachefs (loop0): alloc_read... done [ 382.615154][ T6321] bcachefs (loop0): stripes_read... done [ 382.620846][ T6321] bcachefs (loop0): snapshots_read... done [pid 6321] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6321] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6321] chdir("./file1") = 0 [pid 6321] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6321] ioctl(4, LOOP_CLR_FD) = 0 [pid 6321] close(4) = 0 [ 382.626837][ T6321] bcachefs (loop0): check_allocations... done [ 382.643818][ T6321] bcachefs (loop0): going read-write [ 382.651979][ T6321] bcachefs (loop0): done starting filesystem [pid 6321] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6321] exit_group(0) = ? [pid 6321] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6321, 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("./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, 0x5555827916f0 /* 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 [ 382.816759][ T5858] bcachefs (loop0): shutting down [ 382.821810][ T5858] bcachefs (loop0): going read-only [ 382.827245][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 382.834755][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 382.857047][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 382.870144][ T5950] bcachefs (loop0): fatal error - emergency read only [ 382.877347][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 382.887196][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 382.894882][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 382.910508][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./41/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6332 attached [pid 6332] set_robust_list(0x555582790660, 24) = 0 [pid 6332] chdir("./42") = 0 [pid 6332] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6332] setpgid(0, 0) = 0 [pid 6332] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6332 [pid 6332] write(3, "1000", 4) = 4 [pid 6332] close(3) = 0 [pid 6332] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6332] write(1, "executing program\n", 18) = 18 [pid 6332] memfd_create("syzkaller", 0) = 3 [pid 6332] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6332] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6332] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6332] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6332] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6332] close(3) = 0 [pid 6332] close(4) = 0 [pid 6332] mkdir("./file1", 0777) = 0 [ 384.320212][ T6332] loop0: detected capacity change from 0 to 32768 [ 384.406807][ T6332] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 384.427125][ T6332] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 384.435238][ T6332] bcachefs (loop0): Version upgrade required: [ 384.435238][ T6332] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 384.435238][ T6332] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 384.435238][ T6332] 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 [ 384.507255][ T6332] bcachefs (loop0): dropping and reconstructing all alloc info [ 384.521471][ T6332] bcachefs (loop0): accounting_read... done [ 384.527653][ T6332] bcachefs (loop0): alloc_read... done [ 384.533236][ T6332] bcachefs (loop0): stripes_read... done [ 384.538948][ T6332] bcachefs (loop0): snapshots_read... done [pid 6332] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6332] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6332] chdir("./file1") = 0 [pid 6332] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6332] ioctl(4, LOOP_CLR_FD) = 0 [pid 6332] close(4) = 0 [ 384.544898][ T6332] bcachefs (loop0): check_allocations... done [ 384.561412][ T6332] bcachefs (loop0): going read-write [ 384.570032][ T6332] bcachefs (loop0): done starting filesystem [pid 6332] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6332] exit_group(0) = ? [pid 6332] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6332, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=32 /* 0.32 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, 0x5555827916f0 /* 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 [ 384.743184][ T5858] bcachefs (loop0): shutting down [ 384.748395][ T5858] bcachefs (loop0): going read-only [ 384.753767][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 384.761159][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 384.782197][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 384.795165][ T5950] bcachefs (loop0): fatal error - emergency read only [ 384.802230][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 384.812512][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 384.820361][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 384.836018][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./42/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6343 attached [pid 6343] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6343 [pid 6343] chdir("./43") = 0 [pid 6343] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6343] setpgid(0, 0) = 0 [pid 6343] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6343] write(3, "1000", 4) = 4 [pid 6343] close(3) = 0 [pid 6343] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6343] write(1, "executing program\n", 18) = 18 [pid 6343] memfd_create("syzkaller", 0) = 3 [pid 6343] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6343] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6343] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6343] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6343] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6343] close(3) = 0 [pid 6343] close(4) = 0 [pid 6343] mkdir("./file1", 0777) = 0 [ 386.111357][ T6343] loop0: detected capacity change from 0 to 32768 [ 386.188745][ T6343] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 386.208782][ T6343] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 386.216893][ T6343] bcachefs (loop0): Version upgrade required: [ 386.216893][ T6343] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 386.216893][ T6343] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 386.216893][ T6343] 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 [ 386.288865][ T6343] bcachefs (loop0): dropping and reconstructing all alloc info [ 386.303391][ T6343] bcachefs (loop0): accounting_read... done [ 386.309771][ T6343] bcachefs (loop0): alloc_read... done [ 386.315736][ T6343] bcachefs (loop0): stripes_read... done [ 386.321428][ T6343] bcachefs (loop0): snapshots_read... done [pid 6343] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6343] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6343] chdir("./file1") = 0 [pid 6343] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6343] ioctl(4, LOOP_CLR_FD) = 0 [pid 6343] close(4) = 0 [ 386.327529][ T6343] bcachefs (loop0): check_allocations... done [ 386.344900][ T6343] bcachefs (loop0): going read-write [ 386.353744][ T6343] bcachefs (loop0): done starting filesystem [pid 6343] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6343] exit_group(0) = ? [pid 6343] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6343, 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("./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, 0x5555827916f0 /* 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 [ 386.537776][ T5858] bcachefs (loop0): shutting down [ 386.542947][ T5858] bcachefs (loop0): going read-only [ 386.548460][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 386.555972][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 386.578152][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 386.591242][ T11] bcachefs (loop0): fatal error - emergency read only [ 386.598796][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 386.608605][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 386.616514][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 386.632092][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./43/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6354 attached [pid 6354] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6354 [pid 6354] <... set_robust_list resumed>) = 0 [pid 6354] chdir("./44") = 0 [pid 6354] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6354] setpgid(0, 0) = 0 [pid 6354] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6354] write(3, "1000", 4) = 4 [pid 6354] close(3) = 0 [pid 6354] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6354] write(1, "executing program\n", 18) = 18 [pid 6354] memfd_create("syzkaller", 0) = 3 [pid 6354] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6354] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6354] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6354] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6354] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6354] close(3) = 0 [pid 6354] close(4) = 0 [pid 6354] mkdir("./file1", 0777) = 0 [ 387.913677][ T6354] loop0: detected capacity change from 0 to 32768 [ 387.979332][ T6354] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 387.999815][ T6354] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 388.007945][ T6354] bcachefs (loop0): Version upgrade required: [ 388.007945][ T6354] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 388.007945][ T6354] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 388.007945][ T6354] 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 [ 388.080292][ T6354] bcachefs (loop0): dropping and reconstructing all alloc info [ 388.094895][ T6354] bcachefs (loop0): accounting_read... done [ 388.100976][ T6354] bcachefs (loop0): alloc_read... done [ 388.106583][ T6354] bcachefs (loop0): stripes_read... done [ 388.112271][ T6354] bcachefs (loop0): snapshots_read... done [pid 6354] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6354] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6354] chdir("./file1") = 0 [ 388.118357][ T6354] bcachefs (loop0): check_allocations... done [ 388.134985][ T6354] bcachefs (loop0): going read-write [ 388.144132][ T6354] bcachefs (loop0): done starting filesystem [pid 6354] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6354] ioctl(4, LOOP_CLR_FD) = 0 [pid 6354] close(4) = 0 [pid 6354] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6354] exit_group(0) = ? [pid 6354] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6354, 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("./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, 0x5555827916f0 /* 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 [ 388.327356][ T5858] bcachefs (loop0): shutting down [ 388.332470][ T5858] bcachefs (loop0): going read-only [ 388.337938][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 388.345461][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 388.368242][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 388.381475][ T5950] bcachefs (loop0): fatal error - emergency read only [ 388.389050][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 388.398845][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 388.406562][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 388.421553][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./44/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6365 attached [pid 6365] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6365 [pid 6365] chdir("./45") = 0 [pid 6365] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6365] setpgid(0, 0) = 0 [pid 6365] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6365] write(3, "1000", 4) = 4 [pid 6365] close(3) = 0 [pid 6365] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6365] write(1, "executing program\n", 18) = 18 [pid 6365] memfd_create("syzkaller", 0) = 3 [pid 6365] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6365] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6365] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6365] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6365] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6365] close(3) = 0 [pid 6365] close(4) = 0 [pid 6365] mkdir("./file1", 0777) = 0 [ 389.741198][ T6365] loop0: detected capacity change from 0 to 32768 [ 389.808311][ T6365] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 389.828435][ T6365] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 389.836774][ T6365] bcachefs (loop0): Version upgrade required: [ 389.836774][ T6365] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 389.836774][ T6365] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 389.836774][ T6365] 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 [ 389.909105][ T6365] bcachefs (loop0): dropping and reconstructing all alloc info [ 389.923852][ T6365] bcachefs (loop0): accounting_read... done [ 389.929952][ T6365] bcachefs (loop0): alloc_read... done [ 389.935530][ T6365] bcachefs (loop0): stripes_read... done [ 389.941219][ T6365] bcachefs (loop0): snapshots_read... done [pid 6365] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6365] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6365] chdir("./file1") = 0 [pid 6365] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6365] ioctl(4, LOOP_CLR_FD) = 0 [ 389.947255][ T6365] bcachefs (loop0): check_allocations... done [ 389.964178][ T6365] bcachefs (loop0): going read-write [ 389.972453][ T6365] bcachefs (loop0): done starting filesystem [pid 6365] close(4) = 0 [pid 6365] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6365] exit_group(0) = ? [pid 6365] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6365, 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("./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, 0x5555827916f0 /* 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 [ 390.054918][ T5858] bcachefs (loop0): shutting down [ 390.060029][ T5858] bcachefs (loop0): going read-only [ 390.065774][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 390.073193][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 390.096028][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 390.108744][ T11] bcachefs (loop0): fatal error - emergency read only [ 390.116255][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 390.126117][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 390.133783][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 390.149341][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./45/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6377 attached [pid 6377] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6377 [pid 6377] <... set_robust_list resumed>) = 0 [pid 6377] chdir("./46") = 0 [pid 6377] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6377] setpgid(0, 0) = 0 [pid 6377] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6377] write(3, "1000", 4) = 4 [pid 6377] close(3) = 0 [pid 6377] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6377] write(1, "executing program\n", 18) = 18 [pid 6377] memfd_create("syzkaller", 0) = 3 [pid 6377] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6377] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6377] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6377] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6377] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6377] close(3) = 0 [pid 6377] close(4) = 0 [pid 6377] mkdir("./file1", 0777) = 0 [ 391.515448][ T6377] loop0: detected capacity change from 0 to 32768 [ 391.580240][ T6377] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 391.600666][ T6377] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 391.608757][ T6377] bcachefs (loop0): Version upgrade required: [ 391.608757][ T6377] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 391.608757][ T6377] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 391.608757][ T6377] 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 [ 391.680999][ T6377] bcachefs (loop0): dropping and reconstructing all alloc info [ 391.696714][ T6377] bcachefs (loop0): accounting_read... done [ 391.702780][ T6377] bcachefs (loop0): alloc_read... done [ 391.708338][ T6377] bcachefs (loop0): stripes_read... done [ 391.714043][ T6377] bcachefs (loop0): snapshots_read... done [pid 6377] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6377] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6377] chdir("./file1") = 0 [pid 6377] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6377] ioctl(4, LOOP_CLR_FD) = 0 [pid 6377] close(4) = 0 [pid 6377] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6377] exit_group(0) = ? [pid 6377] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6377, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- 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, 0x5555827916f0 /* 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 [ 391.719919][ T6377] bcachefs (loop0): check_allocations... done [ 391.736597][ T6377] bcachefs (loop0): going read-write [ 391.744977][ T6377] bcachefs (loop0): done starting filesystem [ 391.774934][ T5858] bcachefs (loop0): shutting down [ 391.780061][ T5858] bcachefs (loop0): going read-only [ 391.789134][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 391.797374][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 391.819161][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 391.832714][ T5950] bcachefs (loop0): fatal error - emergency read only [ 391.839961][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 391.849899][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 391.857596][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 391.872952][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./46/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6388 attached , child_tidptr=0x555582790650) = 6388 [pid 6388] set_robust_list(0x555582790660, 24) = 0 [pid 6388] chdir("./47") = 0 [pid 6388] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6388] setpgid(0, 0) = 0 [pid 6388] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6388] write(3, "1000", 4) = 4 [pid 6388] close(3) = 0 [pid 6388] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6388] write(1, "executing program\n", 18) = 18 [pid 6388] memfd_create("syzkaller", 0) = 3 [pid 6388] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6388] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6388] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6388] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6388] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6388] close(3) = 0 [pid 6388] close(4) = 0 [pid 6388] mkdir("./file1", 0777) = 0 [ 393.223333][ T6388] loop0: detected capacity change from 0 to 32768 [ 393.288116][ T6388] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 393.308751][ T6388] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 393.317031][ T6388] bcachefs (loop0): Version upgrade required: [ 393.317031][ T6388] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 393.317031][ T6388] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 393.317031][ T6388] 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 [ 393.389088][ T6388] bcachefs (loop0): dropping and reconstructing all alloc info [ 393.403618][ T6388] bcachefs (loop0): accounting_read... done [ 393.409719][ T6388] bcachefs (loop0): alloc_read... done [ 393.415295][ T6388] bcachefs (loop0): stripes_read... done [ 393.420976][ T6388] bcachefs (loop0): snapshots_read... done [pid 6388] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6388] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6388] chdir("./file1") = 0 [pid 6388] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 393.426995][ T6388] bcachefs (loop0): check_allocations... done [ 393.443821][ T6388] bcachefs (loop0): going read-write [ 393.452110][ T6388] bcachefs (loop0): done starting filesystem [pid 6388] ioctl(4, LOOP_CLR_FD) = 0 [pid 6388] close(4) = 0 [pid 6388] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6388] exit_group(0) = ? [pid 6388] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6388, 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("./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, 0x5555827916f0 /* 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 [ 393.532791][ T5858] bcachefs (loop0): shutting down [ 393.538010][ T5858] bcachefs (loop0): going read-only [ 393.543205][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 393.551152][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 393.573896][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 393.586980][ T2964] bcachefs (loop0): fatal error - emergency read only [ 393.594195][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 393.603927][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 393.611370][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 393.627046][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./47/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6399 attached , child_tidptr=0x555582790650) = 6399 [pid 6399] set_robust_list(0x555582790660, 24) = 0 [pid 6399] chdir("./48") = 0 [pid 6399] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6399] setpgid(0, 0) = 0 [pid 6399] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6399] write(3, "1000", 4) = 4 [pid 6399] close(3) = 0 [pid 6399] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6399] write(1, "executing program\n", 18) = 18 [pid 6399] memfd_create("syzkaller", 0) = 3 [pid 6399] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6399] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6399] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6399] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6399] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6399] close(3) = 0 [pid 6399] close(4) = 0 [pid 6399] mkdir("./file1", 0777) = 0 [ 394.931508][ T6399] loop0: detected capacity change from 0 to 32768 [ 394.997782][ T6399] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 395.018278][ T6399] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 395.026377][ T6399] bcachefs (loop0): Version upgrade required: [ 395.026377][ T6399] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 395.026377][ T6399] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 395.026377][ T6399] 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 [ 395.098334][ T6399] bcachefs (loop0): dropping and reconstructing all alloc info [ 395.112790][ T6399] bcachefs (loop0): accounting_read... done [ 395.119012][ T6399] bcachefs (loop0): alloc_read... done [ 395.124612][ T6399] bcachefs (loop0): stripes_read... done [ 395.130341][ T6399] bcachefs (loop0): snapshots_read... done [pid 6399] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6399] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6399] chdir("./file1") = 0 [pid 6399] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6399] ioctl(4, LOOP_CLR_FD) = 0 [pid 6399] close(4) = 0 [pid 6399] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [ 395.136456][ T6399] bcachefs (loop0): check_allocations... done [ 395.153844][ T6399] bcachefs (loop0): going read-write [ 395.162572][ T6399] bcachefs (loop0): done starting filesystem [pid 6399] exit_group(0) = ? [pid 6399] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6399, 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("./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, 0x5555827916f0 /* 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 [ 395.356443][ T5858] bcachefs (loop0): shutting down [ 395.361528][ T5858] bcachefs (loop0): going read-only [ 395.367078][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 395.374559][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 395.397297][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 395.410077][ T11] bcachefs (loop0): fatal error - emergency read only [ 395.417286][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 395.427280][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 395.435002][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 395.450182][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./48/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6410 attached [pid 6410] set_robust_list(0x555582790660, 24) = 0 [pid 6410] chdir("./49" [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6410 [pid 6410] <... chdir resumed>) = 0 [pid 6410] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6410] setpgid(0, 0) = 0 [pid 6410] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6410] write(3, "1000", 4) = 4 [pid 6410] close(3) = 0 [pid 6410] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6410] write(1, "executing program\n", 18) = 18 [pid 6410] memfd_create("syzkaller", 0) = 3 [pid 6410] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6410] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6410] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6410] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6410] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6410] close(3) = 0 [pid 6410] close(4) = 0 [pid 6410] mkdir("./file1", 0777) = 0 [ 396.706761][ T6410] loop0: detected capacity change from 0 to 32768 [ 396.765177][ T6410] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 396.785210][ T6410] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 396.793200][ T6410] bcachefs (loop0): Version upgrade required: [ 396.793200][ T6410] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 396.793200][ T6410] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 396.793200][ T6410] 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 [ 396.865685][ T6410] bcachefs (loop0): dropping and reconstructing all alloc info [ 396.880229][ T6410] bcachefs (loop0): accounting_read... done [ 396.886556][ T6410] bcachefs (loop0): alloc_read... done [ 396.892128][ T6410] bcachefs (loop0): stripes_read... done [ 396.898056][ T6410] bcachefs (loop0): snapshots_read... done [pid 6410] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6410] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6410] chdir("./file1") = 0 [pid 6410] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6410] ioctl(4, LOOP_CLR_FD) = 0 [pid 6410] close(4) = 0 [pid 6410] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6410] exit_group(0) = ? [pid 6410] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6410, 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("./49", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 396.904100][ T6410] bcachefs (loop0): check_allocations... done [ 396.920412][ T6410] bcachefs (loop0): going read-write [ 396.928931][ T6410] bcachefs (loop0): done starting filesystem 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, 0x5555827916f0 /* 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 [ 397.029486][ T5858] bcachefs (loop0): shutting down [ 397.034711][ T5858] bcachefs (loop0): going read-only [ 397.039957][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 397.047589][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 397.070526][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 397.083842][ T11] bcachefs (loop0): fatal error - emergency read only [ 397.091220][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 397.101147][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 397.108779][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 397.124086][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./49/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6421 attached [pid 6421] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6421 [pid 6421] <... set_robust_list resumed>) = 0 [pid 6421] chdir("./50") = 0 [pid 6421] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6421] setpgid(0, 0) = 0 [pid 6421] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6421] write(3, "1000", 4) = 4 [pid 6421] close(3) = 0 [pid 6421] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6421] write(1, "executing program\n", 18) = 18 [pid 6421] memfd_create("syzkaller", 0) = 3 [pid 6421] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6421] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6421] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6421] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6421] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6421] close(3) = 0 [pid 6421] close(4) = 0 [pid 6421] mkdir("./file1", 0777) = 0 [ 398.466057][ T6421] loop0: detected capacity change from 0 to 32768 [ 398.535510][ T6421] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 398.555629][ T6421] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 398.563717][ T6421] bcachefs (loop0): Version upgrade required: [ 398.563717][ T6421] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 398.563717][ T6421] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 398.563717][ T6421] 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 [ 398.635780][ T6421] bcachefs (loop0): dropping and reconstructing all alloc info [ 398.649953][ T6421] bcachefs (loop0): accounting_read... done [ 398.656388][ T6421] bcachefs (loop0): alloc_read... done [ 398.661913][ T6421] bcachefs (loop0): stripes_read... done [ 398.667627][ T6421] bcachefs (loop0): snapshots_read... done [pid 6421] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6421] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6421] chdir("./file1") = 0 [pid 6421] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6421] ioctl(4, LOOP_CLR_FD) = 0 [ 398.673625][ T6421] bcachefs (loop0): check_allocations... done [ 398.690029][ T6421] bcachefs (loop0): going read-write [ 398.698106][ T6421] bcachefs (loop0): done starting filesystem [pid 6421] close(4) = 0 [pid 6421] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6421] exit_group(0) = ? [pid 6421] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6421, si_uid=0, si_status=0, si_utime=0, si_stime=27 /* 0.27 s */} --- 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, 0x5555827916f0 /* 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 [ 398.901063][ T5858] bcachefs (loop0): shutting down [ 398.906277][ T5858] bcachefs (loop0): going read-only [ 398.911534][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 398.919215][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 398.941316][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 398.954445][ T2964] bcachefs (loop0): fatal error - emergency read only [ 398.961527][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 398.971331][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 398.979051][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 398.994893][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./50/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6432 attached [pid 6432] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6432 [pid 6432] <... set_robust_list resumed>) = 0 [pid 6432] chdir("./51") = 0 [pid 6432] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6432] setpgid(0, 0) = 0 [pid 6432] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6432] write(3, "1000", 4) = 4 [pid 6432] close(3) = 0 [pid 6432] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6432] write(1, "executing program\n", 18) = 18 [pid 6432] memfd_create("syzkaller", 0) = 3 [pid 6432] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6432] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6432] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6432] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6432] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6432] close(3) = 0 [pid 6432] close(4) = 0 [pid 6432] mkdir("./file1", 0777) = 0 [ 400.341031][ T6432] loop0: detected capacity change from 0 to 32768 [ 400.407366][ T6432] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 400.427491][ T6432] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 400.435639][ T6432] bcachefs (loop0): Version upgrade required: [ 400.435639][ T6432] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 400.435639][ T6432] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 400.435639][ T6432] 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 [ 400.507924][ T6432] bcachefs (loop0): dropping and reconstructing all alloc info [ 400.522442][ T6432] bcachefs (loop0): accounting_read... done [ 400.528758][ T6432] bcachefs (loop0): alloc_read... done [ 400.534611][ T6432] bcachefs (loop0): stripes_read... done [ 400.540311][ T6432] bcachefs (loop0): snapshots_read... done [pid 6432] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6432] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6432] chdir("./file1") = 0 [pid 6432] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 400.546400][ T6432] bcachefs (loop0): check_allocations... done [ 400.562678][ T6432] bcachefs (loop0): going read-write [ 400.570724][ T6432] bcachefs (loop0): done starting filesystem [pid 6432] ioctl(4, LOOP_CLR_FD) = 0 [pid 6432] close(4) = 0 [pid 6432] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6432] exit_group(0) = ? [pid 6432] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6432, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=26 /* 0.26 s */} --- 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, 0x5555827916f0 /* 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 [ 400.772245][ T5858] bcachefs (loop0): shutting down [ 400.777461][ T5858] bcachefs (loop0): going read-only [ 400.782656][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 400.790220][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 400.812834][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 400.825572][ T5950] bcachefs (loop0): fatal error - emergency read only [ 400.832901][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 400.842812][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 400.850469][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 400.866178][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./51/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6443 attached , child_tidptr=0x555582790650) = 6443 [pid 6443] set_robust_list(0x555582790660, 24) = 0 [pid 6443] chdir("./52") = 0 [pid 6443] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6443] setpgid(0, 0) = 0 [pid 6443] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6443] write(3, "1000", 4) = 4 [pid 6443] close(3) = 0 [pid 6443] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6443] write(1, "executing program\n", 18) = 18 [pid 6443] memfd_create("syzkaller", 0) = 3 [pid 6443] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6443] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6443] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6443] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6443] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6443] close(3) = 0 [pid 6443] close(4) = 0 [pid 6443] mkdir("./file1", 0777) = 0 [ 402.204324][ T6443] loop0: detected capacity change from 0 to 32768 [ 402.269804][ T6443] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 402.290288][ T6443] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 402.298412][ T6443] bcachefs (loop0): Version upgrade required: [ 402.298412][ T6443] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 402.298412][ T6443] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 402.298412][ T6443] 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 [ 402.370385][ T6443] bcachefs (loop0): dropping and reconstructing all alloc info [ 402.385130][ T6443] bcachefs (loop0): accounting_read... done [ 402.391736][ T6443] bcachefs (loop0): alloc_read... done [ 402.397340][ T6443] bcachefs (loop0): stripes_read... done [ 402.403039][ T6443] bcachefs (loop0): snapshots_read... done [pid 6443] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6443] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6443] chdir("./file1") = 0 [pid 6443] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6443] ioctl(4, LOOP_CLR_FD) = 0 [ 402.409090][ T6443] bcachefs (loop0): check_allocations... done [ 402.425500][ T6443] bcachefs (loop0): going read-write [ 402.433883][ T6443] bcachefs (loop0): done starting filesystem [pid 6443] close(4) = 0 [pid 6443] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6443] exit_group(0) = ? [pid 6443] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6443, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x5555827916f0 /* 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 [ 402.619074][ T5858] bcachefs (loop0): shutting down [ 402.624350][ T5858] bcachefs (loop0): going read-only [ 402.629546][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 402.637206][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 402.658691][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 402.671868][ T11] bcachefs (loop0): fatal error - emergency read only [ 402.679360][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 402.689216][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 402.696914][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 402.712313][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./52/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6454 attached [pid 6454] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6454 [pid 6454] <... set_robust_list resumed>) = 0 [pid 6454] chdir("./53") = 0 [pid 6454] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6454] setpgid(0, 0) = 0 [pid 6454] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6454] write(3, "1000", 4) = 4 [pid 6454] close(3) = 0 [pid 6454] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6454] write(1, "executing program\n", 18) = 18 [pid 6454] memfd_create("syzkaller", 0) = 3 [pid 6454] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6454] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6454] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6454] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6454] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6454] close(3) = 0 [pid 6454] close(4) = 0 [pid 6454] mkdir("./file1", 0777) = 0 [ 404.113499][ T6454] loop0: detected capacity change from 0 to 32768 [ 404.176724][ T6454] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 404.197435][ T6454] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 404.205549][ T6454] bcachefs (loop0): Version upgrade required: [ 404.205549][ T6454] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 404.205549][ T6454] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 404.205549][ T6454] 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 [ 404.277364][ T6454] bcachefs (loop0): dropping and reconstructing all alloc info [ 404.291520][ T6454] bcachefs (loop0): accounting_read... done [ 404.297659][ T6454] bcachefs (loop0): alloc_read... done [ 404.303159][ T6454] bcachefs (loop0): stripes_read... done [ 404.308854][ T6454] bcachefs (loop0): snapshots_read... done [pid 6454] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6454] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6454] chdir("./file1") = 0 [pid 6454] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 404.314819][ T6454] bcachefs (loop0): check_allocations... done [ 404.331299][ T6454] bcachefs (loop0): going read-write [ 404.339444][ T6454] bcachefs (loop0): done starting filesystem [pid 6454] ioctl(4, LOOP_CLR_FD) = 0 [pid 6454] close(4) = 0 [pid 6454] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6454] exit_group(0) = ? [pid 6454] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6454, 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("./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, 0x5555827916f0 /* 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 [ 404.530012][ T5858] bcachefs (loop0): shutting down [ 404.535402][ T5858] bcachefs (loop0): going read-only [ 404.540718][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 404.548090][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 404.571803][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 404.584695][ T11] bcachefs (loop0): fatal error - emergency read only [ 404.591767][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 404.601720][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 404.609411][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 404.625545][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./53/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6465 attached , child_tidptr=0x555582790650) = 6465 [pid 6465] set_robust_list(0x555582790660, 24) = 0 [pid 6465] chdir("./54") = 0 [pid 6465] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6465] setpgid(0, 0) = 0 [pid 6465] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6465] write(3, "1000", 4) = 4 [pid 6465] close(3) = 0 [pid 6465] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6465] write(1, "executing program\n", 18) = 18 [pid 6465] memfd_create("syzkaller", 0) = 3 [pid 6465] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6465] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6465] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6465] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6465] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6465] close(3) = 0 [pid 6465] close(4) = 0 [pid 6465] mkdir("./file1", 0777) = 0 [ 405.983253][ T6465] loop0: detected capacity change from 0 to 32768 [ 406.047425][ T6465] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 406.067968][ T6465] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 406.076064][ T6465] bcachefs (loop0): Version upgrade required: [ 406.076064][ T6465] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 406.076064][ T6465] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 406.076064][ T6465] 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 [ 406.148134][ T6465] bcachefs (loop0): dropping and reconstructing all alloc info [ 406.162457][ T6465] bcachefs (loop0): accounting_read... done [ 406.168643][ T6465] bcachefs (loop0): alloc_read... done [ 406.174209][ T6465] bcachefs (loop0): stripes_read... done [ 406.179864][ T6465] bcachefs (loop0): snapshots_read... done [pid 6465] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6465] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6465] chdir("./file1") = 0 [ 406.185823][ T6465] bcachefs (loop0): check_allocations... done [ 406.202742][ T6465] bcachefs (loop0): going read-write [ 406.211831][ T6465] bcachefs (loop0): done starting filesystem [pid 6465] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6465] ioctl(4, LOOP_CLR_FD) = 0 [pid 6465] close(4) = 0 [pid 6465] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6465] exit_group(0) = ? [pid 6465] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6465, si_uid=0, si_status=0, si_utime=0, si_stime=27 /* 0.27 s */} --- 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, 0x5555827916f0 /* 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 [ 406.433033][ T5858] bcachefs (loop0): shutting down [ 406.438297][ T5858] bcachefs (loop0): going read-only [ 406.443597][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 406.450927][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 406.472490][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 406.485242][ T5950] bcachefs (loop0): fatal error - emergency read only [ 406.492489][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 406.502467][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 406.510182][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 406.525462][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./54/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6476 attached [pid 6476] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6476 [pid 6476] <... set_robust_list resumed>) = 0 [pid 6476] chdir("./55") = 0 [pid 6476] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6476] setpgid(0, 0) = 0 [pid 6476] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6476] write(3, "1000", 4) = 4 [pid 6476] close(3) = 0 [pid 6476] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6476] write(1, "executing program\n", 18executing program ) = 18 [pid 6476] memfd_create("syzkaller", 0) = 3 [pid 6476] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6476] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6476] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6476] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6476] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6476] close(3) = 0 [pid 6476] close(4) = 0 [pid 6476] mkdir("./file1", 0777) = 0 [ 407.878574][ T6476] loop0: detected capacity change from 0 to 32768 [ 407.942611][ T6476] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 407.963508][ T6476] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 407.971523][ T6476] bcachefs (loop0): Version upgrade required: [ 407.971523][ T6476] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 407.971523][ T6476] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 407.971523][ T6476] 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 [ 408.043732][ T6476] bcachefs (loop0): dropping and reconstructing all alloc info [ 408.058094][ T6476] bcachefs (loop0): accounting_read... done [ 408.064360][ T6476] bcachefs (loop0): alloc_read... done [ 408.069881][ T6476] bcachefs (loop0): stripes_read... done [ 408.075654][ T6476] bcachefs (loop0): snapshots_read... done [pid 6476] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6476] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6476] chdir("./file1") = 0 [pid 6476] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 408.081607][ T6476] bcachefs (loop0): check_allocations... done [ 408.098087][ T6476] bcachefs (loop0): going read-write [ 408.106604][ T6476] bcachefs (loop0): done starting filesystem [pid 6476] ioctl(4, LOOP_CLR_FD) = 0 [pid 6476] close(4) = 0 [pid 6476] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6476] exit_group(0) = ? [pid 6476] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6476, 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("./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, 0x5555827916f0 /* 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 [ 408.189923][ T5858] bcachefs (loop0): shutting down [ 408.195273][ T5858] bcachefs (loop0): going read-only [ 408.200821][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 408.208862][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 408.231371][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 408.244578][ T5950] bcachefs (loop0): fatal error - emergency read only [ 408.251676][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 408.261445][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 408.269003][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 408.284775][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./55/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6487 attached [pid 6487] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6487 [pid 6487] chdir("./56") = 0 [pid 6487] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6487] setpgid(0, 0) = 0 [pid 6487] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6487] write(3, "1000", 4) = 4 [pid 6487] close(3) = 0 [pid 6487] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6487] write(1, "executing program\n", 18) = 18 [pid 6487] memfd_create("syzkaller", 0) = 3 [pid 6487] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6487] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6487] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6487] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6487] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6487] close(3) = 0 [pid 6487] close(4) = 0 [pid 6487] mkdir("./file1", 0777) = 0 [ 409.512885][ T6487] loop0: detected capacity change from 0 to 32768 [ 409.577405][ T6487] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 409.598009][ T6487] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 409.606126][ T6487] bcachefs (loop0): Version upgrade required: [ 409.606126][ T6487] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 409.606126][ T6487] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 409.606126][ T6487] 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 [ 409.678002][ T6487] bcachefs (loop0): dropping and reconstructing all alloc info [ 409.692297][ T6487] bcachefs (loop0): accounting_read... done [ 409.698516][ T6487] bcachefs (loop0): alloc_read... done [ 409.704114][ T6487] bcachefs (loop0): stripes_read... done [ 409.709802][ T6487] bcachefs (loop0): snapshots_read... done [pid 6487] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6487] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6487] chdir("./file1") = 0 [pid 6487] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6487] ioctl(4, LOOP_CLR_FD) = 0 [pid 6487] close(4) = 0 [ 409.715837][ T6487] bcachefs (loop0): check_allocations... done [ 409.732222][ T6487] bcachefs (loop0): going read-write [ 409.740930][ T6487] bcachefs (loop0): done starting filesystem [pid 6487] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6487] exit_group(0) = ? [pid 6487] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6487, 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("./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, 0x5555827916f0 /* 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 [ 409.910194][ T5858] bcachefs (loop0): shutting down [ 409.915423][ T5858] bcachefs (loop0): going read-only [ 409.920615][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 409.928197][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 409.950736][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 409.965984][ T2964] bcachefs (loop0): fatal error - emergency read only [ 409.973233][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 409.983076][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 409.990759][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 410.006422][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./56/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6498 attached [pid 6498] set_robust_list(0x555582790660, 24) = 0 [pid 6498] chdir("./57" [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6498 [pid 6498] <... chdir resumed>) = 0 [pid 6498] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6498] setpgid(0, 0) = 0 [pid 6498] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6498] write(3, "1000", 4) = 4 [pid 6498] close(3) = 0 [pid 6498] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6498] write(1, "executing program\n", 18) = 18 [pid 6498] memfd_create("syzkaller", 0) = 3 [pid 6498] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6498] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6498] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6498] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6498] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6498] close(3) = 0 [pid 6498] close(4) = 0 [pid 6498] mkdir("./file1", 0777) = 0 [ 411.352806][ T6498] loop0: detected capacity change from 0 to 32768 [ 411.413344][ T6498] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 411.433634][ T6498] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 411.441707][ T6498] bcachefs (loop0): Version upgrade required: [ 411.441707][ T6498] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 411.441707][ T6498] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 411.441707][ T6498] 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 [ 411.514033][ T6498] bcachefs (loop0): dropping and reconstructing all alloc info [ 411.528704][ T6498] bcachefs (loop0): accounting_read... done [ 411.534895][ T6498] bcachefs (loop0): alloc_read... done [ 411.540446][ T6498] bcachefs (loop0): stripes_read... done [ 411.546260][ T6498] bcachefs (loop0): snapshots_read... done [pid 6498] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6498] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6498] chdir("./file1") = 0 [pid 6498] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6498] ioctl(4, LOOP_CLR_FD) = 0 [pid 6498] close(4) = 0 [pid 6498] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6498] exit_group(0) = ? [pid 6498] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6498, si_uid=0, si_status=0, si_utime=0, si_stime=29 /* 0.29 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 411.552292][ T6498] bcachefs (loop0): check_allocations... done [ 411.568718][ T6498] bcachefs (loop0): going read-write [ 411.577140][ T6498] bcachefs (loop0): done starting filesystem 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, 0x5555827916f0 /* 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 [ 411.695758][ T5858] bcachefs (loop0): shutting down [ 411.700814][ T5858] bcachefs (loop0): going read-only [ 411.706331][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 411.713910][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 411.735249][ T5950] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 411.748320][ T5950] bcachefs (loop0): fatal error - emergency read only [ 411.755902][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 411.765678][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 411.773191][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 411.788352][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./57/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6509 attached [pid 6509] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6509 [pid 6509] chdir("./58") = 0 [pid 6509] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6509] setpgid(0, 0) = 0 [pid 6509] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6509] write(3, "1000", 4) = 4 [pid 6509] close(3) = 0 [pid 6509] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6509] write(1, "executing program\n", 18executing program ) = 18 [pid 6509] memfd_create("syzkaller", 0) = 3 [pid 6509] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6509] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6509] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6509] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6509] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6509] close(3) = 0 [pid 6509] close(4) = 0 [pid 6509] mkdir("./file1", 0777) = 0 [ 413.153260][ T6509] loop0: detected capacity change from 0 to 32768 [ 413.219237][ T6509] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 413.239512][ T6509] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 413.247604][ T6509] bcachefs (loop0): Version upgrade required: [ 413.247604][ T6509] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 413.247604][ T6509] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 413.247604][ T6509] 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 [ 413.319589][ T6509] bcachefs (loop0): dropping and reconstructing all alloc info [ 413.334183][ T6509] bcachefs (loop0): accounting_read... done [ 413.340263][ T6509] bcachefs (loop0): alloc_read... done [ 413.345943][ T6509] bcachefs (loop0): stripes_read... done [ 413.351694][ T6509] bcachefs (loop0): snapshots_read... done [pid 6509] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6509] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6509] chdir("./file1") = 0 [pid 6509] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6509] ioctl(4, LOOP_CLR_FD) = 0 [pid 6509] close(4) = 0 [pid 6509] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [ 413.357701][ T6509] bcachefs (loop0): check_allocations... done [ 413.374546][ T6509] bcachefs (loop0): going read-write [ 413.382395][ T6509] bcachefs (loop0): done starting filesystem [pid 6509] exit_group(0) = ? [pid 6509] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6509, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=19 /* 0.19 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./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, 0x5555827916f0 /* 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 [ 413.559635][ T5858] bcachefs (loop0): shutting down [ 413.564857][ T5858] bcachefs (loop0): going read-only [ 413.570073][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 413.577568][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 413.599561][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 413.612792][ T11] bcachefs (loop0): fatal error - emergency read only [ 413.620050][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 413.629758][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 413.637460][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 413.652405][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./58/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6520 attached [pid 6520] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6520 [pid 6520] chdir("./59") = 0 [pid 6520] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6520] setpgid(0, 0) = 0 [pid 6520] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6520] write(3, "1000", 4) = 4 [pid 6520] close(3) = 0 [pid 6520] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6520] write(1, "executing program\n", 18) = 18 [pid 6520] memfd_create("syzkaller", 0) = 3 [pid 6520] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6520] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6520] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6520] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6520] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6520] close(3) = 0 [pid 6520] close(4) = 0 [pid 6520] mkdir("./file1", 0777) = 0 [ 415.010293][ T6520] loop0: detected capacity change from 0 to 32768 [ 415.080704][ T6520] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 415.101118][ T6520] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 415.109299][ T6520] bcachefs (loop0): Version upgrade required: [ 415.109299][ T6520] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 415.109299][ T6520] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 415.109299][ T6520] 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 [ 415.181293][ T6520] bcachefs (loop0): dropping and reconstructing all alloc info [ 415.195803][ T6520] bcachefs (loop0): accounting_read... done [ 415.201931][ T6520] bcachefs (loop0): alloc_read... done [ 415.207556][ T6520] bcachefs (loop0): stripes_read... done [ 415.213254][ T6520] bcachefs (loop0): snapshots_read... done [pid 6520] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6520] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6520] chdir("./file1") = 0 [pid 6520] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 415.219335][ T6520] bcachefs (loop0): check_allocations... done [ 415.236354][ T6520] bcachefs (loop0): going read-write [ 415.245170][ T6520] bcachefs (loop0): done starting filesystem [pid 6520] ioctl(4, LOOP_CLR_FD) = 0 [pid 6520] close(4) = 0 [pid 6520] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6520] exit_group(0) = ? [pid 6520] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6520, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./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, 0x5555827916f0 /* 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 [ 415.430565][ T5858] bcachefs (loop0): shutting down [ 415.435975][ T5858] bcachefs (loop0): going read-only [ 415.441200][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 415.448824][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 415.471508][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 415.484744][ T2964] bcachefs (loop0): fatal error - emergency read only [ 415.491854][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 415.501770][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 415.509515][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 415.524728][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./59/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6531 attached , child_tidptr=0x555582790650) = 6531 [pid 6531] set_robust_list(0x555582790660, 24) = 0 [pid 6531] chdir("./60") = 0 [pid 6531] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6531] setpgid(0, 0) = 0 [pid 6531] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6531] write(3, "1000", 4) = 4 [pid 6531] close(3) = 0 [pid 6531] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6531] write(1, "executing program\n", 18executing program ) = 18 [pid 6531] memfd_create("syzkaller", 0) = 3 [pid 6531] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6531] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6531] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6531] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6531] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6531] close(3) = 0 [pid 6531] close(4) = 0 [pid 6531] mkdir("./file1", 0777) = 0 [ 416.864962][ T6531] loop0: detected capacity change from 0 to 32768 [ 416.917512][ T6531] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 416.937659][ T6531] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 416.945894][ T6531] bcachefs (loop0): Version upgrade required: [ 416.945894][ T6531] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 416.945894][ T6531] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 416.945894][ T6531] 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 [ 417.018142][ T6531] bcachefs (loop0): dropping and reconstructing all alloc info [ 417.032670][ T6531] bcachefs (loop0): accounting_read... done [ 417.038856][ T6531] bcachefs (loop0): alloc_read... done [ 417.044433][ T6531] bcachefs (loop0): stripes_read... done [ 417.050134][ T6531] bcachefs (loop0): snapshots_read... done [pid 6531] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6531] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6531] chdir("./file1") = 0 [ 417.056171][ T6531] bcachefs (loop0): check_allocations... done [ 417.073811][ T6531] bcachefs (loop0): going read-write [ 417.082184][ T6531] bcachefs (loop0): done starting filesystem [pid 6531] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6531] ioctl(4, LOOP_CLR_FD) = 0 [pid 6531] close(4) = 0 [pid 6531] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6531] exit_group(0) = ? [pid 6531] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6531, 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("./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, 0x5555827916f0 /* 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 [ 417.284195][ T5858] bcachefs (loop0): shutting down [ 417.289274][ T5858] bcachefs (loop0): going read-only [ 417.294771][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 417.302177][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 417.324016][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 417.337061][ T11] bcachefs (loop0): fatal error - emergency read only [ 417.344439][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 417.354266][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 417.361713][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 417.377419][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./60/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6542 attached [pid 6542] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6542 [pid 6542] chdir("./61") = 0 [pid 6542] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6542] setpgid(0, 0) = 0 [pid 6542] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6542] write(3, "1000", 4) = 4 [pid 6542] close(3) = 0 [pid 6542] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6542] write(1, "executing program\n", 18executing program ) = 18 [pid 6542] memfd_create("syzkaller", 0) = 3 [pid 6542] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6542] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6542] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6542] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6542] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6542] close(3) = 0 [pid 6542] close(4) = 0 [pid 6542] mkdir("./file1", 0777) = 0 [ 418.664121][ T6542] loop0: detected capacity change from 0 to 32768 [ 418.730745][ T6542] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 418.751088][ T6542] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 418.759637][ T6542] bcachefs (loop0): Version upgrade required: [ 418.759637][ T6542] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 418.759637][ T6542] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 418.759637][ T6542] 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 [ 418.831642][ T6542] bcachefs (loop0): dropping and reconstructing all alloc info [ 418.846409][ T6542] bcachefs (loop0): accounting_read... done [ 418.852488][ T6542] bcachefs (loop0): alloc_read... done [ 418.858088][ T6542] bcachefs (loop0): stripes_read... done [ 418.863810][ T6542] bcachefs (loop0): snapshots_read... done [pid 6542] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6542] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6542] chdir("./file1") = 0 [pid 6542] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6542] ioctl(4, LOOP_CLR_FD) = 0 [ 418.869712][ T6542] bcachefs (loop0): check_allocations... done [ 418.886514][ T6542] bcachefs (loop0): going read-write [ 418.894532][ T6542] bcachefs (loop0): done starting filesystem [pid 6542] close(4) = 0 [pid 6542] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6542] exit_group(0) = ? [pid 6542] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6542, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=20 /* 0.20 s */} --- 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, 0x5555827916f0 /* 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 [ 419.094438][ T5858] bcachefs (loop0): shutting down [ 419.099514][ T5858] bcachefs (loop0): going read-only [ 419.105003][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 419.112430][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 419.135049][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 419.147798][ T11] bcachefs (loop0): fatal error - emergency read only [ 419.155117][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 419.164912][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 419.172355][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 419.188219][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./61/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6553 attached , child_tidptr=0x555582790650) = 6553 [pid 6553] set_robust_list(0x555582790660, 24) = 0 [pid 6553] chdir("./62") = 0 [pid 6553] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6553] setpgid(0, 0) = 0 [pid 6553] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6553] write(3, "1000", 4) = 4 [pid 6553] close(3) = 0 [pid 6553] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6553] write(1, "executing program\n", 18executing program ) = 18 [pid 6553] memfd_create("syzkaller", 0) = 3 [pid 6553] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6553] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6553] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6553] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6553] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6553] close(3) = 0 [pid 6553] close(4) = 0 [pid 6553] mkdir("./file1", 0777) = 0 [ 420.551156][ T6553] loop0: detected capacity change from 0 to 32768 [ 420.611277][ T6553] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 420.631412][ T6553] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 420.639844][ T6553] bcachefs (loop0): Version upgrade required: [ 420.639844][ T6553] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 420.639844][ T6553] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 420.639844][ T6553] 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 [ 420.712212][ T6553] bcachefs (loop0): dropping and reconstructing all alloc info [ 420.727564][ T6553] bcachefs (loop0): accounting_read... done [ 420.733801][ T6553] bcachefs (loop0): alloc_read... done [ 420.739350][ T6553] bcachefs (loop0): stripes_read... done [ 420.745188][ T6553] bcachefs (loop0): snapshots_read... done [pid 6553] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6553] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6553] chdir("./file1") = 0 [pid 6553] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6553] ioctl(4, LOOP_CLR_FD) = 0 [pid 6553] close(4) = 0 [ 420.751159][ T6553] bcachefs (loop0): check_allocations... done [ 420.768206][ T6553] bcachefs (loop0): going read-write [ 420.776900][ T6553] bcachefs (loop0): done starting filesystem [pid 6553] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6553] exit_group(0) = ? [pid 6553] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6553, 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("./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, 0x5555827916f0 /* 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 [ 420.970255][ T5858] bcachefs (loop0): shutting down [ 420.975461][ T5858] bcachefs (loop0): going read-only [ 420.980656][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 420.988218][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 421.011376][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 421.024425][ T11] bcachefs (loop0): fatal error - emergency read only [ 421.031458][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 421.041255][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 421.048975][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 421.064827][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./62/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6564 attached [pid 6564] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6564 [pid 6564] chdir("./63") = 0 [pid 6564] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6564] setpgid(0, 0) = 0 [pid 6564] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6564] write(3, "1000", 4) = 4 [pid 6564] close(3) = 0 [pid 6564] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6564] write(1, "executing program\n", 18) = 18 [pid 6564] memfd_create("syzkaller", 0) = 3 [pid 6564] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6564] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6564] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6564] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6564] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6564] close(3) = 0 [pid 6564] close(4) = 0 [pid 6564] mkdir("./file1", 0777) = 0 [ 422.379842][ T6564] loop0: detected capacity change from 0 to 32768 [ 422.445625][ T6564] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 422.465682][ T6564] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 422.473804][ T6564] bcachefs (loop0): Version upgrade required: [ 422.473804][ T6564] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 422.473804][ T6564] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 422.473804][ T6564] 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 [ 422.545947][ T6564] bcachefs (loop0): dropping and reconstructing all alloc info [ 422.560424][ T6564] bcachefs (loop0): accounting_read... done [ 422.566802][ T6564] bcachefs (loop0): alloc_read... done [ 422.572424][ T6564] bcachefs (loop0): stripes_read... done [ 422.578167][ T6564] bcachefs (loop0): snapshots_read... done [pid 6564] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6564] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6564] chdir("./file1") = 0 [ 422.584163][ T6564] bcachefs (loop0): check_allocations... done [ 422.601102][ T6564] bcachefs (loop0): going read-write [ 422.609427][ T6564] bcachefs (loop0): done starting filesystem [pid 6564] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6564] ioctl(4, LOOP_CLR_FD) = 0 [pid 6564] close(4) = 0 [pid 6564] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6564] exit_group(0) = ? [pid 6564] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6564, si_uid=0, si_status=0, si_utime=0, si_stime=26 /* 0.26 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, 0x5555827916f0 /* 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 [ 422.812584][ T5858] bcachefs (loop0): shutting down [ 422.817827][ T5858] bcachefs (loop0): going read-only [ 422.823024][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 422.830818][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 422.853595][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 422.866398][ T2964] bcachefs (loop0): fatal error - emergency read only [ 422.874312][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 422.884109][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 422.891561][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 422.907297][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./63/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6575 attached , child_tidptr=0x555582790650) = 6575 [pid 6575] set_robust_list(0x555582790660, 24) = 0 [pid 6575] chdir("./64") = 0 [pid 6575] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6575] setpgid(0, 0) = 0 [pid 6575] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6575] write(3, "1000", 4) = 4 [pid 6575] close(3) = 0 [pid 6575] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6575] write(1, "executing program\n", 18) = 18 [pid 6575] memfd_create("syzkaller", 0) = 3 [pid 6575] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6575] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6575] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6575] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6575] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6575] close(3) = 0 [pid 6575] close(4) = 0 [pid 6575] mkdir("./file1", 0777) = 0 [ 424.369996][ T6575] loop0: detected capacity change from 0 to 32768 [ 424.434700][ T6575] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 424.454884][ T6575] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 424.462864][ T6575] bcachefs (loop0): Version upgrade required: [ 424.462864][ T6575] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 424.462864][ T6575] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 424.462864][ T6575] 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 [ 424.535228][ T6575] bcachefs (loop0): dropping and reconstructing all alloc info [ 424.549834][ T6575] bcachefs (loop0): accounting_read... done [ 424.556249][ T6575] bcachefs (loop0): alloc_read... done [ 424.561867][ T6575] bcachefs (loop0): stripes_read... done [ 424.567607][ T6575] bcachefs (loop0): snapshots_read... done [pid 6575] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6575] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6575] chdir("./file1") = 0 [pid 6575] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6575] ioctl(4, LOOP_CLR_FD) = 0 [ 424.573604][ T6575] bcachefs (loop0): check_allocations... done [ 424.590029][ T6575] bcachefs (loop0): going read-write [ 424.598462][ T6575] bcachefs (loop0): done starting filesystem [pid 6575] close(4) = 0 [pid 6575] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6575] exit_group(0) = ? [pid 6575] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6575, si_uid=0, si_status=0, si_utime=0, si_stime=25 /* 0.25 s */} --- 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, 0x5555827916f0 /* 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 [ 424.799716][ T5858] bcachefs (loop0): shutting down [ 424.804938][ T5858] bcachefs (loop0): going read-only [ 424.810158][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 424.817771][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 424.840076][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 424.853068][ T2964] bcachefs (loop0): fatal error - emergency read only [ 424.860734][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 424.870524][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 424.878266][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 424.894541][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./64/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6586 attached , child_tidptr=0x555582790650) = 6586 [pid 6586] set_robust_list(0x555582790660, 24) = 0 [pid 6586] chdir("./65") = 0 [pid 6586] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6586] setpgid(0, 0) = 0 [pid 6586] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6586] write(3, "1000", 4) = 4 [pid 6586] close(3) = 0 [pid 6586] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6586] write(1, "executing program\n", 18executing program ) = 18 [pid 6586] memfd_create("syzkaller", 0) = 3 [pid 6586] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6586] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6586] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6586] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6586] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6586] close(3) = 0 [pid 6586] close(4) = 0 [pid 6586] mkdir("./file1", 0777) = 0 [ 426.214152][ T6586] loop0: detected capacity change from 0 to 32768 [ 426.275000][ T6586] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 426.295403][ T6586] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 426.303477][ T6586] bcachefs (loop0): Version upgrade required: [ 426.303477][ T6586] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 426.303477][ T6586] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 426.303477][ T6586] 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 [ 426.375409][ T6586] bcachefs (loop0): dropping and reconstructing all alloc info [ 426.390141][ T6586] bcachefs (loop0): accounting_read... done [ 426.396557][ T6586] bcachefs (loop0): alloc_read... done [ 426.402086][ T6586] bcachefs (loop0): stripes_read... done [ 426.407823][ T6586] bcachefs (loop0): snapshots_read... done [pid 6586] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6586] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6586] chdir("./file1") = 0 [pid 6586] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6586] ioctl(4, LOOP_CLR_FD) = 0 [ 426.413798][ T6586] bcachefs (loop0): check_allocations... done [ 426.430690][ T6586] bcachefs (loop0): going read-write [ 426.438925][ T6586] bcachefs (loop0): done starting filesystem [pid 6586] close(4) = 0 [pid 6586] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6586] exit_group(0) = ? [pid 6586] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6586, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- 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, 0x5555827916f0 /* 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 [ 426.644937][ T5858] bcachefs (loop0): shutting down [ 426.650029][ T5858] bcachefs (loop0): going read-only [ 426.655519][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 426.662920][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 426.684249][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 426.697146][ T11] bcachefs (loop0): fatal error - emergency read only [ 426.704358][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 426.714404][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 426.721858][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 426.736992][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./65/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6597 attached , child_tidptr=0x555582790650) = 6597 [pid 6597] set_robust_list(0x555582790660, 24) = 0 [pid 6597] chdir("./66") = 0 [pid 6597] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6597] setpgid(0, 0) = 0 [pid 6597] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6597] write(3, "1000", 4) = 4 [pid 6597] close(3) = 0 [pid 6597] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6597] write(1, "executing program\n", 18executing program ) = 18 [pid 6597] memfd_create("syzkaller", 0) = 3 [pid 6597] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6597] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6597] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6597] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6597] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6597] close(3) = 0 [pid 6597] close(4) = 0 [pid 6597] mkdir("./file1", 0777) = 0 [ 428.016291][ T6597] loop0: detected capacity change from 0 to 32768 [ 428.082596][ T6597] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 428.103053][ T6597] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 428.111285][ T6597] bcachefs (loop0): Version upgrade required: [ 428.111285][ T6597] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 428.111285][ T6597] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 428.111285][ T6597] 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 [ 428.183966][ T6597] bcachefs (loop0): dropping and reconstructing all alloc info [ 428.198659][ T6597] bcachefs (loop0): accounting_read... done [ 428.204853][ T6597] bcachefs (loop0): alloc_read... done [ 428.210375][ T6597] bcachefs (loop0): stripes_read... done [ 428.216305][ T6597] bcachefs (loop0): snapshots_read... done [pid 6597] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6597] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6597] chdir("./file1") = 0 [pid 6597] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 428.222256][ T6597] bcachefs (loop0): check_allocations... done [ 428.239093][ T6597] bcachefs (loop0): going read-write [ 428.247332][ T6597] bcachefs (loop0): done starting filesystem [pid 6597] ioctl(4, LOOP_CLR_FD) = 0 [pid 6597] close(4) = 0 [pid 6597] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6597] exit_group(0) = ? [pid 6597] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6597, 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("./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, 0x5555827916f0 /* 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 [ 428.324924][ T5858] bcachefs (loop0): shutting down [ 428.329980][ T5858] bcachefs (loop0): going read-only [ 428.335513][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 428.342891][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 428.365601][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 428.378694][ T2964] bcachefs (loop0): fatal error - emergency read only [ 428.386371][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 428.396372][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 428.404229][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 428.420513][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./66/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6609 attached [pid 6609] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6609 [pid 6609] chdir("./67") = 0 [pid 6609] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6609] setpgid(0, 0) = 0 [pid 6609] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6609] write(3, "1000", 4) = 4 [pid 6609] close(3) = 0 [pid 6609] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6609] write(1, "executing program\n", 18executing program ) = 18 [pid 6609] memfd_create("syzkaller", 0) = 3 [pid 6609] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6609] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6609] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6609] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6609] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6609] close(3) = 0 [pid 6609] close(4) = 0 [pid 6609] mkdir("./file1", 0777) = 0 [ 429.805365][ T6609] loop0: detected capacity change from 0 to 32768 [ 429.870133][ T6609] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 429.890327][ T6609] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 429.898768][ T6609] bcachefs (loop0): Version upgrade required: [ 429.898768][ T6609] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 429.898768][ T6609] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 429.898768][ T6609] 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 [ 429.971232][ T6609] bcachefs (loop0): dropping and reconstructing all alloc info [ 429.985804][ T6609] bcachefs (loop0): accounting_read... done [ 429.991922][ T6609] bcachefs (loop0): alloc_read... done [ 429.997750][ T6609] bcachefs (loop0): stripes_read... done [ 430.003550][ T6609] bcachefs (loop0): snapshots_read... done [pid 6609] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6609] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6609] chdir("./file1") = 0 [pid 6609] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6609] ioctl(4, LOOP_CLR_FD) = 0 [pid 6609] close(4) = 0 [pid 6609] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6609] exit_group(0) = ? [pid 6609] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6609, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [ 430.009500][ T6609] bcachefs (loop0): check_allocations... done [ 430.027258][ T6609] bcachefs (loop0): going read-write [ 430.036062][ T6609] bcachefs (loop0): done starting filesystem 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, 0x5555827916f0 /* 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 [ 430.195087][ T5858] bcachefs (loop0): shutting down [ 430.200229][ T5858] bcachefs (loop0): going read-only [ 430.205743][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 430.213187][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 430.234924][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 430.247934][ T2964] bcachefs (loop0): fatal error - emergency read only [ 430.255459][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 430.265511][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 430.272961][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 430.288926][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./67/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6620 attached , child_tidptr=0x555582790650) = 6620 [pid 6620] set_robust_list(0x555582790660, 24) = 0 [pid 6620] chdir("./68") = 0 [pid 6620] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6620] setpgid(0, 0) = 0 [pid 6620] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6620] write(3, "1000", 4) = 4 [pid 6620] close(3) = 0 [pid 6620] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6620] write(1, "executing program\n", 18) = 18 [pid 6620] memfd_create("syzkaller", 0) = 3 [pid 6620] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6620] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6620] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6620] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6620] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6620] close(3) = 0 [pid 6620] close(4) = 0 [pid 6620] mkdir("./file1", 0777) = 0 [ 431.671819][ T6620] loop0: detected capacity change from 0 to 32768 [ 431.737422][ T6620] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 431.757731][ T6620] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 431.765911][ T6620] bcachefs (loop0): Version upgrade required: [ 431.765911][ T6620] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 431.765911][ T6620] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 431.765911][ T6620] 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 [ 431.837845][ T6620] bcachefs (loop0): dropping and reconstructing all alloc info [ 431.852677][ T6620] bcachefs (loop0): accounting_read... done [ 431.858847][ T6620] bcachefs (loop0): alloc_read... done [ 431.864387][ T6620] bcachefs (loop0): stripes_read... done [ 431.870043][ T6620] bcachefs (loop0): snapshots_read... done [pid 6620] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6620] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6620] chdir("./file1") = 0 [pid 6620] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6620] ioctl(4, LOOP_CLR_FD) = 0 [pid 6620] close(4) = 0 [pid 6620] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6620] exit_group(0) = ? [pid 6620] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6620, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- 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, 0x5555827916f0 /* 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 [ 431.875966][ T6620] bcachefs (loop0): check_allocations... done [ 431.894500][ T6620] bcachefs (loop0): going read-write [ 431.902479][ T6620] bcachefs (loop0): done starting filesystem [ 431.945295][ T5858] bcachefs (loop0): shutting down [ 431.950350][ T5858] bcachefs (loop0): going read-only [ 431.956023][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 431.965663][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 431.987252][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 432.000242][ T2964] bcachefs (loop0): fatal error - emergency read only [ 432.007896][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 432.017733][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 432.025427][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 432.041122][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./68/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6631 attached [pid 6631] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6631 [pid 6631] chdir("./69") = 0 [pid 6631] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6631] setpgid(0, 0) = 0 [pid 6631] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6631] write(3, "1000", 4) = 4 [pid 6631] close(3) = 0 [pid 6631] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6631] write(1, "executing program\n", 18) = 18 [pid 6631] memfd_create("syzkaller", 0) = 3 [pid 6631] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6631] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6631] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6631] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6631] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6631] close(3) = 0 [pid 6631] close(4) = 0 [pid 6631] mkdir("./file1", 0777) = 0 [ 433.336892][ T6631] loop0: detected capacity change from 0 to 32768 [ 433.412380][ T6631] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 433.432889][ T6631] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 433.441045][ T6631] bcachefs (loop0): Version upgrade required: [ 433.441045][ T6631] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 433.441045][ T6631] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 433.441045][ T6631] 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 [ 433.513170][ T6631] bcachefs (loop0): dropping and reconstructing all alloc info [ 433.528195][ T6631] bcachefs (loop0): accounting_read... done [ 433.534328][ T6631] bcachefs (loop0): alloc_read... done [ 433.539894][ T6631] bcachefs (loop0): stripes_read... done [ 433.545875][ T6631] bcachefs (loop0): snapshots_read... done [pid 6631] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6631] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6631] chdir("./file1") = 0 [pid 6631] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 433.551806][ T6631] bcachefs (loop0): check_allocations... done [ 433.568382][ T6631] bcachefs (loop0): going read-write [ 433.576364][ T6631] bcachefs (loop0): done starting filesystem [pid 6631] ioctl(4, LOOP_CLR_FD) = 0 [pid 6631] close(4) = 0 [pid 6631] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6631] exit_group(0) = ? [pid 6631] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6631, 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("./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, 0x5555827916f0 /* 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 [ 433.673467][ T5858] bcachefs (loop0): shutting down [ 433.678540][ T5858] bcachefs (loop0): going read-only [ 433.684294][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 433.691671][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 433.714600][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 433.727681][ T6608] bcachefs (loop0): fatal error - emergency read only [ 433.735359][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 433.745168][ T5858] bcachefs (loop0): unshutdown complete, journal seq 15 [ 433.752605][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 433.768032][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./69/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6642 attached , child_tidptr=0x555582790650) = 6642 [pid 6642] set_robust_list(0x555582790660, 24) = 0 [pid 6642] chdir("./70") = 0 [pid 6642] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6642] setpgid(0, 0) = 0 [pid 6642] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6642] write(3, "1000", 4) = 4 [pid 6642] close(3) = 0 [pid 6642] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6642] write(1, "executing program\n", 18executing program ) = 18 [pid 6642] memfd_create("syzkaller", 0) = 3 [pid 6642] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6642] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6642] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6642] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6642] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6642] close(3) = 0 [pid 6642] close(4) = 0 [pid 6642] mkdir("./file1", 0777) = 0 [ 434.974666][ T6642] loop0: detected capacity change from 0 to 32768 [ 435.018005][ T6642] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 435.038036][ T6642] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 435.046172][ T6642] bcachefs (loop0): Version upgrade required: [ 435.046172][ T6642] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 435.046172][ T6642] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 435.046172][ T6642] 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 [ 435.118586][ T6642] bcachefs (loop0): dropping and reconstructing all alloc info [ 435.132901][ T6642] bcachefs (loop0): accounting_read... done [ 435.139060][ T6642] bcachefs (loop0): alloc_read... done [ 435.144654][ T6642] bcachefs (loop0): stripes_read... done [ 435.150359][ T6642] bcachefs (loop0): snapshots_read... done [pid 6642] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6642] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6642] chdir("./file1") = 0 [ 435.156322][ T6642] bcachefs (loop0): check_allocations... done [ 435.173915][ T6642] bcachefs (loop0): going read-write [ 435.182319][ T6642] bcachefs (loop0): done starting filesystem [pid 6642] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6642] ioctl(4, LOOP_CLR_FD) = 0 [pid 6642] close(4) = 0 [pid 6642] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6642] exit_group(0) = ? [pid 6642] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6642, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- 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, 0x5555827916f0 /* 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 [ 435.353186][ T5858] bcachefs (loop0): shutting down [ 435.358437][ T5858] bcachefs (loop0): going read-only [ 435.363705][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 435.371143][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 435.393003][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 435.406212][ T35] bcachefs (loop0): fatal error - emergency read only [ 435.413258][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 435.423169][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 435.430813][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 435.445953][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./70/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6653 attached , child_tidptr=0x555582790650) = 6653 [pid 6653] set_robust_list(0x555582790660, 24) = 0 [pid 6653] chdir("./71") = 0 [pid 6653] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6653] setpgid(0, 0) = 0 [pid 6653] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6653] write(3, "1000", 4) = 4 [pid 6653] close(3) = 0 [pid 6653] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6653] write(1, "executing program\n", 18) = 18 [pid 6653] memfd_create("syzkaller", 0) = 3 [pid 6653] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6653] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6653] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6653] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6653] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6653] close(3) = 0 [pid 6653] close(4) = 0 [pid 6653] mkdir("./file1", 0777) = 0 [ 436.847410][ T6653] loop0: detected capacity change from 0 to 32768 [ 436.912974][ T6653] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 436.933199][ T6653] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 436.941308][ T6653] bcachefs (loop0): Version upgrade required: [ 436.941308][ T6653] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 436.941308][ T6653] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 436.941308][ T6653] 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 [ 437.013821][ T6653] bcachefs (loop0): dropping and reconstructing all alloc info [ 437.028723][ T6653] bcachefs (loop0): accounting_read... done [ 437.035356][ T6653] bcachefs (loop0): alloc_read... done [ 437.040892][ T6653] bcachefs (loop0): stripes_read... done [ 437.046631][ T6653] bcachefs (loop0): snapshots_read... done [pid 6653] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6653] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6653] chdir("./file1") = 0 [pid 6653] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 437.052564][ T6653] bcachefs (loop0): check_allocations... done [ 437.069951][ T6653] bcachefs (loop0): going read-write [ 437.078284][ T6653] bcachefs (loop0): done starting filesystem [pid 6653] ioctl(4, LOOP_CLR_FD) = 0 [pid 6653] close(4) = 0 [pid 6653] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6653] exit_group(0) = ? [pid 6653] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6653, 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("./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, 0x5555827916f0 /* 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 [ 437.266864][ T5858] bcachefs (loop0): shutting down [ 437.271910][ T5858] bcachefs (loop0): going read-only [ 437.277399][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 437.284905][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 437.308419][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 437.321427][ T35] bcachefs (loop0): fatal error - emergency read only [ 437.329037][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 437.338901][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 437.346806][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 437.361845][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./71/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6664 attached [pid 6664] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6664 [pid 6664] <... set_robust_list resumed>) = 0 [pid 6664] chdir("./72") = 0 [pid 6664] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6664] setpgid(0, 0) = 0 [pid 6664] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6664] write(3, "1000", 4) = 4 [pid 6664] close(3) = 0 [pid 6664] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6664] write(1, "executing program\n", 18executing program ) = 18 [pid 6664] memfd_create("syzkaller", 0) = 3 [pid 6664] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6664] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6664] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6664] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6664] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6664] close(3) = 0 [pid 6664] close(4) = 0 [pid 6664] mkdir("./file1", 0777) = 0 [ 438.626578][ T6664] loop0: detected capacity change from 0 to 32768 [ 438.691746][ T6664] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 438.712451][ T6664] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 438.720561][ T6664] bcachefs (loop0): Version upgrade required: [ 438.720561][ T6664] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 438.720561][ T6664] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 438.720561][ T6664] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 438.792542][ T6664] bcachefs (loop0): dropping and reconstructing all alloc info [ 438.807179][ T6664] bcachefs (loop0): accounting_read... done [ 438.813282][ T6664] bcachefs (loop0): alloc_read... done [ 438.818877][ T6664] bcachefs (loop0): stripes_read... done [ 438.824619][ T6664] bcachefs (loop0): snapshots_read... done [pid 6664] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6664] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6664] chdir("./file1") = 0 [ 438.830519][ T6664] bcachefs (loop0): check_allocations... done [ 438.847046][ T6664] bcachefs (loop0): going read-write [ 438.855671][ T6664] bcachefs (loop0): done starting filesystem [pid 6664] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6664] ioctl(4, LOOP_CLR_FD) = 0 [pid 6664] close(4) = 0 [pid 6664] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6664] exit_group(0) = ? [pid 6664] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6664, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=18 /* 0.18 s */} --- 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, 0x5555827916f0 /* 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 [ 439.064735][ T5858] bcachefs (loop0): shutting down [ 439.069799][ T5858] bcachefs (loop0): going read-only [ 439.075302][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 439.082698][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 439.103998][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 439.117168][ T2964] bcachefs (loop0): fatal error - emergency read only [ 439.124689][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 439.134460][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 439.141911][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 439.157737][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./72/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6675 attached [pid 6675] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6675 [pid 6675] <... set_robust_list resumed>) = 0 [pid 6675] chdir("./73") = 0 [pid 6675] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6675] setpgid(0, 0) = 0 [pid 6675] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6675] write(3, "1000", 4) = 4 [pid 6675] close(3) = 0 [pid 6675] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6675] write(1, "executing program\n", 18executing program ) = 18 [pid 6675] memfd_create("syzkaller", 0) = 3 [pid 6675] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6675] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6675] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6675] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6675] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6675] close(3) = 0 [pid 6675] close(4) = 0 [pid 6675] mkdir("./file1", 0777) = 0 [ 440.461689][ T6675] loop0: detected capacity change from 0 to 32768 [ 440.545893][ T6675] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 440.565967][ T6675] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 440.574088][ T6675] bcachefs (loop0): Version upgrade required: [ 440.574088][ T6675] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 440.574088][ T6675] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 440.574088][ T6675] 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 [ 440.646254][ T6675] bcachefs (loop0): dropping and reconstructing all alloc info [ 440.660730][ T6675] bcachefs (loop0): accounting_read... done [ 440.667121][ T6675] bcachefs (loop0): alloc_read... done [ 440.672728][ T6675] bcachefs (loop0): stripes_read... done [ 440.678479][ T6675] bcachefs (loop0): snapshots_read... done [pid 6675] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6675] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6675] chdir("./file1") = 0 [pid 6675] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6675] ioctl(4, LOOP_CLR_FD) = 0 [pid 6675] close(4) = 0 [pid 6675] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6675] exit_group(0) = ? [pid 6675] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6675, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 440.684438][ T6675] bcachefs (loop0): check_allocations... done [ 440.700701][ T6675] bcachefs (loop0): going read-write [ 440.708626][ T6675] bcachefs (loop0): done starting filesystem 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, 0x5555827916f0 /* 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 [ 440.852776][ T5858] bcachefs (loop0): shutting down [ 440.858042][ T5858] bcachefs (loop0): going read-only [ 440.863257][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 440.870891][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 440.892878][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 440.906053][ T35] bcachefs (loop0): fatal error - emergency read only [ 440.913311][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 440.923161][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 440.930870][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 440.946455][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./73/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6686 attached [pid 6686] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6686 [pid 6686] chdir("./74") = 0 [pid 6686] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6686] setpgid(0, 0) = 0 [pid 6686] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6686] write(3, "1000", 4) = 4 [pid 6686] close(3) = 0 [pid 6686] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6686] write(1, "executing program\n", 18executing program ) = 18 [pid 6686] memfd_create("syzkaller", 0) = 3 [pid 6686] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6686] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6686] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6686] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6686] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6686] close(3) = 0 [pid 6686] close(4) = 0 [pid 6686] mkdir("./file1", 0777) = 0 [ 442.306556][ T6686] loop0: detected capacity change from 0 to 32768 [ 442.362985][ T6686] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 442.383304][ T6686] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 442.391851][ T6686] bcachefs (loop0): Version upgrade required: [ 442.391851][ T6686] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 442.391851][ T6686] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 442.391851][ T6686] 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 [ 442.464402][ T6686] bcachefs (loop0): dropping and reconstructing all alloc info [ 442.478778][ T6686] bcachefs (loop0): accounting_read... done [ 442.484949][ T6686] bcachefs (loop0): alloc_read... done [ 442.490467][ T6686] bcachefs (loop0): stripes_read... done [ 442.496189][ T6686] bcachefs (loop0): snapshots_read... done [pid 6686] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6686] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6686] chdir("./file1") = 0 [pid 6686] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6686] ioctl(4, LOOP_CLR_FD) = 0 [pid 6686] close(4) = 0 [pid 6686] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6686] exit_group(0) = ? [pid 6686] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6686, si_uid=0, si_status=0, si_utime=0, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./74", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 442.502110][ T6686] bcachefs (loop0): check_allocations... done [ 442.518588][ T6686] bcachefs (loop0): going read-write [ 442.526571][ T6686] bcachefs (loop0): done starting filesystem 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, 0x5555827916f0 /* 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 [ 442.670735][ T5858] bcachefs (loop0): shutting down [ 442.676075][ T5858] bcachefs (loop0): going read-only [ 442.681290][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 442.689878][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 442.711128][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 442.724305][ T2964] bcachefs (loop0): fatal error - emergency read only [ 442.731347][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 442.741046][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 442.748810][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 442.764401][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./74/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6697 attached [pid 6697] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6697 [pid 6697] chdir("./75") = 0 [pid 6697] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6697] setpgid(0, 0) = 0 [pid 6697] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6697] write(3, "1000", 4) = 4 [pid 6697] close(3) = 0 [pid 6697] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6697] write(1, "executing program\n", 18) = 18 [pid 6697] memfd_create("syzkaller", 0) = 3 [pid 6697] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6697] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6697] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6697] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6697] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6697] close(3) = 0 [pid 6697] close(4) = 0 [pid 6697] mkdir("./file1", 0777) = 0 [ 444.147500][ T6697] loop0: detected capacity change from 0 to 32768 [ 444.214074][ T6697] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 444.234309][ T6697] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 444.242311][ T6697] bcachefs (loop0): Version upgrade required: [ 444.242311][ T6697] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 444.242311][ T6697] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 444.242311][ T6697] 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 [ 444.314723][ T6697] bcachefs (loop0): dropping and reconstructing all alloc info [ 444.329343][ T6697] bcachefs (loop0): accounting_read... done [ 444.335561][ T6697] bcachefs (loop0): alloc_read... done [ 444.341084][ T6697] bcachefs (loop0): stripes_read... done [ 444.346816][ T6697] bcachefs (loop0): snapshots_read... done [pid 6697] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6697] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6697] chdir("./file1") = 0 [pid 6697] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 444.352757][ T6697] bcachefs (loop0): check_allocations... done [ 444.369832][ T6697] bcachefs (loop0): going read-write [ 444.377891][ T6697] bcachefs (loop0): done starting filesystem [pid 6697] ioctl(4, LOOP_CLR_FD) = 0 [pid 6697] close(4) = 0 [pid 6697] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6697] exit_group(0) = ? [pid 6697] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6697, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 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, 0x5555827916f0 /* 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 [ 444.577672][ T5858] bcachefs (loop0): shutting down [ 444.582754][ T5858] bcachefs (loop0): going read-only [ 444.588261][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 444.595850][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 444.617996][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 444.630782][ T2964] bcachefs (loop0): fatal error - emergency read only [ 444.638087][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 444.648021][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 444.655632][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 444.670758][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./75/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6708 attached , child_tidptr=0x555582790650) = 6708 [pid 6708] set_robust_list(0x555582790660, 24) = 0 [pid 6708] chdir("./76") = 0 [pid 6708] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6708] setpgid(0, 0) = 0 [pid 6708] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6708] write(3, "1000", 4) = 4 [pid 6708] close(3) = 0 [pid 6708] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6708] write(1, "executing program\n", 18executing program ) = 18 [pid 6708] memfd_create("syzkaller", 0) = 3 [pid 6708] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6708] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6708] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6708] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6708] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6708] close(3) = 0 [pid 6708] close(4) = 0 [pid 6708] mkdir("./file1", 0777) = 0 [ 446.018676][ T6708] loop0: detected capacity change from 0 to 32768 [ 446.083236][ T6708] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 446.103485][ T6708] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 446.111750][ T6708] bcachefs (loop0): Version upgrade required: [ 446.111750][ T6708] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 446.111750][ T6708] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 446.111750][ T6708] 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 [ 446.184014][ T6708] bcachefs (loop0): dropping and reconstructing all alloc info [ 446.198659][ T6708] bcachefs (loop0): accounting_read... done [ 446.204980][ T6708] bcachefs (loop0): alloc_read... done [ 446.210522][ T6708] bcachefs (loop0): stripes_read... done [ 446.216282][ T6708] bcachefs (loop0): snapshots_read... done [pid 6708] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6708] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6708] chdir("./file1") = 0 [pid 6708] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6708] ioctl(4, LOOP_CLR_FD) = 0 [pid 6708] close(4) = 0 [pid 6708] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6708] exit_group(0) = ? [pid 6708] +++ exited with 0 +++ [ 446.222218][ T6708] bcachefs (loop0): check_allocations... done [ 446.239408][ T6708] bcachefs (loop0): going read-write [ 446.247987][ T6708] bcachefs (loop0): done starting filesystem --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6708, 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("./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, 0x5555827916f0 /* 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 [ 446.415137][ T5858] bcachefs (loop0): shutting down [ 446.420235][ T5858] bcachefs (loop0): going read-only [ 446.425690][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 446.433092][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 446.455632][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 446.468415][ T6608] bcachefs (loop0): fatal error - emergency read only [ 446.475656][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 446.485446][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 446.492897][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 446.509204][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./76/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6719 attached [pid 6719] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6719 [pid 6719] chdir("./77") = 0 [pid 6719] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6719] setpgid(0, 0) = 0 [pid 6719] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6719] write(3, "1000", 4) = 4 [pid 6719] close(3) = 0 [pid 6719] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6719] write(1, "executing program\n", 18executing program ) = 18 [pid 6719] memfd_create("syzkaller", 0) = 3 [pid 6719] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6719] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6719] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6719] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6719] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6719] close(3) = 0 [pid 6719] close(4) = 0 [pid 6719] mkdir("./file1", 0777) = 0 [ 447.875558][ T6719] loop0: detected capacity change from 0 to 32768 [ 447.941411][ T6719] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 447.962230][ T6719] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 447.970465][ T6719] bcachefs (loop0): Version upgrade required: [ 447.970465][ T6719] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 447.970465][ T6719] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 447.970465][ T6719] 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 [ 448.043257][ T6719] bcachefs (loop0): dropping and reconstructing all alloc info [ 448.058345][ T6719] bcachefs (loop0): accounting_read... done [ 448.064515][ T6719] bcachefs (loop0): alloc_read... done [ 448.070070][ T6719] bcachefs (loop0): stripes_read... done [ 448.075824][ T6719] bcachefs (loop0): snapshots_read... done [pid 6719] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6719] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6719] chdir("./file1") = 0 [pid 6719] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6719] ioctl(4, LOOP_CLR_FD) = 0 [pid 6719] close(4) = 0 [pid 6719] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6719] exit_group(0) = ? [pid 6719] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6719, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=23 /* 0.23 s */} --- [ 448.081758][ T6719] bcachefs (loop0): check_allocations... done [ 448.098988][ T6719] bcachefs (loop0): going read-write [ 448.107784][ T6719] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x5555827916f0 /* 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 [ 448.264704][ T5858] bcachefs (loop0): shutting down [ 448.269764][ T5858] bcachefs (loop0): going read-only [ 448.275725][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 448.283085][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 448.305495][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 448.318438][ T2964] bcachefs (loop0): fatal error - emergency read only [ 448.325914][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 448.335662][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 448.343108][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 448.359244][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./77/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6730 attached [pid 6730] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6730 [pid 6730] chdir("./78") = 0 [pid 6730] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6730] setpgid(0, 0) = 0 [pid 6730] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6730] write(3, "1000", 4) = 4 [pid 6730] close(3) = 0 [pid 6730] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6730] write(1, "executing program\n", 18) = 18 [pid 6730] memfd_create("syzkaller", 0) = 3 [pid 6730] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6730] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6730] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6730] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6730] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6730] close(3) = 0 [pid 6730] close(4) = 0 [pid 6730] mkdir("./file1", 0777) = 0 [ 449.591034][ T6730] loop0: detected capacity change from 0 to 32768 [ 449.658751][ T6730] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 449.679512][ T6730] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 449.687713][ T6730] bcachefs (loop0): Version upgrade required: [ 449.687713][ T6730] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 449.687713][ T6730] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 449.687713][ T6730] 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 [ 449.760047][ T6730] bcachefs (loop0): dropping and reconstructing all alloc info [ 449.774598][ T6730] bcachefs (loop0): accounting_read... done [ 449.780710][ T6730] bcachefs (loop0): alloc_read... done [ 449.786295][ T6730] bcachefs (loop0): stripes_read... done [ 449.791981][ T6730] bcachefs (loop0): snapshots_read... done [pid 6730] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6730] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6730] chdir("./file1") = 0 [pid 6730] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6730] ioctl(4, LOOP_CLR_FD) = 0 [ 449.798086][ T6730] bcachefs (loop0): check_allocations... done [ 449.815232][ T6730] bcachefs (loop0): going read-write [ 449.823717][ T6730] bcachefs (loop0): done starting filesystem [pid 6730] close(4) = 0 [pid 6730] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6730] exit_group(0) = ? [pid 6730] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6730, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=21 /* 0.21 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, 0x5555827916f0 /* 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 [ 450.024846][ T5858] bcachefs (loop0): shutting down [ 450.029908][ T5858] bcachefs (loop0): going read-only [ 450.035354][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 450.042799][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 450.064707][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 450.077678][ T6608] bcachefs (loop0): fatal error - emergency read only [ 450.085049][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 450.094770][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 450.102210][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 450.117925][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./78/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6741 attached [pid 6741] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6741 [pid 6741] chdir("./79") = 0 [pid 6741] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6741] setpgid(0, 0) = 0 [pid 6741] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6741] write(3, "1000", 4) = 4 [pid 6741] close(3) = 0 [pid 6741] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6741] write(1, "executing program\n", 18executing program ) = 18 [pid 6741] memfd_create("syzkaller", 0) = 3 [pid 6741] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6741] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6741] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6741] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6741] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6741] close(3) = 0 [pid 6741] close(4) = 0 [pid 6741] mkdir("./file1", 0777) = 0 [ 451.404160][ T6741] loop0: detected capacity change from 0 to 32768 [ 451.481843][ T6741] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 451.501929][ T6741] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 451.510180][ T6741] bcachefs (loop0): Version upgrade required: [ 451.510180][ T6741] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 451.510180][ T6741] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 451.510180][ T6741] 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 [ 451.582103][ T6741] bcachefs (loop0): dropping and reconstructing all alloc info [ 451.596594][ T6741] bcachefs (loop0): accounting_read... done [ 451.602659][ T6741] bcachefs (loop0): alloc_read... done [ 451.608264][ T6741] bcachefs (loop0): stripes_read... done [ 451.614038][ T6741] bcachefs (loop0): snapshots_read... done [pid 6741] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6741] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6741] chdir("./file1") = 0 [pid 6741] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6741] ioctl(4, LOOP_CLR_FD) = 0 [pid 6741] close(4) = 0 [ 451.619919][ T6741] bcachefs (loop0): check_allocations... done [ 451.637003][ T6741] bcachefs (loop0): going read-write [ 451.645280][ T6741] bcachefs (loop0): done starting filesystem [pid 6741] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6741] exit_group(0) = ? [pid 6741] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6741, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=19 /* 0.19 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, 0x5555827916f0 /* 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 [ 451.723218][ T5858] bcachefs (loop0): shutting down [ 451.728686][ T5858] bcachefs (loop0): going read-only [ 451.733995][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 451.741358][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 451.764451][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 451.777482][ T35] bcachefs (loop0): fatal error - emergency read only [ 451.784661][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 451.794571][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 451.802084][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 451.818886][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./79/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6753 attached [pid 6753] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6753 [pid 6753] <... set_robust_list resumed>) = 0 [pid 6753] chdir("./80") = 0 [pid 6753] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6753] setpgid(0, 0) = 0 [pid 6753] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6753] write(3, "1000", 4) = 4 [pid 6753] close(3) = 0 [pid 6753] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6753] write(1, "executing program\n", 18) = 18 [pid 6753] memfd_create("syzkaller", 0) = 3 [pid 6753] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6753] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6753] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6753] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6753] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6753] close(3) = 0 [pid 6753] close(4) = 0 [pid 6753] mkdir("./file1", 0777) = 0 [ 453.119658][ T6753] loop0: detected capacity change from 0 to 32768 [ 453.186916][ T6753] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 453.206971][ T6753] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 453.215136][ T6753] bcachefs (loop0): Version upgrade required: [ 453.215136][ T6753] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 453.215136][ T6753] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 453.215136][ T6753] 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 [ 453.287121][ T6753] bcachefs (loop0): dropping and reconstructing all alloc info [ 453.301402][ T6753] bcachefs (loop0): accounting_read... done [ 453.307746][ T6753] bcachefs (loop0): alloc_read... done [ 453.313258][ T6753] bcachefs (loop0): stripes_read... done [ 453.319244][ T6753] bcachefs (loop0): snapshots_read... done [pid 6753] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6753] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6753] chdir("./file1") = 0 [pid 6753] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6753] ioctl(4, LOOP_CLR_FD) = 0 [ 453.325238][ T6753] bcachefs (loop0): check_allocations... done [ 453.342214][ T6753] bcachefs (loop0): going read-write [ 453.350772][ T6753] bcachefs (loop0): done starting filesystem [pid 6753] close(4) = 0 [pid 6753] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6753] exit_group(0) = ? [pid 6753] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6753, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- 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, 0x5555827916f0 /* 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 [ 453.537943][ T5858] bcachefs (loop0): shutting down [ 453.543038][ T5858] bcachefs (loop0): going read-only [ 453.548479][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 453.555875][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 453.578188][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 453.590842][ T2964] bcachefs (loop0): fatal error - emergency read only [ 453.598017][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 453.607797][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 453.615474][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 453.630708][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./80/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6764 attached , child_tidptr=0x555582790650) = 6764 [pid 6764] set_robust_list(0x555582790660, 24) = 0 [pid 6764] chdir("./81") = 0 [pid 6764] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6764] setpgid(0, 0) = 0 [pid 6764] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6764] write(3, "1000", 4) = 4 [pid 6764] close(3) = 0 [pid 6764] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6764] write(1, "executing program\n", 18executing program ) = 18 [pid 6764] memfd_create("syzkaller", 0) = 3 [pid 6764] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6764] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6764] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6764] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6764] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6764] close(3) = 0 [pid 6764] close(4) = 0 [pid 6764] mkdir("./file1", 0777) = 0 [ 454.987932][ T6764] loop0: detected capacity change from 0 to 32768 [ 455.053416][ T6764] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 455.073829][ T6764] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 455.081850][ T6764] bcachefs (loop0): Version upgrade required: [ 455.081850][ T6764] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 455.081850][ T6764] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 455.081850][ T6764] 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 [ 455.154865][ T6764] bcachefs (loop0): dropping and reconstructing all alloc info [ 455.169174][ T6764] bcachefs (loop0): accounting_read... done [ 455.175345][ T6764] bcachefs (loop0): alloc_read... done [ 455.180868][ T6764] bcachefs (loop0): stripes_read... done [ 455.186639][ T6764] bcachefs (loop0): snapshots_read... done [pid 6764] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6764] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6764] chdir("./file1") = 0 [pid 6764] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6764] ioctl(4, LOOP_CLR_FD) = 0 [pid 6764] close(4) = 0 [pid 6764] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6764] exit_group(0) = ? [pid 6764] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6764, 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("./81", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 455.192581][ T6764] bcachefs (loop0): check_allocations... done [ 455.209579][ T6764] bcachefs (loop0): going read-write [ 455.218520][ T6764] 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, 0x5555827916f0 /* 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 [ 455.327345][ T5858] bcachefs (loop0): shutting down [ 455.332393][ T5858] bcachefs (loop0): going read-only [ 455.337914][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 455.345384][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 455.366687][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 455.379788][ T2964] bcachefs (loop0): fatal error - emergency read only [ 455.387342][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 455.397251][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 455.404932][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 455.420126][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./81/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6775 attached [pid 6775] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6775 [pid 6775] chdir("./82") = 0 [pid 6775] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6775] setpgid(0, 0) = 0 [pid 6775] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6775] write(3, "1000", 4) = 4 [pid 6775] close(3) = 0 [pid 6775] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6775] write(1, "executing program\n", 18) = 18 [pid 6775] memfd_create("syzkaller", 0) = 3 [pid 6775] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6775] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6775] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6775] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6775] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6775] close(3) = 0 [pid 6775] close(4) = 0 [pid 6775] mkdir("./file1", 0777) = 0 [ 456.737911][ T6775] loop0: detected capacity change from 0 to 32768 [ 456.806572][ T6775] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 456.826730][ T6775] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 456.835203][ T6775] bcachefs (loop0): Version upgrade required: [ 456.835203][ T6775] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 456.835203][ T6775] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 456.835203][ T6775] 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 [ 456.907140][ T6775] bcachefs (loop0): dropping and reconstructing all alloc info [ 456.921249][ T6775] bcachefs (loop0): accounting_read... done [ 456.927418][ T6775] bcachefs (loop0): alloc_read... done [ 456.932950][ T6775] bcachefs (loop0): stripes_read... done [ 456.938755][ T6775] bcachefs (loop0): snapshots_read... done [pid 6775] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6775] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6775] chdir("./file1") = 0 [pid 6775] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 456.944740][ T6775] bcachefs (loop0): check_allocations... done [ 456.961207][ T6775] bcachefs (loop0): going read-write [ 456.969699][ T6775] bcachefs (loop0): done starting filesystem [pid 6775] ioctl(4, LOOP_CLR_FD) = 0 [pid 6775] close(4) = 0 [pid 6775] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6775] exit_group(0) = ? [pid 6775] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6775, 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("./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, 0x5555827916f0 /* 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 [ 457.173697][ T5858] bcachefs (loop0): shutting down [ 457.178742][ T5858] bcachefs (loop0): going read-only [ 457.184234][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 457.191610][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 457.213291][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 457.226249][ T2964] bcachefs (loop0): fatal error - emergency read only [ 457.233655][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 457.243456][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 457.250954][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 457.266682][ T5858] 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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./82/file1") = 0 getdents64(3, 0x5555827916f0 /* 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 6786 attached [pid 6786] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6786 [pid 6786] chdir("./83") = 0 [pid 6786] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6786] setpgid(0, 0) = 0 [pid 6786] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6786] write(3, "1000", 4) = 4 [pid 6786] close(3) = 0 [pid 6786] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6786] write(1, "executing program\n", 18executing program ) = 18 [pid 6786] memfd_create("syzkaller", 0) = 3 [pid 6786] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6786] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6786] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6786] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6786] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6786] close(3) = 0 [pid 6786] close(4) = 0 [pid 6786] mkdir("./file1", 0777) = 0 [ 458.705177][ T6786] loop0: detected capacity change from 0 to 32768 [ 458.774855][ T6786] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 458.795017][ T6786] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 458.803041][ T6786] bcachefs (loop0): Version upgrade required: [ 458.803041][ T6786] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 458.803041][ T6786] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 458.803041][ T6786] 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 [ 458.875479][ T6786] bcachefs (loop0): dropping and reconstructing all alloc info [ 458.890325][ T6786] bcachefs (loop0): accounting_read... done [ 458.896486][ T6786] bcachefs (loop0): alloc_read... done [ 458.902071][ T6786] bcachefs (loop0): stripes_read... done [ 458.907847][ T6786] bcachefs (loop0): snapshots_read... done [pid 6786] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6786] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6786] chdir("./file1") = 0 [pid 6786] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 458.913813][ T6786] bcachefs (loop0): check_allocations... done [ 458.930898][ T6786] bcachefs (loop0): going read-write [ 458.939640][ T6786] bcachefs (loop0): done starting filesystem [pid 6786] ioctl(4, LOOP_CLR_FD) = 0 [pid 6786] close(4) = 0 [pid 6786] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6786] exit_group(0) = ? [pid 6786] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6786, 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("./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, 0x5555827916f0 /* 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 [ 459.018322][ T5858] bcachefs (loop0): shutting down [ 459.023668][ T5858] bcachefs (loop0): going read-only [ 459.028867][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 459.036571][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 459.060006][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 459.073106][ T35] bcachefs (loop0): fatal error - emergency read only [ 459.080415][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 459.090200][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 459.097881][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 459.113098][ T5858] bcachefs (loop0): shutdown complete umount2("./83/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./83/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./83/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./83/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./83/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./83/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./83") = 0 mkdir("./84", 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 6797 attached [pid 6797] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6797 [pid 6797] chdir("./84") = 0 [pid 6797] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6797] setpgid(0, 0) = 0 [pid 6797] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6797] write(3, "1000", 4) = 4 [pid 6797] close(3) = 0 [pid 6797] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6797] write(1, "executing program\n", 18) = 18 [pid 6797] memfd_create("syzkaller", 0) = 3 [pid 6797] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6797] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6797] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6797] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6797] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6797] close(3) = 0 [pid 6797] close(4) = 0 [pid 6797] mkdir("./file1", 0777) = 0 [ 460.412339][ T6797] loop0: detected capacity change from 0 to 32768 [ 460.479674][ T6797] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 460.499930][ T6797] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 460.508408][ T6797] bcachefs (loop0): Version upgrade required: [ 460.508408][ T6797] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 460.508408][ T6797] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 460.508408][ T6797] 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 [ 460.580336][ T6797] bcachefs (loop0): dropping and reconstructing all alloc info [ 460.595098][ T6797] bcachefs (loop0): accounting_read... done [ 460.601173][ T6797] bcachefs (loop0): alloc_read... done [ 460.606799][ T6797] bcachefs (loop0): stripes_read... done [ 460.612545][ T6797] bcachefs (loop0): snapshots_read... done [pid 6797] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6797] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6797] chdir("./file1") = 0 [pid 6797] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6797] ioctl(4, LOOP_CLR_FD) = 0 [pid 6797] close(4) = 0 [pid 6797] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6797] exit_group(0) = ? [pid 6797] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6797, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./84", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./84", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 460.618745][ T6797] bcachefs (loop0): check_allocations... done [ 460.636185][ T6797] bcachefs (loop0): going read-write [ 460.644624][ T6797] bcachefs (loop0): done starting filesystem newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./84/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./84/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./84/binderfs") = 0 [ 460.719025][ T5858] bcachefs (loop0): shutting down [ 460.724541][ T5858] bcachefs (loop0): going read-only [ 460.729735][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 460.737407][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 460.759035][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 460.772059][ T35] bcachefs (loop0): fatal error - emergency read only [ 460.779831][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 460.789573][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 460.797292][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 460.812365][ T5858] bcachefs (loop0): shutdown complete umount2("./84/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./84/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./84/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./84/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./84/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./84/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./84") = 0 mkdir("./85", 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 6808 attached [pid 6808] set_robust_list(0x555582790660, 24) = 0 [pid 6808] chdir("./85" [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6808 [pid 6808] <... chdir resumed>) = 0 [pid 6808] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6808] setpgid(0, 0) = 0 [pid 6808] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6808] write(3, "1000", 4) = 4 [pid 6808] close(3) = 0 [pid 6808] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6808] write(1, "executing program\n", 18) = 18 [pid 6808] memfd_create("syzkaller", 0) = 3 [pid 6808] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6808] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6808] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6808] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6808] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6808] close(3) = 0 [pid 6808] close(4) = 0 [pid 6808] mkdir("./file1", 0777) = 0 [ 462.094196][ T6808] loop0: detected capacity change from 0 to 32768 [ 462.159708][ T6808] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 462.180047][ T6808] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 462.188261][ T6808] bcachefs (loop0): Version upgrade required: [ 462.188261][ T6808] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 462.188261][ T6808] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 462.188261][ T6808] 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 [ 462.260322][ T6808] bcachefs (loop0): dropping and reconstructing all alloc info [ 462.275054][ T6808] bcachefs (loop0): accounting_read... done [ 462.281113][ T6808] bcachefs (loop0): alloc_read... done [ 462.286706][ T6808] bcachefs (loop0): stripes_read... done [ 462.292400][ T6808] bcachefs (loop0): snapshots_read... done [pid 6808] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6808] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6808] chdir("./file1") = 0 [pid 6808] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6808] ioctl(4, LOOP_CLR_FD) = 0 [ 462.298542][ T6808] bcachefs (loop0): check_allocations... done [ 462.314852][ T6808] bcachefs (loop0): going read-write [ 462.323068][ T6808] bcachefs (loop0): done starting filesystem [pid 6808] close(4) = 0 [pid 6808] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6808] exit_group(0) = ? [pid 6808] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6808, 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("./85", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./85", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./85/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./85/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./85/binderfs") = 0 [ 462.497094][ T5858] bcachefs (loop0): shutting down [ 462.502164][ T5858] bcachefs (loop0): going read-only [ 462.507634][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 462.515773][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 462.538746][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 462.551939][ T2964] bcachefs (loop0): fatal error - emergency read only [ 462.559177][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 462.569044][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 462.576811][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 462.591891][ T5858] bcachefs (loop0): shutdown complete umount2("./85/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./85/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./85/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./85/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./85/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./85/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./85") = 0 mkdir("./86", 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 6819 attached , child_tidptr=0x555582790650) = 6819 [pid 6819] set_robust_list(0x555582790660, 24) = 0 [pid 6819] chdir("./86") = 0 [pid 6819] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6819] setpgid(0, 0) = 0 [pid 6819] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6819] write(3, "1000", 4) = 4 [pid 6819] close(3) = 0 [pid 6819] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6819] write(1, "executing program\n", 18) = 18 [pid 6819] memfd_create("syzkaller", 0) = 3 [pid 6819] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6819] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6819] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6819] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6819] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6819] close(3) = 0 [pid 6819] close(4) = 0 [pid 6819] mkdir("./file1", 0777) = 0 [ 463.893658][ T6819] loop0: detected capacity change from 0 to 32768 [ 463.960913][ T6819] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 463.981326][ T6819] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 463.989589][ T6819] bcachefs (loop0): Version upgrade required: [ 463.989589][ T6819] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 463.989589][ T6819] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 463.989589][ T6819] 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 [ 464.062509][ T6819] bcachefs (loop0): dropping and reconstructing all alloc info [ 464.076855][ T6819] bcachefs (loop0): accounting_read... done [ 464.082918][ T6819] bcachefs (loop0): alloc_read... done [ 464.088502][ T6819] bcachefs (loop0): stripes_read... done [ 464.094247][ T6819] bcachefs (loop0): snapshots_read... done [pid 6819] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6819] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6819] chdir("./file1") = 0 [pid 6819] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6819] ioctl(4, LOOP_CLR_FD) = 0 [pid 6819] close(4) = 0 [pid 6819] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6819] exit_group(0) = ? [pid 6819] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6819, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 464.100156][ T6819] bcachefs (loop0): check_allocations... done [ 464.116622][ T6819] bcachefs (loop0): going read-write [ 464.125271][ T6819] bcachefs (loop0): done starting filesystem umount2("./86", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./86", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./86/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./86/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./86/binderfs") = 0 [ 464.286991][ T5858] bcachefs (loop0): shutting down [ 464.292058][ T5858] bcachefs (loop0): going read-only [ 464.297468][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 464.304906][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 464.327145][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 464.339828][ T2964] bcachefs (loop0): fatal error - emergency read only [ 464.347105][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 464.356880][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 464.364557][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 464.380512][ T5858] bcachefs (loop0): shutdown complete umount2("./86/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./86/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./86/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./86/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./86/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./86/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./86") = 0 mkdir("./87", 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 6830 attached [pid 6830] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6830 [pid 6830] chdir("./87") = 0 [pid 6830] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6830] setpgid(0, 0) = 0 [pid 6830] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6830] write(3, "1000", 4) = 4 [pid 6830] close(3) = 0 [pid 6830] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6830] write(1, "executing program\n", 18executing program ) = 18 [pid 6830] memfd_create("syzkaller", 0) = 3 [pid 6830] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6830] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6830] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6830] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6830] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6830] close(3) = 0 [pid 6830] close(4) = 0 [pid 6830] mkdir("./file1", 0777) = 0 [ 465.630560][ T6830] loop0: detected capacity change from 0 to 32768 [ 465.699290][ T6830] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 465.719835][ T6830] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 465.728228][ T6830] bcachefs (loop0): Version upgrade required: [ 465.728228][ T6830] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 465.728228][ T6830] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 465.728228][ T6830] 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 [ 465.800478][ T6830] bcachefs (loop0): dropping and reconstructing all alloc info [ 465.815311][ T6830] bcachefs (loop0): accounting_read... done [ 465.821434][ T6830] bcachefs (loop0): alloc_read... done [ 465.827046][ T6830] bcachefs (loop0): stripes_read... done [ 465.832780][ T6830] bcachefs (loop0): snapshots_read... done [pid 6830] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6830] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6830] chdir("./file1") = 0 [ 465.841409][ T6830] bcachefs (loop0): check_allocations... done [ 465.858782][ T6830] bcachefs (loop0): going read-write [ 465.867540][ T6830] bcachefs (loop0): done starting filesystem [pid 6830] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6830] ioctl(4, LOOP_CLR_FD) = 0 [pid 6830] close(4) = 0 [pid 6830] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6830] exit_group(0) = ? [pid 6830] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6830, 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("./87", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./87", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./87/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./87/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./87/binderfs") = 0 [ 466.072051][ T5858] bcachefs (loop0): shutting down [ 466.077424][ T5858] bcachefs (loop0): going read-only [ 466.082626][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 466.090268][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 466.113060][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 466.126297][ T35] bcachefs (loop0): fatal error - emergency read only [ 466.133581][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 466.143781][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 466.151239][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 466.168413][ T5858] bcachefs (loop0): shutdown complete umount2("./87/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./87/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./87/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./87/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./87/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./87/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./87") = 0 mkdir("./88", 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 6841 attached , child_tidptr=0x555582790650) = 6841 [pid 6841] set_robust_list(0x555582790660, 24) = 0 [pid 6841] chdir("./88") = 0 [pid 6841] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6841] setpgid(0, 0) = 0 [pid 6841] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6841] write(3, "1000", 4) = 4 [pid 6841] close(3) = 0 [pid 6841] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6841] write(1, "executing program\n", 18executing program ) = 18 [pid 6841] memfd_create("syzkaller", 0) = 3 [pid 6841] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6841] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6841] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6841] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6841] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6841] close(3) = 0 [pid 6841] close(4) = 0 [pid 6841] mkdir("./file1", 0777) = 0 [ 467.567150][ T6841] loop0: detected capacity change from 0 to 32768 [ 467.634970][ T6841] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 467.655215][ T6841] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 467.663231][ T6841] bcachefs (loop0): Version upgrade required: [ 467.663231][ T6841] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 467.663231][ T6841] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 467.663231][ T6841] 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 [ 467.735411][ T6841] bcachefs (loop0): dropping and reconstructing all alloc info [ 467.749551][ T6841] bcachefs (loop0): accounting_read... done [ 467.755734][ T6841] bcachefs (loop0): alloc_read... done [ 467.761254][ T6841] bcachefs (loop0): stripes_read... done [ 467.766970][ T6841] bcachefs (loop0): snapshots_read... done [pid 6841] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6841] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6841] chdir("./file1") = 0 [pid 6841] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6841] ioctl(4, LOOP_CLR_FD) = 0 [pid 6841] close(4) = 0 [ 467.772888][ T6841] bcachefs (loop0): check_allocations... done [ 467.789238][ T6841] bcachefs (loop0): going read-write [ 467.797489][ T6841] bcachefs (loop0): done starting filesystem [pid 6841] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6841] exit_group(0) = ? [pid 6841] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6841, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./88", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./88", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./88/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./88/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./88/binderfs") = 0 [ 467.981044][ T5858] bcachefs (loop0): shutting down [ 467.986267][ T5858] bcachefs (loop0): going read-only [ 467.991458][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 467.999018][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 468.021900][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 468.035097][ T2964] bcachefs (loop0): fatal error - emergency read only [ 468.042232][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 468.051968][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 468.059711][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 468.075634][ T5858] bcachefs (loop0): shutdown complete umount2("./88/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./88/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./88/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./88/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./88/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./88/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./88") = 0 mkdir("./89", 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 6852 attached , child_tidptr=0x555582790650) = 6852 [pid 6852] set_robust_list(0x555582790660, 24) = 0 [pid 6852] chdir("./89") = 0 [pid 6852] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6852] setpgid(0, 0) = 0 [pid 6852] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6852] write(3, "1000", 4) = 4 [pid 6852] close(3) = 0 [pid 6852] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6852] write(1, "executing program\n", 18) = 18 [pid 6852] memfd_create("syzkaller", 0) = 3 [pid 6852] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6852] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6852] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6852] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6852] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6852] close(3) = 0 [pid 6852] close(4) = 0 [pid 6852] mkdir("./file1", 0777) = 0 [ 469.353898][ T6852] loop0: detected capacity change from 0 to 32768 [ 469.407825][ T6852] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 469.427888][ T6852] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 469.436000][ T6852] bcachefs (loop0): Version upgrade required: [ 469.436000][ T6852] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 469.436000][ T6852] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 469.436000][ T6852] 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 [ 469.507901][ T6852] bcachefs (loop0): dropping and reconstructing all alloc info [ 469.522396][ T6852] bcachefs (loop0): accounting_read... done [ 469.528467][ T6852] bcachefs (loop0): alloc_read... done [ 469.534204][ T6852] bcachefs (loop0): stripes_read... done [ 469.539898][ T6852] bcachefs (loop0): snapshots_read... done [pid 6852] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6852] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6852] chdir("./file1") = 0 [pid 6852] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6852] ioctl(4, LOOP_CLR_FD) = 0 [pid 6852] close(4) = 0 [pid 6852] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6852] exit_group(0) = ? [ 469.546110][ T6852] bcachefs (loop0): check_allocations... done [ 469.562758][ T6852] bcachefs (loop0): going read-write [ 469.570621][ T6852] bcachefs (loop0): done starting filesystem [pid 6852] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6852, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- umount2("./89", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./89", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./89/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./89/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./89/binderfs") = 0 [ 469.680861][ T5858] bcachefs (loop0): shutting down [ 469.686107][ T5858] bcachefs (loop0): going read-only [ 469.691331][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 469.698899][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 469.721152][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 469.734240][ T35] bcachefs (loop0): fatal error - emergency read only [ 469.741297][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 469.751094][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 469.758743][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 469.775320][ T5858] bcachefs (loop0): shutdown complete umount2("./89/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./89/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./89/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./89/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./89/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./89/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./89") = 0 mkdir("./90", 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 6863 attached [pid 6863] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6863 [pid 6863] <... set_robust_list resumed>) = 0 [pid 6863] chdir("./90") = 0 [pid 6863] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6863] setpgid(0, 0) = 0 [pid 6863] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6863] write(3, "1000", 4) = 4 [pid 6863] close(3) = 0 [pid 6863] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6863] write(1, "executing program\n", 18executing program ) = 18 [pid 6863] memfd_create("syzkaller", 0) = 3 [pid 6863] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6863] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6863] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6863] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6863] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6863] close(3) = 0 [pid 6863] close(4) = 0 [pid 6863] mkdir("./file1", 0777) = 0 [ 471.143435][ T6863] loop0: detected capacity change from 0 to 32768 [ 471.211610][ T6863] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 471.232217][ T6863] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 471.240461][ T6863] bcachefs (loop0): Version upgrade required: [ 471.240461][ T6863] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 471.240461][ T6863] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 471.240461][ T6863] 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 [ 471.312465][ T6863] bcachefs (loop0): dropping and reconstructing all alloc info [ 471.326891][ T6863] bcachefs (loop0): accounting_read... done [ 471.332971][ T6863] bcachefs (loop0): alloc_read... done [ 471.338547][ T6863] bcachefs (loop0): stripes_read... done [ 471.344309][ T6863] bcachefs (loop0): snapshots_read... done [pid 6863] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6863] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6863] chdir("./file1") = 0 [ 471.350179][ T6863] bcachefs (loop0): check_allocations... done [ 471.366877][ T6863] bcachefs (loop0): going read-write [ 471.374904][ T6863] bcachefs (loop0): done starting filesystem [pid 6863] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6863] ioctl(4, LOOP_CLR_FD) = 0 [pid 6863] close(4) = 0 [pid 6863] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6863] exit_group(0) = ? [pid 6863] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6863, 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("./90", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./90", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./90/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./90/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./90/binderfs") = 0 [ 471.567211][ T5858] bcachefs (loop0): shutting down [ 471.572268][ T5858] bcachefs (loop0): going read-only [ 471.577698][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 471.585134][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 471.606927][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 471.619989][ T35] bcachefs (loop0): fatal error - emergency read only [ 471.627187][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 471.637495][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 471.645483][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 471.660773][ T5858] bcachefs (loop0): shutdown complete umount2("./90/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./90/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./90/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./90/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./90/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./90/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./90") = 0 mkdir("./91", 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 6874 attached [pid 6874] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6874 [pid 6874] chdir("./91") = 0 [pid 6874] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6874] setpgid(0, 0) = 0 [pid 6874] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6874] write(3, "1000", 4) = 4 [pid 6874] close(3) = 0 [pid 6874] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6874] write(1, "executing program\n", 18) = 18 [pid 6874] memfd_create("syzkaller", 0) = 3 [pid 6874] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6874] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6874] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6874] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6874] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6874] close(3) = 0 [pid 6874] close(4) = 0 [pid 6874] mkdir("./file1", 0777) = 0 [ 473.002129][ T6874] loop0: detected capacity change from 0 to 32768 [ 473.068807][ T6874] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 473.088921][ T6874] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 473.097500][ T6874] bcachefs (loop0): Version upgrade required: [ 473.097500][ T6874] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 473.097500][ T6874] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 473.097500][ T6874] 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 [ 473.169665][ T6874] bcachefs (loop0): dropping and reconstructing all alloc info [ 473.184493][ T6874] bcachefs (loop0): accounting_read... done [ 473.190601][ T6874] bcachefs (loop0): alloc_read... done [ 473.196292][ T6874] bcachefs (loop0): stripes_read... done [ 473.201979][ T6874] bcachefs (loop0): snapshots_read... done [pid 6874] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6874] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6874] chdir("./file1") = 0 [pid 6874] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6874] ioctl(4, LOOP_CLR_FD) = 0 [ 473.207980][ T6874] bcachefs (loop0): check_allocations... done [ 473.224842][ T6874] bcachefs (loop0): going read-write [ 473.233315][ T6874] bcachefs (loop0): done starting filesystem [pid 6874] close(4) = 0 [pid 6874] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6874] exit_group(0) = ? [pid 6874] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6874, 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("./91", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./91", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./91/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./91/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./91/binderfs") = 0 [ 473.410010][ T5858] bcachefs (loop0): shutting down [ 473.415234][ T5858] bcachefs (loop0): going read-only [ 473.420426][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 473.428231][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 473.449941][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 473.463116][ T2964] bcachefs (loop0): fatal error - emergency read only [ 473.470353][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 473.480100][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 473.487751][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 473.503216][ T5858] bcachefs (loop0): shutdown complete umount2("./91/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./91/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./91/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./91/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./91/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./91/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./91") = 0 mkdir("./92", 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 6885 attached , child_tidptr=0x555582790650) = 6885 [pid 6885] set_robust_list(0x555582790660, 24) = 0 [pid 6885] chdir("./92") = 0 [pid 6885] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6885] setpgid(0, 0) = 0 [pid 6885] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6885] write(3, "1000", 4) = 4 [pid 6885] close(3) = 0 [pid 6885] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6885] write(1, "executing program\n", 18executing program ) = 18 [pid 6885] memfd_create("syzkaller", 0) = 3 [pid 6885] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6885] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6885] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6885] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6885] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6885] close(3) = 0 [pid 6885] close(4) = 0 [pid 6885] mkdir("./file1", 0777) = 0 [ 474.817990][ T6885] loop0: detected capacity change from 0 to 32768 [ 474.885711][ T6885] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 474.905855][ T6885] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 474.913950][ T6885] bcachefs (loop0): Version upgrade required: [ 474.913950][ T6885] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 474.913950][ T6885] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 474.913950][ T6885] 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 [ 474.985807][ T6885] bcachefs (loop0): dropping and reconstructing all alloc info [ 475.000208][ T6885] bcachefs (loop0): accounting_read... done [ 475.006567][ T6885] bcachefs (loop0): alloc_read... done [ 475.012077][ T6885] bcachefs (loop0): stripes_read... done [ 475.017838][ T6885] bcachefs (loop0): snapshots_read... done [pid 6885] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6885] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6885] chdir("./file1") = 0 [pid 6885] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6885] ioctl(4, LOOP_CLR_FD) = 0 [pid 6885] close(4) = 0 [ 475.023790][ T6885] bcachefs (loop0): check_allocations... done [ 475.040571][ T6885] bcachefs (loop0): going read-write [ 475.049024][ T6885] bcachefs (loop0): done starting filesystem [pid 6885] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6885] exit_group(0) = ? [pid 6885] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6885, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- umount2("./92", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./92", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./92/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./92/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./92/binderfs") = 0 [ 475.239333][ T5858] bcachefs (loop0): shutting down [ 475.244570][ T5858] bcachefs (loop0): going read-only [ 475.249783][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 475.257357][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 475.279611][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 475.292775][ T6608] bcachefs (loop0): fatal error - emergency read only [ 475.300055][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 475.309838][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 475.317532][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 475.332639][ T5858] bcachefs (loop0): shutdown complete umount2("./92/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./92/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./92/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./92/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./92/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./92/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./92") = 0 mkdir("./93", 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 6896 attached [pid 6896] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6896 [pid 6896] <... set_robust_list resumed>) = 0 [pid 6896] chdir("./93") = 0 [pid 6896] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6896] setpgid(0, 0) = 0 [pid 6896] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6896] write(3, "1000", 4) = 4 [pid 6896] close(3) = 0 [pid 6896] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6896] write(1, "executing program\n", 18) = 18 [pid 6896] memfd_create("syzkaller", 0) = 3 [pid 6896] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6896] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6896] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6896] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6896] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6896] close(3) = 0 [pid 6896] close(4) = 0 [pid 6896] mkdir("./file1", 0777) = 0 [ 476.632996][ T6896] loop0: detected capacity change from 0 to 32768 [ 476.706788][ T6896] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 476.727289][ T6896] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 476.735501][ T6896] bcachefs (loop0): Version upgrade required: [ 476.735501][ T6896] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 476.735501][ T6896] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 476.735501][ T6896] 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 [ 476.807555][ T6896] bcachefs (loop0): dropping and reconstructing all alloc info [ 476.821769][ T6896] bcachefs (loop0): accounting_read... done [ 476.827934][ T6896] bcachefs (loop0): alloc_read... done [ 476.833503][ T6896] bcachefs (loop0): stripes_read... done [ 476.839168][ T6896] bcachefs (loop0): snapshots_read... done [pid 6896] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6896] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6896] chdir("./file1") = 0 [pid 6896] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 476.845162][ T6896] bcachefs (loop0): check_allocations... done [ 476.862537][ T6896] bcachefs (loop0): going read-write [ 476.871038][ T6896] bcachefs (loop0): done starting filesystem [pid 6896] ioctl(4, LOOP_CLR_FD) = 0 [pid 6896] close(4) = 0 [pid 6896] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6896] exit_group(0) = ? [pid 6896] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6896, 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("./93", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./93", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./93/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./93/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./93/binderfs") = 0 [ 477.064511][ T5858] bcachefs (loop0): shutting down [ 477.069565][ T5858] bcachefs (loop0): going read-only [ 477.075039][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 477.082396][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 477.103916][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 477.116919][ T35] bcachefs (loop0): fatal error - emergency read only [ 477.124172][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 477.134027][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 477.141474][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 477.157349][ T5858] bcachefs (loop0): shutdown complete umount2("./93/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./93/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./93/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./93/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./93/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./93/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./93") = 0 mkdir("./94", 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=0x555582790650) = 6908 ./strace-static-x86_64: Process 6908 attached [pid 6908] set_robust_list(0x555582790660, 24) = 0 [pid 6908] chdir("./94") = 0 [pid 6908] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6908] setpgid(0, 0) = 0 [pid 6908] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6908] write(3, "1000", 4) = 4 [pid 6908] close(3) = 0 [pid 6908] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6908] write(1, "executing program\n", 18executing program ) = 18 [pid 6908] memfd_create("syzkaller", 0) = 3 [pid 6908] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6908] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6908] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6908] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6908] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6908] close(3) = 0 [pid 6908] close(4) = 0 [pid 6908] mkdir("./file1", 0777) = 0 [ 478.453784][ T6908] loop0: detected capacity change from 0 to 32768 [ 478.517920][ T6908] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 478.538684][ T6908] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 478.546785][ T6908] bcachefs (loop0): Version upgrade required: [ 478.546785][ T6908] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 478.546785][ T6908] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 478.546785][ T6908] 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 [ 478.618918][ T6908] bcachefs (loop0): dropping and reconstructing all alloc info [ 478.633327][ T6908] bcachefs (loop0): accounting_read... done [ 478.639564][ T6908] bcachefs (loop0): alloc_read... done [ 478.645207][ T6908] bcachefs (loop0): stripes_read... done [ 478.650899][ T6908] bcachefs (loop0): snapshots_read... done [pid 6908] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6908] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6908] chdir("./file1") = 0 [pid 6908] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6908] ioctl(4, LOOP_CLR_FD) = 0 [pid 6908] close(4) = 0 [pid 6908] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [ 478.656838][ T6908] bcachefs (loop0): check_allocations... done [ 478.673750][ T6908] bcachefs (loop0): going read-write [ 478.681683][ T6908] bcachefs (loop0): done starting filesystem [pid 6908] exit_group(0) = ? [pid 6908] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6908, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./94", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./94", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./94/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./94/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./94/binderfs") = 0 [ 478.786407][ T5858] bcachefs (loop0): shutting down [ 478.791453][ T5858] bcachefs (loop0): going read-only [ 478.796986][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 478.804578][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 478.829350][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 478.842412][ T6608] bcachefs (loop0): fatal error - emergency read only [ 478.849825][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 478.859572][ T5858] bcachefs (loop0): unshutdown complete, journal seq 15 [ 478.867421][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 478.882621][ T5858] bcachefs (loop0): shutdown complete umount2("./94/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./94/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./94/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./94/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./94/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./94/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./94") = 0 mkdir("./95", 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 6920 attached [pid 6920] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6920 [pid 6920] chdir("./95") = 0 [pid 6920] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6920] setpgid(0, 0) = 0 [pid 6920] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6920] write(3, "1000", 4) = 4 [pid 6920] close(3) = 0 [pid 6920] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6920] write(1, "executing program\n", 18executing program ) = 18 [pid 6920] memfd_create("syzkaller", 0) = 3 [pid 6920] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6920] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6920] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6920] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6920] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6920] close(3) = 0 [pid 6920] close(4) = 0 [pid 6920] mkdir("./file1", 0777) = 0 [ 480.202974][ T6920] loop0: detected capacity change from 0 to 32768 [ 480.272866][ T6920] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 480.293247][ T6920] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 480.301354][ T6920] bcachefs (loop0): Version upgrade required: [ 480.301354][ T6920] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 480.301354][ T6920] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 480.301354][ T6920] 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 [ 480.373485][ T6920] bcachefs (loop0): dropping and reconstructing all alloc info [ 480.388077][ T6920] bcachefs (loop0): accounting_read... done [ 480.394468][ T6920] bcachefs (loop0): alloc_read... done [ 480.399987][ T6920] bcachefs (loop0): stripes_read... done [ 480.405740][ T6920] bcachefs (loop0): snapshots_read... done [pid 6920] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6920] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6920] chdir("./file1") = 0 [pid 6920] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 480.411662][ T6920] bcachefs (loop0): check_allocations... done [ 480.427951][ T6920] bcachefs (loop0): going read-write [ 480.436647][ T6920] bcachefs (loop0): done starting filesystem [pid 6920] ioctl(4, LOOP_CLR_FD) = 0 [pid 6920] close(4) = 0 [pid 6920] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6920] exit_group(0) = ? [pid 6920] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6920, 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("./95", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./95", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./95/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./95/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./95/binderfs") = 0 [ 480.611443][ T5858] bcachefs (loop0): shutting down [ 480.616682][ T5858] bcachefs (loop0): going read-only [ 480.621896][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 480.629493][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 480.652172][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 480.664958][ T35] bcachefs (loop0): fatal error - emergency read only [ 480.671993][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 480.682534][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 480.690225][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 480.706326][ T5858] bcachefs (loop0): shutdown complete umount2("./95/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./95/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./95/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./95/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./95/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./95/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./95") = 0 mkdir("./96", 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 6934 attached , child_tidptr=0x555582790650) = 6934 [pid 6934] set_robust_list(0x555582790660, 24) = 0 [pid 6934] chdir("./96") = 0 [pid 6934] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6934] setpgid(0, 0) = 0 [pid 6934] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6934] write(3, "1000", 4) = 4 [pid 6934] close(3) = 0 [pid 6934] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6934] write(1, "executing program\n", 18) = 18 [pid 6934] memfd_create("syzkaller", 0) = 3 [pid 6934] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6934] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6934] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6934] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6934] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6934] close(3) = 0 [pid 6934] close(4) = 0 [pid 6934] mkdir("./file1", 0777) = 0 [ 482.043444][ T6934] loop0: detected capacity change from 0 to 32768 [ 482.097422][ T6934] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 482.118226][ T6934] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 482.127068][ T6934] bcachefs (loop0): Version upgrade required: [ 482.127068][ T6934] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 482.127068][ T6934] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 482.127068][ T6934] 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 [ 482.199375][ T6934] bcachefs (loop0): dropping and reconstructing all alloc info [ 482.214376][ T6934] bcachefs (loop0): accounting_read... done [ 482.220459][ T6934] bcachefs (loop0): alloc_read... done [ 482.226013][ T6934] bcachefs (loop0): stripes_read... done [ 482.231693][ T6934] bcachefs (loop0): snapshots_read... done [pid 6934] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6934] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6934] chdir("./file1") = 0 [ 482.237658][ T6934] bcachefs (loop0): check_allocations... done [ 482.254390][ T6934] bcachefs (loop0): going read-write [ 482.262625][ T6934] bcachefs (loop0): done starting filesystem [pid 6934] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6934] ioctl(4, LOOP_CLR_FD) = 0 [pid 6934] close(4) = 0 [pid 6934] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6934] exit_group(0) = ? [pid 6934] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6934, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./96", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./96", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./96/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./96/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./96/binderfs") = 0 [ 482.446945][ T5858] bcachefs (loop0): shutting down [ 482.451996][ T5858] bcachefs (loop0): going read-only [ 482.457306][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 482.464692][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 482.486221][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 482.499106][ T2964] bcachefs (loop0): fatal error - emergency read only [ 482.506396][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 482.516251][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 482.523993][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 482.539276][ T5858] bcachefs (loop0): shutdown complete umount2("./96/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./96/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./96/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./96/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./96/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./96/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./96") = 0 mkdir("./97", 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 6946 attached [pid 6946] set_robust_list(0x555582790660, 24) = 0 [pid 6946] chdir("./97" [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6946 [pid 6946] <... chdir resumed>) = 0 [pid 6946] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6946] setpgid(0, 0) = 0 [pid 6946] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6946] write(3, "1000", 4) = 4 [pid 6946] close(3) = 0 [pid 6946] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6946] write(1, "executing program\n", 18) = 18 [pid 6946] memfd_create("syzkaller", 0) = 3 [pid 6946] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6946] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6946] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6946] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6946] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6946] close(3) = 0 [pid 6946] close(4) = 0 [pid 6946] mkdir("./file1", 0777) = 0 [ 483.828077][ T6946] loop0: detected capacity change from 0 to 32768 [ 483.902835][ T6946] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 483.922984][ T6946] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 483.931368][ T6946] bcachefs (loop0): Version upgrade required: [ 483.931368][ T6946] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 483.931368][ T6946] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 483.931368][ T6946] 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 [ 484.003694][ T6946] bcachefs (loop0): dropping and reconstructing all alloc info [ 484.018613][ T6946] bcachefs (loop0): accounting_read... done [ 484.024840][ T6946] bcachefs (loop0): alloc_read... done [ 484.030371][ T6946] bcachefs (loop0): stripes_read... done [ 484.036294][ T6946] bcachefs (loop0): snapshots_read... done [pid 6946] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6946] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6946] chdir("./file1") = 0 [ 484.042240][ T6946] bcachefs (loop0): check_allocations... done [ 484.059345][ T6946] bcachefs (loop0): going read-write [ 484.067783][ T6946] bcachefs (loop0): done starting filesystem [pid 6946] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6946] ioctl(4, LOOP_CLR_FD) = 0 [pid 6946] close(4) = 0 [pid 6946] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6946] exit_group(0) = ? [pid 6946] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6946, 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("./97", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./97", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./97/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./97/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./97/binderfs") = 0 [ 484.261942][ T5858] bcachefs (loop0): shutting down [ 484.267299][ T5858] bcachefs (loop0): going read-only [ 484.272515][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 484.280391][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 484.302465][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 484.315477][ T35] bcachefs (loop0): fatal error - emergency read only [ 484.322546][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 484.332429][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 484.340081][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 484.355185][ T5858] bcachefs (loop0): shutdown complete umount2("./97/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./97/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./97/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./97/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./97/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./97/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./97") = 0 mkdir("./98", 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 6957 attached [pid 6957] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6957 [pid 6957] <... set_robust_list resumed>) = 0 [pid 6957] chdir("./98") = 0 [pid 6957] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6957] setpgid(0, 0) = 0 [pid 6957] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6957] write(3, "1000", 4) = 4 [pid 6957] close(3) = 0 [pid 6957] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6957] write(1, "executing program\n", 18) = 18 [pid 6957] memfd_create("syzkaller", 0) = 3 [pid 6957] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6957] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6957] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6957] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6957] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6957] close(3) = 0 [pid 6957] close(4) = 0 [pid 6957] mkdir("./file1", 0777) = 0 [ 485.732650][ T6957] loop0: detected capacity change from 0 to 32768 [ 485.801318][ T6957] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 485.821945][ T6957] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 485.830075][ T6957] bcachefs (loop0): Version upgrade required: [ 485.830075][ T6957] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 485.830075][ T6957] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 485.830075][ T6957] 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 [ 485.902259][ T6957] bcachefs (loop0): dropping and reconstructing all alloc info [ 485.916949][ T6957] bcachefs (loop0): accounting_read... done [ 485.923019][ T6957] bcachefs (loop0): alloc_read... done [ 485.928555][ T6957] bcachefs (loop0): stripes_read... done [ 485.934325][ T6957] bcachefs (loop0): snapshots_read... done [pid 6957] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6957] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6957] chdir("./file1") = 0 [pid 6957] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6957] ioctl(4, LOOP_CLR_FD) = 0 [pid 6957] close(4) = 0 [pid 6957] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6957] exit_group(0) = ? [pid 6957] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6957, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=21 /* 0.21 s */} --- [ 485.940243][ T6957] bcachefs (loop0): check_allocations... done [ 485.957571][ T6957] bcachefs (loop0): going read-write [ 485.965932][ T6957] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./98", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./98", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./98/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./98/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./98/binderfs") = 0 [ 486.117979][ T5858] bcachefs (loop0): shutting down [ 486.123044][ T5858] bcachefs (loop0): going read-only [ 486.129111][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 486.136657][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 486.157548][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 486.170273][ T6608] bcachefs (loop0): fatal error - emergency read only [ 486.177557][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 486.187348][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 486.195054][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 486.210558][ T5858] bcachefs (loop0): shutdown complete umount2("./98/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./98/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./98/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./98/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./98/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./98/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./98") = 0 mkdir("./99", 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 6968 attached , child_tidptr=0x555582790650) = 6968 [pid 6968] set_robust_list(0x555582790660, 24) = 0 [pid 6968] chdir("./99") = 0 [pid 6968] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6968] setpgid(0, 0) = 0 [pid 6968] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6968] write(3, "1000", 4) = 4 [pid 6968] close(3) = 0 [pid 6968] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6968] write(1, "executing program\n", 18) = 18 [pid 6968] memfd_create("syzkaller", 0) = 3 [pid 6968] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6968] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6968] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6968] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6968] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6968] close(3) = 0 [pid 6968] close(4) = 0 [pid 6968] mkdir("./file1", 0777) = 0 [ 487.469651][ T6968] loop0: detected capacity change from 0 to 32768 [ 487.538559][ T6968] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 487.559000][ T6968] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 487.567326][ T6968] bcachefs (loop0): Version upgrade required: [ 487.567326][ T6968] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 487.567326][ T6968] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 487.567326][ T6968] 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 [ 487.639578][ T6968] bcachefs (loop0): dropping and reconstructing all alloc info [ 487.654050][ T6968] bcachefs (loop0): accounting_read... done [ 487.660141][ T6968] bcachefs (loop0): alloc_read... done [ 487.665714][ T6968] bcachefs (loop0): stripes_read... done [ 487.671395][ T6968] bcachefs (loop0): snapshots_read... done [pid 6968] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6968] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6968] chdir("./file1") = 0 [pid 6968] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 487.677485][ T6968] bcachefs (loop0): check_allocations... done [ 487.693924][ T6968] bcachefs (loop0): going read-write [ 487.702381][ T6968] bcachefs (loop0): done starting filesystem [pid 6968] ioctl(4, LOOP_CLR_FD) = 0 [pid 6968] close(4) = 0 [pid 6968] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6968] exit_group(0) = ? [pid 6968] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6968, si_uid=0, si_status=0, si_utime=0, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./99", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./99", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./99/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./99/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./99/binderfs") = 0 [ 487.872955][ T5858] bcachefs (loop0): shutting down [ 487.878174][ T5858] bcachefs (loop0): going read-only [ 487.883466][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 487.890790][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 487.912626][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 487.925521][ T6608] bcachefs (loop0): fatal error - emergency read only [ 487.932575][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 487.942291][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 487.949805][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 487.964887][ T5858] bcachefs (loop0): shutdown complete umount2("./99/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./99/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./99/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./99/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./99/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./99/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./99") = 0 mkdir("./100", 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 6979 attached [pid 6979] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6979 [pid 6979] chdir("./100") = 0 [pid 6979] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6979] setpgid(0, 0) = 0 [pid 6979] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6979] write(3, "1000", 4) = 4 [pid 6979] close(3) = 0 [pid 6979] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6979] write(1, "executing program\n", 18) = 18 [pid 6979] memfd_create("syzkaller", 0) = 3 [pid 6979] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6979] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6979] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6979] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6979] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6979] close(3) = 0 [pid 6979] close(4) = 0 [pid 6979] mkdir("./file1", 0777) = 0 [ 489.312158][ T6979] loop0: detected capacity change from 0 to 32768 [ 489.377312][ T6979] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 489.397837][ T6979] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 489.406054][ T6979] bcachefs (loop0): Version upgrade required: [ 489.406054][ T6979] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 489.406054][ T6979] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 489.406054][ T6979] 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 [ 489.478469][ T6979] bcachefs (loop0): dropping and reconstructing all alloc info [ 489.493229][ T6979] bcachefs (loop0): accounting_read... done [ 489.499385][ T6979] bcachefs (loop0): alloc_read... done [ 489.505085][ T6979] bcachefs (loop0): stripes_read... done [ 489.510782][ T6979] bcachefs (loop0): snapshots_read... done [pid 6979] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6979] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6979] chdir("./file1") = 0 [pid 6979] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 489.517059][ T6979] bcachefs (loop0): check_allocations... done [ 489.533942][ T6979] bcachefs (loop0): going read-write [ 489.542137][ T6979] bcachefs (loop0): done starting filesystem [pid 6979] ioctl(4, LOOP_CLR_FD) = 0 [pid 6979] close(4) = 0 [pid 6979] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6979] exit_group(0) = ? [pid 6979] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6979, 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("./100", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./100", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./100/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./100/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./100/binderfs") = 0 [ 489.624094][ T5858] bcachefs (loop0): shutting down [ 489.629152][ T5858] bcachefs (loop0): going read-only [ 489.635425][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 489.642795][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 489.666803][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 489.679816][ T2964] bcachefs (loop0): fatal error - emergency read only [ 489.687334][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 489.697201][ T5858] bcachefs (loop0): unshutdown complete, journal seq 15 [ 489.705029][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 489.721106][ T5858] bcachefs (loop0): shutdown complete umount2("./100/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./100/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./100/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./100/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./100/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./100/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./100") = 0 mkdir("./101", 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 6990 attached [pid 6990] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 6990 [pid 6990] chdir("./101") = 0 [pid 6990] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6990] setpgid(0, 0) = 0 [pid 6990] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6990] write(3, "1000", 4) = 4 [pid 6990] close(3) = 0 [pid 6990] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6990] write(1, "executing program\n", 18executing program ) = 18 [pid 6990] memfd_create("syzkaller", 0) = 3 [pid 6990] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 6990] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6990] munmap(0x7f8f3c200000, 138412032) = 0 [pid 6990] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6990] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6990] close(3) = 0 [pid 6990] close(4) = 0 [pid 6990] mkdir("./file1", 0777) = 0 [ 491.012577][ T6990] loop0: detected capacity change from 0 to 32768 [ 491.082374][ T6990] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 491.102620][ T6990] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 491.110956][ T6990] bcachefs (loop0): Version upgrade required: [ 491.110956][ T6990] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 491.110956][ T6990] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 491.110956][ T6990] 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 [ 491.183697][ T6990] bcachefs (loop0): dropping and reconstructing all alloc info [ 491.198306][ T6990] bcachefs (loop0): accounting_read... done [ 491.204440][ T6990] bcachefs (loop0): alloc_read... done [ 491.209982][ T6990] bcachefs (loop0): stripes_read... done [ 491.215817][ T6990] bcachefs (loop0): snapshots_read... done [pid 6990] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 6990] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6990] chdir("./file1") = 0 [ 491.221750][ T6990] bcachefs (loop0): check_allocations... done [ 491.238862][ T6990] bcachefs (loop0): going read-write [ 491.246921][ T6990] bcachefs (loop0): done starting filesystem [pid 6990] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6990] ioctl(4, LOOP_CLR_FD) = 0 [pid 6990] close(4) = 0 [pid 6990] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 6990] exit_group(0) = ? [pid 6990] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6990, 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("./101", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./101", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./101/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./101/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./101/binderfs") = 0 [ 491.418200][ T5858] bcachefs (loop0): shutting down [ 491.423658][ T5858] bcachefs (loop0): going read-only [ 491.428880][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 491.436574][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 491.458883][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 491.471761][ T35] bcachefs (loop0): fatal error - emergency read only [ 491.479045][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 491.488817][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 491.496451][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 491.511298][ T5858] bcachefs (loop0): shutdown complete umount2("./101/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./101/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./101/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./101/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./101/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./101/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./101") = 0 mkdir("./102", 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 7001 attached , child_tidptr=0x555582790650) = 7001 [pid 7001] set_robust_list(0x555582790660, 24) = 0 [pid 7001] chdir("./102") = 0 [pid 7001] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7001] setpgid(0, 0) = 0 [pid 7001] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7001] write(3, "1000", 4) = 4 [pid 7001] close(3) = 0 [pid 7001] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7001] write(1, "executing program\n", 18executing program ) = 18 [pid 7001] memfd_create("syzkaller", 0) = 3 [pid 7001] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7001] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7001] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7001] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7001] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7001] close(3) = 0 [pid 7001] close(4) = 0 [pid 7001] mkdir("./file1", 0777) = 0 [ 492.794071][ T7001] loop0: detected capacity change from 0 to 32768 [ 492.858447][ T7001] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 492.879101][ T7001] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 492.887307][ T7001] bcachefs (loop0): Version upgrade required: [ 492.887307][ T7001] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 492.887307][ T7001] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 492.887307][ T7001] 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 [ 492.959288][ T7001] bcachefs (loop0): dropping and reconstructing all alloc info [ 492.973811][ T7001] bcachefs (loop0): accounting_read... done [ 492.979914][ T7001] bcachefs (loop0): alloc_read... done [ 492.985496][ T7001] bcachefs (loop0): stripes_read... done [ 492.991198][ T7001] bcachefs (loop0): snapshots_read... done [pid 7001] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7001] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7001] chdir("./file1") = 0 [pid 7001] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7001] ioctl(4, LOOP_CLR_FD) = 0 [pid 7001] close(4) = 0 [pid 7001] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [ 492.997223][ T7001] bcachefs (loop0): check_allocations... done [ 493.014560][ T7001] bcachefs (loop0): going read-write [ 493.023167][ T7001] bcachefs (loop0): done starting filesystem [pid 7001] exit_group(0) = ? [pid 7001] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7001, 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("./102", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./102", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./102/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./102/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./102/binderfs") = 0 [ 493.099898][ T5858] bcachefs (loop0): shutting down [ 493.105664][ T5858] bcachefs (loop0): going read-only [ 493.110884][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 493.118524][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 493.141215][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 493.154513][ T2964] bcachefs (loop0): fatal error - emergency read only [ 493.161861][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 493.171858][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 493.179561][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 493.195339][ T5858] bcachefs (loop0): shutdown complete umount2("./102/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./102/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./102/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./102/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./102/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./102/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./102") = 0 mkdir("./103", 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 7012 attached [pid 7012] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7012 [pid 7012] chdir("./103") = 0 [pid 7012] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7012] setpgid(0, 0) = 0 [pid 7012] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7012] write(3, "1000", 4) = 4 [pid 7012] close(3) = 0 [pid 7012] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7012] write(1, "executing program\n", 18) = 18 [pid 7012] memfd_create("syzkaller", 0) = 3 [pid 7012] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7012] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7012] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7012] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7012] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7012] close(3) = 0 [pid 7012] close(4) = 0 [pid 7012] mkdir("./file1", 0777) = 0 [ 494.575553][ T7012] loop0: detected capacity change from 0 to 32768 [ 494.638611][ T7012] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 494.658694][ T7012] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 494.666868][ T7012] bcachefs (loop0): Version upgrade required: [ 494.666868][ T7012] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 494.666868][ T7012] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 494.666868][ T7012] 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 [ 494.738831][ T7012] bcachefs (loop0): dropping and reconstructing all alloc info [ 494.753682][ T7012] bcachefs (loop0): accounting_read... done [ 494.759709][ T7012] bcachefs (loop0): alloc_read... done [ 494.765265][ T7012] bcachefs (loop0): stripes_read... done [ 494.770968][ T7012] bcachefs (loop0): snapshots_read... done [pid 7012] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7012] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7012] chdir("./file1") = 0 [pid 7012] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7012] ioctl(4, LOOP_CLR_FD) = 0 [ 494.776891][ T7012] bcachefs (loop0): check_allocations... done [ 494.793260][ T7012] bcachefs (loop0): going read-write [ 494.801388][ T7012] bcachefs (loop0): done starting filesystem [pid 7012] close(4) = 0 [pid 7012] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7012] exit_group(0) = ? [pid 7012] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7012, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./103", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./103", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./103/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./103/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./103/binderfs") = 0 [ 495.011350][ T5858] bcachefs (loop0): shutting down [ 495.016587][ T5858] bcachefs (loop0): going read-only [ 495.021783][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 495.029590][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 495.050960][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 495.064168][ T35] bcachefs (loop0): fatal error - emergency read only [ 495.071233][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 495.081282][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 495.089202][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 495.104133][ T5858] bcachefs (loop0): shutdown complete umount2("./103/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./103/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./103/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./103/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./103/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./103/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./103") = 0 mkdir("./104", 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 7023 attached [pid 7023] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7023 [pid 7023] <... set_robust_list resumed>) = 0 [pid 7023] chdir("./104") = 0 [pid 7023] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7023] setpgid(0, 0) = 0 [pid 7023] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7023] write(3, "1000", 4) = 4 [pid 7023] close(3) = 0 [pid 7023] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7023] write(1, "executing program\n", 18executing program ) = 18 [pid 7023] memfd_create("syzkaller", 0) = 3 [pid 7023] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7023] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7023] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7023] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7023] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7023] close(3) = 0 [pid 7023] close(4) = 0 [pid 7023] mkdir("./file1", 0777) = 0 [ 496.311375][ T7023] loop0: detected capacity change from 0 to 32768 [ 496.376141][ T7023] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 496.396672][ T7023] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 496.404923][ T7023] bcachefs (loop0): Version upgrade required: [ 496.404923][ T7023] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 496.404923][ T7023] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 496.404923][ T7023] 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 [ 496.476906][ T7023] bcachefs (loop0): dropping and reconstructing all alloc info [ 496.491274][ T7023] bcachefs (loop0): accounting_read... done [ 496.497409][ T7023] bcachefs (loop0): alloc_read... done [ 496.502932][ T7023] bcachefs (loop0): stripes_read... done [ 496.508644][ T7023] bcachefs (loop0): snapshots_read... done [pid 7023] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7023] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7023] chdir("./file1") = 0 [pid 7023] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 496.514588][ T7023] bcachefs (loop0): check_allocations... done [ 496.532312][ T7023] bcachefs (loop0): going read-write [ 496.541256][ T7023] bcachefs (loop0): done starting filesystem [pid 7023] ioctl(4, LOOP_CLR_FD) = 0 [pid 7023] close(4) = 0 [pid 7023] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7023] exit_group(0) = ? [pid 7023] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7023, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=24 /* 0.24 s */} --- umount2("./104", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./104", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./104/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./104/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./104/binderfs") = 0 [ 496.715248][ T5858] bcachefs (loop0): shutting down [ 496.720302][ T5858] bcachefs (loop0): going read-only [ 496.725718][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 496.733308][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 496.754968][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 496.767947][ T6608] bcachefs (loop0): fatal error - emergency read only [ 496.775921][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 496.785709][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 496.793169][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 496.808899][ T5858] bcachefs (loop0): shutdown complete umount2("./104/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./104/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./104/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./104/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./104/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./104/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./104") = 0 mkdir("./105", 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 7034 attached [pid 7034] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7034 [pid 7034] chdir("./105") = 0 [pid 7034] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7034] setpgid(0, 0) = 0 [pid 7034] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7034] write(3, "1000", 4) = 4 [pid 7034] close(3) = 0 [pid 7034] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7034] write(1, "executing program\n", 18) = 18 [pid 7034] memfd_create("syzkaller", 0) = 3 [pid 7034] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7034] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7034] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7034] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7034] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7034] close(3) = 0 [pid 7034] close(4) = 0 [pid 7034] mkdir("./file1", 0777) = 0 [ 498.190549][ T7034] loop0: detected capacity change from 0 to 32768 [ 498.268305][ T7034] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 498.288478][ T7034] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 498.296603][ T7034] bcachefs (loop0): Version upgrade required: [ 498.296603][ T7034] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 498.296603][ T7034] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 498.296603][ T7034] 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 [ 498.368857][ T7034] bcachefs (loop0): dropping and reconstructing all alloc info [ 498.383251][ T7034] bcachefs (loop0): accounting_read... done [ 498.389616][ T7034] bcachefs (loop0): alloc_read... done [ 498.395263][ T7034] bcachefs (loop0): stripes_read... done [ 498.400972][ T7034] bcachefs (loop0): snapshots_read... done [pid 7034] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7034] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7034] chdir("./file1") = 0 [ 498.407093][ T7034] bcachefs (loop0): check_allocations... done [ 498.423709][ T7034] bcachefs (loop0): going read-write [ 498.432080][ T7034] bcachefs (loop0): done starting filesystem [pid 7034] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7034] ioctl(4, LOOP_CLR_FD) = 0 [pid 7034] close(4) = 0 [pid 7034] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7034] exit_group(0) = ? [pid 7034] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7034, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- umount2("./105", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./105", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./105/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./105/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./105/binderfs") = 0 [ 498.642828][ T5858] bcachefs (loop0): shutting down [ 498.648085][ T5858] bcachefs (loop0): going read-only [ 498.653312][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 498.660879][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 498.682880][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 498.695854][ T2964] bcachefs (loop0): fatal error - emergency read only [ 498.703016][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 498.713022][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 498.720623][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 498.736049][ T5858] bcachefs (loop0): shutdown complete umount2("./105/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./105/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./105/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./105/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./105/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./105/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./105") = 0 mkdir("./106", 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 7045 attached , child_tidptr=0x555582790650) = 7045 [pid 7045] set_robust_list(0x555582790660, 24) = 0 [pid 7045] chdir("./106") = 0 [pid 7045] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7045] setpgid(0, 0) = 0 [pid 7045] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7045] write(3, "1000", 4) = 4 [pid 7045] close(3) = 0 [pid 7045] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7045] write(1, "executing program\n", 18) = 18 [pid 7045] memfd_create("syzkaller", 0) = 3 [pid 7045] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7045] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7045] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7045] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7045] close(3) = 0 [pid 7045] close(4) = 0 [pid 7045] mkdir("./file1", 0777) = 0 [ 500.110276][ T7045] loop0: detected capacity change from 0 to 32768 [ 500.179215][ T7045] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 500.199427][ T7045] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 500.207634][ T7045] bcachefs (loop0): Version upgrade required: [ 500.207634][ T7045] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 500.207634][ T7045] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 500.207634][ T7045] 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 [ 500.279898][ T7045] bcachefs (loop0): dropping and reconstructing all alloc info [ 500.294307][ T7045] bcachefs (loop0): accounting_read... done [ 500.300391][ T7045] bcachefs (loop0): alloc_read... done [ 500.305933][ T7045] bcachefs (loop0): stripes_read... done [ 500.311616][ T7045] bcachefs (loop0): snapshots_read... done [pid 7045] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7045] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7045] chdir("./file1") = 0 [ 500.317762][ T7045] bcachefs (loop0): check_allocations... done [ 500.334593][ T7045] bcachefs (loop0): going read-write [ 500.343098][ T7045] bcachefs (loop0): done starting filesystem [pid 7045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7045] ioctl(4, LOOP_CLR_FD) = 0 [pid 7045] close(4) = 0 [pid 7045] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7045] exit_group(0) = ? [pid 7045] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7045, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./106", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./106", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./106/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./106/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./106/binderfs") = 0 [ 500.536290][ T5858] bcachefs (loop0): shutting down [ 500.541348][ T5858] bcachefs (loop0): going read-only [ 500.546699][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 500.554185][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 500.577375][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 500.590371][ T2964] bcachefs (loop0): fatal error - emergency read only [ 500.597576][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 500.607310][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 500.614852][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 500.630675][ T5858] bcachefs (loop0): shutdown complete umount2("./106/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./106/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./106/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./106/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./106/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./106/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./106") = 0 mkdir("./107", 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 7056 attached , child_tidptr=0x555582790650) = 7056 [pid 7056] set_robust_list(0x555582790660, 24) = 0 [pid 7056] chdir("./107") = 0 [pid 7056] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7056] setpgid(0, 0) = 0 [pid 7056] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7056] write(3, "1000", 4) = 4 [pid 7056] close(3) = 0 [pid 7056] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7056] write(1, "executing program\n", 18executing program ) = 18 [pid 7056] memfd_create("syzkaller", 0) = 3 [pid 7056] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7056] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7056] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7056] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7056] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7056] close(3) = 0 [pid 7056] close(4) = 0 [pid 7056] mkdir("./file1", 0777) = 0 [ 501.942195][ T7056] loop0: detected capacity change from 0 to 32768 [ 502.007316][ T7056] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 502.027798][ T7056] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 502.035888][ T7056] bcachefs (loop0): Version upgrade required: [ 502.035888][ T7056] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 502.035888][ T7056] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 502.035888][ T7056] 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 [ 502.107827][ T7056] bcachefs (loop0): dropping and reconstructing all alloc info [ 502.122155][ T7056] bcachefs (loop0): accounting_read... done [ 502.128487][ T7056] bcachefs (loop0): alloc_read... done [ 502.134112][ T7056] bcachefs (loop0): stripes_read... done [ 502.139796][ T7056] bcachefs (loop0): snapshots_read... done [pid 7056] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7056] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7056] chdir("./file1") = 0 [pid 7056] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7056] ioctl(4, LOOP_CLR_FD) = 0 [pid 7056] close(4) = 0 [pid 7056] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7056] exit_group(0) = ? [pid 7056] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7056, 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("./107", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./107", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 502.145799][ T7056] bcachefs (loop0): check_allocations... done [ 502.162066][ T7056] bcachefs (loop0): going read-write [ 502.170490][ T7056] bcachefs (loop0): done starting filesystem newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./107/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./107/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./107/binderfs") = 0 [ 502.223466][ T5858] bcachefs (loop0): shutting down [ 502.228630][ T5858] bcachefs (loop0): going read-only [ 502.235008][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 502.242362][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 502.265785][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 502.278775][ T6608] bcachefs (loop0): fatal error - emergency read only [ 502.286293][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 502.296035][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 502.303713][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 502.319011][ T5858] bcachefs (loop0): shutdown complete umount2("./107/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./107/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./107/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./107/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./107/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./107/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./107") = 0 mkdir("./108", 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 7067 attached , child_tidptr=0x555582790650) = 7067 [pid 7067] set_robust_list(0x555582790660, 24) = 0 [pid 7067] chdir("./108") = 0 [pid 7067] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7067] setpgid(0, 0) = 0 [pid 7067] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7067] write(3, "1000", 4) = 4 [pid 7067] close(3) = 0 [pid 7067] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7067] write(1, "executing program\n", 18) = 18 [pid 7067] memfd_create("syzkaller", 0) = 3 [pid 7067] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7067] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7067] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7067] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7067] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7067] close(3) = 0 [pid 7067] close(4) = 0 [pid 7067] mkdir("./file1", 0777) = 0 [ 503.590155][ T7067] loop0: detected capacity change from 0 to 32768 [ 503.655368][ T7067] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 503.675735][ T7067] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 503.683824][ T7067] bcachefs (loop0): Version upgrade required: [ 503.683824][ T7067] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 503.683824][ T7067] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 503.683824][ T7067] 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 [ 503.756015][ T7067] bcachefs (loop0): dropping and reconstructing all alloc info [ 503.770405][ T7067] bcachefs (loop0): accounting_read... done [ 503.776618][ T7067] bcachefs (loop0): alloc_read... done [ 503.782146][ T7067] bcachefs (loop0): stripes_read... done [ 503.787871][ T7067] bcachefs (loop0): snapshots_read... done [pid 7067] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7067] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7067] chdir("./file1") = 0 [pid 7067] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 503.793857][ T7067] bcachefs (loop0): check_allocations... done [ 503.810430][ T7067] bcachefs (loop0): going read-write [ 503.818820][ T7067] bcachefs (loop0): done starting filesystem [pid 7067] ioctl(4, LOOP_CLR_FD) = 0 [pid 7067] close(4) = 0 [pid 7067] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7067] exit_group(0) = ? [pid 7067] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7067, 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("./108", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./108", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./108/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./108/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./108/binderfs") = 0 [ 503.988870][ T5858] bcachefs (loop0): shutting down [ 503.994252][ T5858] bcachefs (loop0): going read-only [ 503.999546][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 504.007196][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 504.030694][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 504.043930][ T35] bcachefs (loop0): fatal error - emergency read only [ 504.051014][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 504.060898][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 504.068631][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 504.084482][ T5858] bcachefs (loop0): shutdown complete umount2("./108/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./108/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./108/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./108/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./108/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./108/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./108") = 0 mkdir("./109", 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 7078 attached , child_tidptr=0x555582790650) = 7078 [pid 7078] set_robust_list(0x555582790660, 24) = 0 [pid 7078] chdir("./109") = 0 [pid 7078] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7078] setpgid(0, 0) = 0 [pid 7078] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7078] write(3, "1000", 4) = 4 [pid 7078] close(3) = 0 [pid 7078] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7078] write(1, "executing program\n", 18) = 18 [pid 7078] memfd_create("syzkaller", 0) = 3 [pid 7078] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7078] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7078] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7078] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7078] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7078] close(3) = 0 [pid 7078] close(4) = 0 [pid 7078] mkdir("./file1", 0777) = 0 [ 505.411656][ T7078] loop0: detected capacity change from 0 to 32768 [ 505.479428][ T7078] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 505.499452][ T7078] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 505.507603][ T7078] bcachefs (loop0): Version upgrade required: [ 505.507603][ T7078] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 505.507603][ T7078] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 505.507603][ T7078] 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 [ 505.580974][ T7078] bcachefs (loop0): dropping and reconstructing all alloc info [ 505.595248][ T7078] bcachefs (loop0): accounting_read... done [ 505.601360][ T7078] bcachefs (loop0): alloc_read... done [ 505.607020][ T7078] bcachefs (loop0): stripes_read... done [ 505.612810][ T7078] bcachefs (loop0): snapshots_read... done [pid 7078] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7078] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7078] chdir("./file1") = 0 [pid 7078] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7078] ioctl(4, LOOP_CLR_FD) = 0 [pid 7078] close(4) = 0 [pid 7078] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7078] exit_group(0) = ? [pid 7078] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7078, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- umount2("./109", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./109", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./109/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./109/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./109/binderfs") = 0 [ 505.618878][ T7078] bcachefs (loop0): check_allocations... done [ 505.635817][ T7078] bcachefs (loop0): going read-write [ 505.644609][ T7078] bcachefs (loop0): done starting filesystem [ 505.687559][ T5858] bcachefs (loop0): shutting down [ 505.692640][ T5858] bcachefs (loop0): going read-only [ 505.698289][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 505.706133][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 505.728496][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 505.741512][ T2964] bcachefs (loop0): fatal error - emergency read only [ 505.749081][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 505.758844][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 505.766527][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 505.782303][ T5858] bcachefs (loop0): shutdown complete umount2("./109/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./109/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./109/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./109/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./109/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./109/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./109") = 0 mkdir("./110", 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 7089 attached [pid 7089] set_robust_list(0x555582790660, 24) = 0 [pid 7089] chdir("./110") = 0 [pid 7089] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7089] setpgid(0, 0) = 0 [pid 7089] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7089 [pid 7089] write(3, "1000", 4) = 4 [pid 7089] close(3) = 0 [pid 7089] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7089] write(1, "executing program\n", 18executing program ) = 18 [pid 7089] memfd_create("syzkaller", 0) = 3 [pid 7089] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7089] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7089] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7089] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7089] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7089] close(3) = 0 [pid 7089] close(4) = 0 [pid 7089] mkdir("./file1", 0777) = 0 [ 507.256455][ T7089] loop0: detected capacity change from 0 to 32768 [ 507.335785][ T7089] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 507.356206][ T7089] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 507.364356][ T7089] bcachefs (loop0): Version upgrade required: [ 507.364356][ T7089] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 507.364356][ T7089] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 507.364356][ T7089] 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 [ 507.436390][ T7089] bcachefs (loop0): dropping and reconstructing all alloc info [ 507.450674][ T7089] bcachefs (loop0): accounting_read... done [ 507.456928][ T7089] bcachefs (loop0): alloc_read... done [ 507.462447][ T7089] bcachefs (loop0): stripes_read... done [ 507.468158][ T7089] bcachefs (loop0): snapshots_read... done [pid 7089] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7089] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7089] chdir("./file1") = 0 [pid 7089] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7089] ioctl(4, LOOP_CLR_FD) = 0 [pid 7089] close(4) = 0 [pid 7089] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7089] exit_group(0) = ? [pid 7089] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7089, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=35 /* 0.35 s */} --- [ 507.474132][ T7089] bcachefs (loop0): check_allocations... done [ 507.490531][ T7089] bcachefs (loop0): going read-write [ 507.498833][ T7089] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./110", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./110", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./110/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./110/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./110/binderfs") = 0 [ 507.664884][ T5858] bcachefs (loop0): shutting down [ 507.669933][ T5858] bcachefs (loop0): going read-only [ 507.675348][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 507.682737][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 507.704456][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 507.717434][ T6608] bcachefs (loop0): fatal error - emergency read only [ 507.724649][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 507.734417][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 507.741863][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 507.757155][ T5858] bcachefs (loop0): shutdown complete umount2("./110/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./110/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./110/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./110/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./110/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./110/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./110") = 0 mkdir("./111", 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 7100 attached , child_tidptr=0x555582790650) = 7100 [pid 7100] set_robust_list(0x555582790660, 24) = 0 [pid 7100] chdir("./111") = 0 [pid 7100] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7100] setpgid(0, 0) = 0 [pid 7100] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7100] write(3, "1000", 4) = 4 [pid 7100] close(3) = 0 [pid 7100] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7100] write(1, "executing program\n", 18) = 18 [pid 7100] memfd_create("syzkaller", 0) = 3 [pid 7100] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7100] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7100] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7100] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7100] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7100] close(3) = 0 [pid 7100] close(4) = 0 [pid 7100] mkdir("./file1", 0777) = 0 [ 509.059077][ T7100] loop0: detected capacity change from 0 to 32768 [ 509.130020][ T7100] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 509.150272][ T7100] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 509.158404][ T7100] bcachefs (loop0): Version upgrade required: [ 509.158404][ T7100] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 509.158404][ T7100] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 509.158404][ T7100] 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 [ 509.230577][ T7100] bcachefs (loop0): dropping and reconstructing all alloc info [ 509.245128][ T7100] bcachefs (loop0): accounting_read... done [ 509.251212][ T7100] bcachefs (loop0): alloc_read... done [ 509.256949][ T7100] bcachefs (loop0): stripes_read... done [ 509.262691][ T7100] bcachefs (loop0): snapshots_read... done [pid 7100] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7100] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7100] chdir("./file1") = 0 [pid 7100] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7100] ioctl(4, LOOP_CLR_FD) = 0 [ 509.268717][ T7100] bcachefs (loop0): check_allocations... done [ 509.285437][ T7100] bcachefs (loop0): going read-write [ 509.293878][ T7100] bcachefs (loop0): done starting filesystem [pid 7100] close(4) = 0 [pid 7100] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7100] exit_group(0) = ? [pid 7100] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7100, 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("./111", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./111", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./111/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./111/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./111/binderfs") = 0 [ 509.463898][ T5858] bcachefs (loop0): shutting down [ 509.468968][ T5858] bcachefs (loop0): going read-only [ 509.474230][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 509.481619][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 509.504051][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 509.517066][ T35] bcachefs (loop0): fatal error - emergency read only [ 509.524470][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 509.534240][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 509.541679][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 509.557530][ T5858] bcachefs (loop0): shutdown complete umount2("./111/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./111/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./111/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./111/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./111/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./111/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./111") = 0 mkdir("./112", 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 7111 attached , child_tidptr=0x555582790650) = 7111 [pid 7111] set_robust_list(0x555582790660, 24) = 0 [pid 7111] chdir("./112") = 0 [pid 7111] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7111] setpgid(0, 0) = 0 [pid 7111] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7111] write(3, "1000", 4) = 4 [pid 7111] close(3) = 0 [pid 7111] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7111] write(1, "executing program\n", 18) = 18 [pid 7111] memfd_create("syzkaller", 0) = 3 [pid 7111] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7111] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7111] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7111] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7111] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7111] close(3) = 0 [pid 7111] close(4) = 0 [pid 7111] mkdir("./file1", 0777) = 0 [ 510.873421][ T7111] loop0: detected capacity change from 0 to 32768 [ 510.941923][ T7111] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 510.962376][ T7111] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 510.970682][ T7111] bcachefs (loop0): Version upgrade required: [ 510.970682][ T7111] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 510.970682][ T7111] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 510.970682][ T7111] 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 [ 511.043016][ T7111] bcachefs (loop0): dropping and reconstructing all alloc info [ 511.058016][ T7111] bcachefs (loop0): accounting_read... done [ 511.064335][ T7111] bcachefs (loop0): alloc_read... done [ 511.069862][ T7111] bcachefs (loop0): stripes_read... done [ 511.076312][ T7111] bcachefs (loop0): snapshots_read... done [pid 7111] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7111] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7111] chdir("./file1") = 0 [pid 7111] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 511.082253][ T7111] bcachefs (loop0): check_allocations... done [ 511.098636][ T7111] bcachefs (loop0): going read-write [ 511.106654][ T7111] bcachefs (loop0): done starting filesystem [pid 7111] ioctl(4, LOOP_CLR_FD) = 0 [pid 7111] close(4) = 0 [pid 7111] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7111] exit_group(0) = ? [pid 7111] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7111, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- umount2("./112", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./112", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./112/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./112/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./112/binderfs") = 0 [ 511.291017][ T5858] bcachefs (loop0): shutting down [ 511.296271][ T5858] bcachefs (loop0): going read-only [ 511.301473][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 511.309067][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 511.331110][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 511.344073][ T6608] bcachefs (loop0): fatal error - emergency read only [ 511.351161][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 511.360985][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 511.368664][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 511.384136][ T5858] bcachefs (loop0): shutdown complete umount2("./112/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./112/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./112/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./112/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./112/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./112/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./112") = 0 mkdir("./113", 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 7122 attached [pid 7122] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7122 [pid 7122] chdir("./113") = 0 [pid 7122] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7122] setpgid(0, 0) = 0 [pid 7122] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7122] write(3, "1000", 4) = 4 [pid 7122] close(3) = 0 [pid 7122] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7122] write(1, "executing program\n", 18) = 18 [pid 7122] memfd_create("syzkaller", 0) = 3 [pid 7122] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7122] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7122] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7122] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7122] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7122] close(3) = 0 [pid 7122] close(4) = 0 [pid 7122] mkdir("./file1", 0777) = 0 [ 512.818701][ T7122] loop0: detected capacity change from 0 to 32768 [ 512.883703][ T7122] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 512.904079][ T7122] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 512.912070][ T7122] bcachefs (loop0): Version upgrade required: [ 512.912070][ T7122] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 512.912070][ T7122] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 512.912070][ T7122] 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 [ 512.984353][ T7122] bcachefs (loop0): dropping and reconstructing all alloc info [ 512.998716][ T7122] bcachefs (loop0): accounting_read... done [ 513.004906][ T7122] bcachefs (loop0): alloc_read... done [ 513.010423][ T7122] bcachefs (loop0): stripes_read... done [ 513.016161][ T7122] bcachefs (loop0): snapshots_read... done [pid 7122] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7122] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7122] chdir("./file1") = 0 [pid 7122] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7122] ioctl(4, LOOP_CLR_FD) = 0 [pid 7122] close(4) = 0 [pid 7122] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7122] exit_group(0) = ? [pid 7122] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7122, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 513.022093][ T7122] bcachefs (loop0): check_allocations... done [ 513.038516][ T7122] bcachefs (loop0): going read-write [ 513.047276][ T7122] bcachefs (loop0): done starting filesystem umount2("./113", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./113", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./113/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./113/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./113/binderfs") = 0 [ 513.109847][ T5858] bcachefs (loop0): shutting down [ 513.115422][ T5858] bcachefs (loop0): going read-only [ 513.120625][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 513.128771][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 513.150321][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 513.163597][ T2964] bcachefs (loop0): fatal error - emergency read only [ 513.170689][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 513.180581][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 513.188191][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 513.203195][ T5858] bcachefs (loop0): shutdown complete umount2("./113/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./113/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./113/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./113/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./113/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./113/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./113") = 0 mkdir("./114", 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 7133 attached [pid 7133] set_robust_list(0x555582790660, 24) = 0 [pid 7133] chdir("./114") = 0 [pid 7133] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7133 [pid 7133] setpgid(0, 0) = 0 [pid 7133] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7133] write(3, "1000", 4) = 4 [pid 7133] close(3) = 0 [pid 7133] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7133] write(1, "executing program\n", 18) = 18 [pid 7133] memfd_create("syzkaller", 0) = 3 [pid 7133] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7133] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7133] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7133] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7133] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7133] close(3) = 0 [pid 7133] close(4) = 0 [pid 7133] mkdir("./file1", 0777) = 0 [ 514.640985][ T7133] loop0: detected capacity change from 0 to 32768 [ 514.712624][ T7133] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 514.732893][ T7133] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 514.741292][ T7133] bcachefs (loop0): Version upgrade required: [ 514.741292][ T7133] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 514.741292][ T7133] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 514.741292][ T7133] 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 [ 514.813571][ T7133] bcachefs (loop0): dropping and reconstructing all alloc info [ 514.828331][ T7133] bcachefs (loop0): accounting_read... done [ 514.834610][ T7133] bcachefs (loop0): alloc_read... done [ 514.840143][ T7133] bcachefs (loop0): stripes_read... done [ 514.845921][ T7133] bcachefs (loop0): snapshots_read... done [pid 7133] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7133] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7133] chdir("./file1") = 0 [pid 7133] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7133] ioctl(4, LOOP_CLR_FD) = 0 [ 514.851860][ T7133] bcachefs (loop0): check_allocations... done [ 514.868432][ T7133] bcachefs (loop0): going read-write [ 514.876716][ T7133] bcachefs (loop0): done starting filesystem [pid 7133] close(4) = 0 [pid 7133] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7133] exit_group(0) = ? [pid 7133] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7133, 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("./114", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./114", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./114/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./114/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./114/binderfs") = 0 [ 515.050865][ T5858] bcachefs (loop0): shutting down [ 515.056074][ T5858] bcachefs (loop0): going read-only [ 515.061269][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 515.068940][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 515.090897][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 515.103907][ T35] bcachefs (loop0): fatal error - emergency read only [ 515.110986][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 515.120918][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 515.128545][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 515.144580][ T5858] bcachefs (loop0): shutdown complete umount2("./114/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./114/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./114/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./114/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./114/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./114/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./114") = 0 mkdir("./115", 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 7144 attached [pid 7144] set_robust_list(0x555582790660, 24) = 0 [pid 7144] chdir("./115" [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7144 [pid 7144] <... chdir resumed>) = 0 [pid 7144] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7144] setpgid(0, 0) = 0 [pid 7144] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7144] write(3, "1000", 4) = 4 [pid 7144] close(3) = 0 [pid 7144] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7144] write(1, "executing program\n", 18) = 18 [pid 7144] memfd_create("syzkaller", 0) = 3 [pid 7144] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7144] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7144] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7144] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7144] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7144] close(3) = 0 [pid 7144] close(4) = 0 [pid 7144] mkdir("./file1", 0777) = 0 [ 516.476990][ T7144] loop0: detected capacity change from 0 to 32768 [ 516.546689][ T7144] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 516.566860][ T7144] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 516.575398][ T7144] bcachefs (loop0): Version upgrade required: [ 516.575398][ T7144] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 516.575398][ T7144] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 516.575398][ T7144] 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 [ 516.648009][ T7144] bcachefs (loop0): dropping and reconstructing all alloc info [ 516.662945][ T7144] bcachefs (loop0): accounting_read... done [ 516.669094][ T7144] bcachefs (loop0): alloc_read... done [ 516.674672][ T7144] bcachefs (loop0): stripes_read... done [ 516.680351][ T7144] bcachefs (loop0): snapshots_read... done [pid 7144] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7144] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7144] chdir("./file1") = 0 [pid 7144] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7144] ioctl(4, LOOP_CLR_FD) = 0 [pid 7144] close(4) = 0 [pid 7144] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7144] exit_group(0) = ? [pid 7144] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7144, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- umount2("./115", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 516.686271][ T7144] bcachefs (loop0): check_allocations... done [ 516.702787][ T7144] bcachefs (loop0): going read-write [ 516.711473][ T7144] bcachefs (loop0): done starting filesystem openat(AT_FDCWD, "./115", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./115/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./115/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./115/binderfs") = 0 [ 516.835044][ T5858] bcachefs (loop0): shutting down [ 516.840138][ T5858] bcachefs (loop0): going read-only [ 516.845594][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 516.853028][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 516.876304][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 516.889484][ T35] bcachefs (loop0): fatal error - emergency read only [ 516.897180][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 516.906949][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 516.914588][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 516.929621][ T5858] bcachefs (loop0): shutdown complete umount2("./115/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./115/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./115/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./115/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./115/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./115/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./115") = 0 mkdir("./116", 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 7155 attached [pid 7155] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7155 [pid 7155] chdir("./116") = 0 [pid 7155] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7155] setpgid(0, 0) = 0 [pid 7155] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7155] write(3, "1000", 4) = 4 [pid 7155] close(3) = 0 [pid 7155] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7155] write(1, "executing program\n", 18) = 18 [pid 7155] memfd_create("syzkaller", 0) = 3 [pid 7155] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7155] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7155] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7155] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7155] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7155] close(3) = 0 [pid 7155] close(4) = 0 [pid 7155] mkdir("./file1", 0777) = 0 [ 518.268881][ T7155] loop0: detected capacity change from 0 to 32768 [ 518.335631][ T7155] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 518.355632][ T7155] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 518.363743][ T7155] bcachefs (loop0): Version upgrade required: [ 518.363743][ T7155] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 518.363743][ T7155] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 518.363743][ T7155] 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 [ 518.436158][ T7155] bcachefs (loop0): dropping and reconstructing all alloc info [ 518.450416][ T7155] bcachefs (loop0): accounting_read... done [ 518.456750][ T7155] bcachefs (loop0): alloc_read... done [ 518.462255][ T7155] bcachefs (loop0): stripes_read... done [ 518.468074][ T7155] bcachefs (loop0): snapshots_read... done [pid 7155] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7155] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7155] chdir("./file1") = 0 [pid 7155] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7155] ioctl(4, LOOP_CLR_FD) = 0 [ 518.474192][ T7155] bcachefs (loop0): check_allocations... done [ 518.490730][ T7155] bcachefs (loop0): going read-write [ 518.499229][ T7155] bcachefs (loop0): done starting filesystem [pid 7155] close(4) = 0 [pid 7155] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7155] exit_group(0) = ? [pid 7155] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7155, 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("./116", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./116", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./116/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./116/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./116/binderfs") = 0 [ 518.712290][ T5858] bcachefs (loop0): shutting down [ 518.717575][ T5858] bcachefs (loop0): going read-only [ 518.722772][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 518.730271][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 518.752815][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 518.766174][ T35] bcachefs (loop0): fatal error - emergency read only [ 518.774170][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 518.784127][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 518.791576][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 518.807802][ T5858] bcachefs (loop0): shutdown complete umount2("./116/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./116/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./116/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./116/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./116/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./116/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./116") = 0 mkdir("./117", 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 7167 attached , child_tidptr=0x555582790650) = 7167 [pid 7167] set_robust_list(0x555582790660, 24) = 0 [pid 7167] chdir("./117") = 0 [pid 7167] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7167] setpgid(0, 0) = 0 [pid 7167] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7167] write(3, "1000", 4) = 4 [pid 7167] close(3) = 0 [pid 7167] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7167] write(1, "executing program\n", 18) = 18 [pid 7167] memfd_create("syzkaller", 0) = 3 [pid 7167] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7167] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7167] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7167] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7167] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7167] close(3) = 0 [pid 7167] close(4) = 0 [pid 7167] mkdir("./file1", 0777) = 0 [ 520.093487][ T7167] loop0: detected capacity change from 0 to 32768 [ 520.158936][ T7167] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 520.179264][ T7167] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 520.187483][ T7167] bcachefs (loop0): Version upgrade required: [ 520.187483][ T7167] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 520.187483][ T7167] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 520.187483][ T7167] 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 [ 520.259596][ T7167] bcachefs (loop0): dropping and reconstructing all alloc info [ 520.274022][ T7167] bcachefs (loop0): accounting_read... done [ 520.280122][ T7167] bcachefs (loop0): alloc_read... done [ 520.285687][ T7167] bcachefs (loop0): stripes_read... done [ 520.291368][ T7167] bcachefs (loop0): snapshots_read... done [pid 7167] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7167] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7167] chdir("./file1") = 0 [pid 7167] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7167] ioctl(4, LOOP_CLR_FD) = 0 [pid 7167] close(4) = 0 [pid 7167] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7167] exit_group(0) = ? [pid 7167] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7167, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 520.297481][ T7167] bcachefs (loop0): check_allocations... done [ 520.314445][ T7167] bcachefs (loop0): going read-write [ 520.322660][ T7167] bcachefs (loop0): done starting filesystem umount2("./117", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./117", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./117/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./117/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./117/binderfs") = 0 [ 520.473847][ T5858] bcachefs (loop0): shutting down [ 520.478945][ T5858] bcachefs (loop0): going read-only [ 520.484813][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 520.492202][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 520.514031][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 520.526753][ T2964] bcachefs (loop0): fatal error - emergency read only [ 520.534000][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 520.543811][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 520.551255][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 520.566338][ T5858] bcachefs (loop0): shutdown complete umount2("./117/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./117/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./117/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./117/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./117/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./117/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./117") = 0 mkdir("./118", 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 7178 attached [pid 7178] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7178 [pid 7178] <... set_robust_list resumed>) = 0 [pid 7178] chdir("./118") = 0 [pid 7178] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7178] setpgid(0, 0) = 0 [pid 7178] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7178] write(3, "1000", 4) = 4 [pid 7178] close(3) = 0 [pid 7178] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7178] write(1, "executing program\n", 18) = 18 [pid 7178] memfd_create("syzkaller", 0) = 3 [pid 7178] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7178] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7178] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7178] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7178] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7178] close(3) = 0 [pid 7178] close(4) = 0 [pid 7178] mkdir("./file1", 0777) = 0 [ 521.894199][ T7178] loop0: detected capacity change from 0 to 32768 [ 521.968083][ T7178] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 521.988567][ T7178] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 521.997049][ T7178] bcachefs (loop0): Version upgrade required: [ 521.997049][ T7178] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 521.997049][ T7178] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 521.997049][ T7178] 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 [ 522.069162][ T7178] bcachefs (loop0): dropping and reconstructing all alloc info [ 522.083964][ T7178] bcachefs (loop0): accounting_read... done [ 522.090050][ T7178] bcachefs (loop0): alloc_read... done [ 522.095600][ T7178] bcachefs (loop0): stripes_read... done [ 522.101287][ T7178] bcachefs (loop0): snapshots_read... done [pid 7178] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7178] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7178] chdir("./file1") = 0 [pid 7178] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7178] ioctl(4, LOOP_CLR_FD) = 0 [pid 7178] close(4) = 0 [ 522.107323][ T7178] bcachefs (loop0): check_allocations... done [ 522.124383][ T7178] bcachefs (loop0): going read-write [ 522.132675][ T7178] bcachefs (loop0): done starting filesystem [pid 7178] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7178] exit_group(0) = ? [pid 7178] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7178, 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("./118", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./118", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./118/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./118/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./118/binderfs") = 0 [ 522.317552][ T5858] bcachefs (loop0): shutting down [ 522.322596][ T5858] bcachefs (loop0): going read-only [ 522.328099][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 522.335595][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 522.357618][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 522.370866][ T6608] bcachefs (loop0): fatal error - emergency read only [ 522.378107][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 522.387934][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 522.395687][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 522.411291][ T5858] bcachefs (loop0): shutdown complete umount2("./118/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./118/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./118/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./118/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./118/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./118/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./118") = 0 mkdir("./119", 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 7189 attached [pid 7189] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7189 [pid 7189] <... set_robust_list resumed>) = 0 [pid 7189] chdir("./119") = 0 [pid 7189] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7189] setpgid(0, 0) = 0 [pid 7189] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7189] write(3, "1000", 4) = 4 [pid 7189] close(3) = 0 [pid 7189] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7189] write(1, "executing program\n", 18) = 18 [pid 7189] memfd_create("syzkaller", 0) = 3 [pid 7189] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7189] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7189] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7189] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7189] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7189] close(3) = 0 [pid 7189] close(4) = 0 [pid 7189] mkdir("./file1", 0777) = 0 [ 523.693092][ T7189] loop0: detected capacity change from 0 to 32768 [ 523.756724][ T7189] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 523.777421][ T7189] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 523.785850][ T7189] bcachefs (loop0): Version upgrade required: [ 523.785850][ T7189] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 523.785850][ T7189] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 523.785850][ T7189] 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 [ 523.858043][ T7189] bcachefs (loop0): dropping and reconstructing all alloc info [ 523.872277][ T7189] bcachefs (loop0): accounting_read... done [ 523.878623][ T7189] bcachefs (loop0): alloc_read... done [ 523.884227][ T7189] bcachefs (loop0): stripes_read... done [ 523.889931][ T7189] bcachefs (loop0): snapshots_read... done [pid 7189] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7189] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7189] chdir("./file1") = 0 [pid 7189] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7189] ioctl(4, LOOP_CLR_FD) = 0 [ 523.895991][ T7189] bcachefs (loop0): check_allocations... done [ 523.912523][ T7189] bcachefs (loop0): going read-write [ 523.920571][ T7189] bcachefs (loop0): done starting filesystem [pid 7189] close(4) = 0 [pid 7189] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7189] exit_group(0) = ? [pid 7189] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7189, 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("./119", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./119", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./119/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./119/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./119/binderfs") = 0 [ 524.015814][ T5858] bcachefs (loop0): shutting down [ 524.020917][ T5858] bcachefs (loop0): going read-only [ 524.026361][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 524.034799][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 524.059062][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 524.072089][ T2964] bcachefs (loop0): fatal error - emergency read only [ 524.079349][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 524.089120][ T5858] bcachefs (loop0): unshutdown complete, journal seq 15 [ 524.096828][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 524.112154][ T5858] bcachefs (loop0): shutdown complete umount2("./119/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./119/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./119/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./119/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./119/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./119/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./119") = 0 mkdir("./120", 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 7201 attached [pid 7201] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7201 [pid 7201] chdir("./120") = 0 [pid 7201] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7201] setpgid(0, 0) = 0 [pid 7201] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7201] write(3, "1000", 4) = 4 [pid 7201] close(3) = 0 [pid 7201] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7201] write(1, "executing program\n", 18) = 18 [pid 7201] memfd_create("syzkaller", 0) = 3 [pid 7201] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7201] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7201] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7201] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7201] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7201] close(3) = 0 [pid 7201] close(4) = 0 [pid 7201] mkdir("./file1", 0777) = 0 [ 525.449014][ T7201] loop0: detected capacity change from 0 to 32768 [ 525.524819][ T7201] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 525.544855][ T7201] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 525.552895][ T7201] bcachefs (loop0): Version upgrade required: [ 525.552895][ T7201] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 525.552895][ T7201] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 525.552895][ T7201] 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 [ 525.625285][ T7201] bcachefs (loop0): dropping and reconstructing all alloc info [ 525.639334][ T7201] bcachefs (loop0): accounting_read... done [ 525.645495][ T7201] bcachefs (loop0): alloc_read... done [ 525.651017][ T7201] bcachefs (loop0): stripes_read... done [ 525.656771][ T7201] bcachefs (loop0): snapshots_read... done [pid 7201] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7201] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7201] chdir("./file1") = 0 [pid 7201] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7201] ioctl(4, LOOP_CLR_FD) = 0 [pid 7201] close(4) = 0 [pid 7201] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7201] exit_group(0) = ? [pid 7201] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7201, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 525.662713][ T7201] bcachefs (loop0): check_allocations... done [ 525.679336][ T7201] bcachefs (loop0): going read-write [ 525.687666][ T7201] bcachefs (loop0): done starting filesystem umount2("./120", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./120", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./120/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./120/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./120/binderfs") = 0 [ 525.840232][ T5858] bcachefs (loop0): shutting down [ 525.845388][ T5858] bcachefs (loop0): going read-only [ 525.850607][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 525.858761][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 525.880171][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 525.893235][ T35] bcachefs (loop0): fatal error - emergency read only [ 525.900771][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 525.910564][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 525.918369][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 525.933700][ T5858] bcachefs (loop0): shutdown complete umount2("./120/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./120/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./120/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./120/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./120/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./120/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./120") = 0 mkdir("./121", 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 7212 attached , child_tidptr=0x555582790650) = 7212 [pid 7212] set_robust_list(0x555582790660, 24) = 0 [pid 7212] chdir("./121") = 0 [pid 7212] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7212] setpgid(0, 0) = 0 [pid 7212] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7212] write(3, "1000", 4) = 4 [pid 7212] close(3) = 0 [pid 7212] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7212] write(1, "executing program\n", 18) = 18 [pid 7212] memfd_create("syzkaller", 0) = 3 [pid 7212] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7212] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7212] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7212] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7212] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7212] close(3) = 0 [pid 7212] close(4) = 0 [pid 7212] mkdir("./file1", 0777) = 0 [ 527.238251][ T7212] loop0: detected capacity change from 0 to 32768 [ 527.306448][ T7212] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 527.326607][ T7212] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 527.335239][ T7212] bcachefs (loop0): Version upgrade required: [ 527.335239][ T7212] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 527.335239][ T7212] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 527.335239][ T7212] 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 [ 527.407713][ T7212] bcachefs (loop0): dropping and reconstructing all alloc info [ 527.422705][ T7212] bcachefs (loop0): accounting_read... done [ 527.429177][ T7212] bcachefs (loop0): alloc_read... done [ 527.434842][ T7212] bcachefs (loop0): stripes_read... done [ 527.440694][ T7212] bcachefs (loop0): snapshots_read... done [pid 7212] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7212] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7212] chdir("./file1") = 0 [pid 7212] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7212] ioctl(4, LOOP_CLR_FD) = 0 [pid 7212] close(4) = 0 [pid 7212] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7212] exit_group(0) = ? [ 527.446987][ T7212] bcachefs (loop0): check_allocations... done [ 527.464739][ T7212] bcachefs (loop0): going read-write [ 527.472925][ T7212] bcachefs (loop0): done starting filesystem [pid 7212] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7212, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./121", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./121", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./121/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./121/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./121/binderfs") = 0 [ 527.646999][ T5858] bcachefs (loop0): shutting down [ 527.652045][ T5858] bcachefs (loop0): going read-only [ 527.657517][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 527.664972][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 527.686402][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 527.699068][ T6608] bcachefs (loop0): fatal error - emergency read only [ 527.706281][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 527.716082][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 527.723745][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 527.738822][ T5858] bcachefs (loop0): shutdown complete umount2("./121/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./121/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./121/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./121/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./121/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./121/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./121") = 0 mkdir("./122", 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 7223 attached [pid 7223] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7223 [pid 7223] chdir("./122") = 0 [pid 7223] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7223] setpgid(0, 0) = 0 [pid 7223] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7223] write(3, "1000", 4) = 4 [pid 7223] close(3) = 0 [pid 7223] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7223] write(1, "executing program\n", 18executing program ) = 18 [pid 7223] memfd_create("syzkaller", 0) = 3 [pid 7223] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7223] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7223] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7223] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7223] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7223] close(3) = 0 [pid 7223] close(4) = 0 [pid 7223] mkdir("./file1", 0777) = 0 [ 529.019455][ T7223] loop0: detected capacity change from 0 to 32768 [ 529.092547][ T7223] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 529.112715][ T7223] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 529.121080][ T7223] bcachefs (loop0): Version upgrade required: [ 529.121080][ T7223] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 529.121080][ T7223] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 529.121080][ T7223] 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 [ 529.192997][ T7223] bcachefs (loop0): dropping and reconstructing all alloc info [ 529.208148][ T7223] bcachefs (loop0): accounting_read... done [ 529.214316][ T7223] bcachefs (loop0): alloc_read... done [ 529.219840][ T7223] bcachefs (loop0): stripes_read... done [ 529.225630][ T7223] bcachefs (loop0): snapshots_read... done [pid 7223] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7223] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7223] chdir("./file1") = 0 [pid 7223] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 529.231647][ T7223] bcachefs (loop0): check_allocations... done [ 529.248956][ T7223] bcachefs (loop0): going read-write [ 529.257685][ T7223] bcachefs (loop0): done starting filesystem [pid 7223] ioctl(4, LOOP_CLR_FD) = 0 [pid 7223] close(4) = 0 [pid 7223] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7223] exit_group(0) = ? [pid 7223] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7223, 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("./122", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./122", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./122/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./122/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./122/binderfs") = 0 [ 529.470138][ T5858] bcachefs (loop0): shutting down [ 529.475327][ T5858] bcachefs (loop0): going read-only [ 529.480539][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 529.488102][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 529.510262][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 529.523254][ T35] bcachefs (loop0): fatal error - emergency read only [ 529.530696][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 529.540429][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 529.548174][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 529.563814][ T5858] bcachefs (loop0): shutdown complete umount2("./122/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./122/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./122/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./122/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./122/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./122/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./122") = 0 mkdir("./123", 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 7234 attached [pid 7234] set_robust_list(0x555582790660, 24) = 0 [pid 7234] chdir("./123" [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7234 [pid 7234] <... chdir resumed>) = 0 [pid 7234] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7234] setpgid(0, 0) = 0 [pid 7234] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7234] write(3, "1000", 4) = 4 [pid 7234] close(3) = 0 [pid 7234] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7234] write(1, "executing program\n", 18) = 18 [pid 7234] memfd_create("syzkaller", 0) = 3 [pid 7234] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7234] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7234] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7234] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7234] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7234] close(3) = 0 [pid 7234] close(4) = 0 [pid 7234] mkdir("./file1", 0777) = 0 [ 531.002827][ T7234] loop0: detected capacity change from 0 to 32768 [ 531.068558][ T7234] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 531.088874][ T7234] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 531.097049][ T7234] bcachefs (loop0): Version upgrade required: [ 531.097049][ T7234] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 531.097049][ T7234] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 531.097049][ T7234] 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 [ 531.169924][ T7234] bcachefs (loop0): dropping and reconstructing all alloc info [ 531.184345][ T7234] bcachefs (loop0): accounting_read... done [ 531.190466][ T7234] bcachefs (loop0): alloc_read... done [ 531.196052][ T7234] bcachefs (loop0): stripes_read... done [ 531.201730][ T7234] bcachefs (loop0): snapshots_read... done [pid 7234] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7234] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7234] chdir("./file1") = 0 [pid 7234] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 531.207745][ T7234] bcachefs (loop0): check_allocations... done [ 531.225395][ T7234] bcachefs (loop0): going read-write [ 531.233983][ T7234] bcachefs (loop0): done starting filesystem [pid 7234] ioctl(4, LOOP_CLR_FD) = 0 [pid 7234] close(4) = 0 [pid 7234] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7234] exit_group(0) = ? [pid 7234] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7234, 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("./123", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./123", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./123/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./123/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./123/binderfs") = 0 [ 531.321678][ T5858] bcachefs (loop0): shutting down [ 531.327015][ T5858] bcachefs (loop0): going read-only [ 531.332228][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 531.340029][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 531.364229][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 531.377134][ T35] bcachefs (loop0): fatal error - emergency read only [ 531.384807][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 531.394653][ T5858] bcachefs (loop0): unshutdown complete, journal seq 15 [ 531.402101][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 531.418087][ T5858] bcachefs (loop0): shutdown complete umount2("./123/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./123/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./123/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./123/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./123/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./123/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./123") = 0 mkdir("./124", 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 7245 attached [pid 7245] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7245 [pid 7245] <... set_robust_list resumed>) = 0 [pid 7245] chdir("./124") = 0 [pid 7245] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7245] setpgid(0, 0) = 0 [pid 7245] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7245] write(3, "1000", 4) = 4 [pid 7245] close(3) = 0 [pid 7245] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7245] write(1, "executing program\n", 18executing program ) = 18 [pid 7245] memfd_create("syzkaller", 0) = 3 [pid 7245] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7245] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7245] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7245] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7245] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7245] close(3) = 0 [pid 7245] close(4) = 0 [pid 7245] mkdir("./file1", 0777) = 0 [ 532.802317][ T7245] loop0: detected capacity change from 0 to 32768 [ 532.867849][ T7245] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 532.888162][ T7245] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 532.896399][ T7245] bcachefs (loop0): Version upgrade required: [ 532.896399][ T7245] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 532.896399][ T7245] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 532.896399][ T7245] 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 [ 532.968510][ T7245] bcachefs (loop0): dropping and reconstructing all alloc info [ 532.982860][ T7245] bcachefs (loop0): accounting_read... done [ 532.989017][ T7245] bcachefs (loop0): alloc_read... done [ 532.994632][ T7245] bcachefs (loop0): stripes_read... done [ 533.000356][ T7245] bcachefs (loop0): snapshots_read... done [pid 7245] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7245] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7245] chdir("./file1") = 0 [ 533.006381][ T7245] bcachefs (loop0): check_allocations... done [ 533.023886][ T7245] bcachefs (loop0): going read-write [ 533.032633][ T7245] bcachefs (loop0): done starting filesystem [pid 7245] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7245] ioctl(4, LOOP_CLR_FD) = 0 [pid 7245] close(4) = 0 [pid 7245] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7245] exit_group(0) = ? [pid 7245] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7245, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- umount2("./124", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./124", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./124/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./124/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./124/binderfs") = 0 [ 533.135569][ T5858] bcachefs (loop0): shutting down [ 533.140657][ T5858] bcachefs (loop0): going read-only [ 533.146323][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 533.154712][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 533.176904][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 533.190016][ T35] bcachefs (loop0): fatal error - emergency read only [ 533.197721][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 533.207540][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 533.215285][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 533.230908][ T5858] bcachefs (loop0): shutdown complete umount2("./124/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./124/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./124/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./124/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./124/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./124/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./124") = 0 mkdir("./125", 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 7256 attached [pid 7256] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7256 [pid 7256] chdir("./125") = 0 [pid 7256] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7256] setpgid(0, 0) = 0 [pid 7256] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7256] write(3, "1000", 4) = 4 [pid 7256] close(3) = 0 [pid 7256] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7256] write(1, "executing program\n", 18executing program ) = 18 [pid 7256] memfd_create("syzkaller", 0) = 3 [pid 7256] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7256] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7256] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7256] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7256] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7256] close(3) = 0 [pid 7256] close(4) = 0 [pid 7256] mkdir("./file1", 0777) = 0 [ 534.673976][ T7256] loop0: detected capacity change from 0 to 32768 [ 534.739307][ T7256] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 534.759980][ T7256] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 534.768078][ T7256] bcachefs (loop0): Version upgrade required: [ 534.768078][ T7256] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 534.768078][ T7256] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 534.768078][ T7256] 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 [ 534.840166][ T7256] bcachefs (loop0): dropping and reconstructing all alloc info [ 534.854985][ T7256] bcachefs (loop0): accounting_read... done [ 534.861163][ T7256] bcachefs (loop0): alloc_read... done [ 534.866790][ T7256] bcachefs (loop0): stripes_read... done [ 534.872479][ T7256] bcachefs (loop0): snapshots_read... done [pid 7256] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7256] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7256] chdir("./file1") = 0 [pid 7256] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7256] ioctl(4, LOOP_CLR_FD) = 0 [ 534.878611][ T7256] bcachefs (loop0): check_allocations... done [ 534.895186][ T7256] bcachefs (loop0): going read-write [ 534.903075][ T7256] bcachefs (loop0): done starting filesystem [pid 7256] close(4) = 0 [pid 7256] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7256] exit_group(0) = ? [pid 7256] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7256, 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("./125", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./125", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./125/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./125/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./125/binderfs") = 0 [ 535.057180][ T5858] bcachefs (loop0): shutting down [ 535.062287][ T5858] bcachefs (loop0): going read-only [ 535.067776][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 535.075751][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 535.096806][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 535.109894][ T2964] bcachefs (loop0): fatal error - emergency read only [ 535.117326][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 535.127102][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 535.134848][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 535.150121][ T5858] bcachefs (loop0): shutdown complete umount2("./125/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./125/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./125/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./125/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./125/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./125/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./125") = 0 mkdir("./126", 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 7267 attached [pid 7267] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7267 [pid 7267] <... set_robust_list resumed>) = 0 [pid 7267] chdir("./126") = 0 [pid 7267] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7267] setpgid(0, 0) = 0 [pid 7267] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7267] write(3, "1000", 4) = 4 [pid 7267] close(3) = 0 [pid 7267] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7267] write(1, "executing program\n", 18executing program ) = 18 [pid 7267] memfd_create("syzkaller", 0) = 3 [pid 7267] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7267] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7267] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7267] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7267] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7267] close(3) = 0 [pid 7267] close(4) = 0 [pid 7267] mkdir("./file1", 0777) = 0 [ 536.450139][ T7267] loop0: detected capacity change from 0 to 32768 [ 536.514011][ T7267] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 536.534358][ T7267] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 536.542366][ T7267] bcachefs (loop0): Version upgrade required: [ 536.542366][ T7267] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 536.542366][ T7267] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 536.542366][ T7267] 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 [ 536.614577][ T7267] bcachefs (loop0): dropping and reconstructing all alloc info [ 536.628886][ T7267] bcachefs (loop0): accounting_read... done [ 536.635076][ T7267] bcachefs (loop0): alloc_read... done [ 536.640594][ T7267] bcachefs (loop0): stripes_read... done [ 536.646309][ T7267] bcachefs (loop0): snapshots_read... done [pid 7267] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7267] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7267] chdir("./file1") = 0 [pid 7267] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7267] ioctl(4, LOOP_CLR_FD) = 0 [pid 7267] close(4) = 0 [pid 7267] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7267] exit_group(0) = ? [pid 7267] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7267, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 536.652228][ T7267] bcachefs (loop0): check_allocations... done [ 536.669084][ T7267] bcachefs (loop0): going read-write [ 536.677604][ T7267] bcachefs (loop0): done starting filesystem umount2("./126", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./126", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./126/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./126/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./126/binderfs") = 0 [ 536.829990][ T5858] bcachefs (loop0): shutting down [ 536.835271][ T5858] bcachefs (loop0): going read-only [ 536.840484][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 536.848105][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 536.870313][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 536.883277][ T6608] bcachefs (loop0): fatal error - emergency read only [ 536.890811][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 536.900849][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 536.908550][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 536.924055][ T5858] bcachefs (loop0): shutdown complete umount2("./126/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./126/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./126/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./126/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./126/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./126/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./126") = 0 mkdir("./127", 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 7278 attached , child_tidptr=0x555582790650) = 7278 [pid 7278] set_robust_list(0x555582790660, 24) = 0 [pid 7278] chdir("./127") = 0 [pid 7278] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7278] setpgid(0, 0) = 0 [pid 7278] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7278] write(3, "1000", 4) = 4 [pid 7278] close(3) = 0 [pid 7278] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7278] write(1, "executing program\n", 18) = 18 [pid 7278] memfd_create("syzkaller", 0) = 3 [pid 7278] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7278] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7278] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7278] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7278] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7278] close(3) = 0 [pid 7278] close(4) = 0 [pid 7278] mkdir("./file1", 0777) = 0 [ 538.255545][ T7278] loop0: detected capacity change from 0 to 32768 [ 538.318733][ T7278] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 538.339009][ T7278] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 538.347120][ T7278] bcachefs (loop0): Version upgrade required: [ 538.347120][ T7278] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 538.347120][ T7278] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 538.347120][ T7278] 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 [ 538.419579][ T7278] bcachefs (loop0): dropping and reconstructing all alloc info [ 538.434423][ T7278] bcachefs (loop0): accounting_read... done [ 538.440521][ T7278] bcachefs (loop0): alloc_read... done [ 538.446082][ T7278] bcachefs (loop0): stripes_read... done [ 538.451794][ T7278] bcachefs (loop0): snapshots_read... done [pid 7278] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7278] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7278] chdir("./file1") = 0 [pid 7278] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7278] ioctl(4, LOOP_CLR_FD) = 0 [pid 7278] close(4) = 0 [pid 7278] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7278] exit_group(0) = ? [ 538.457750][ T7278] bcachefs (loop0): check_allocations... done [ 538.474619][ T7278] bcachefs (loop0): going read-write [ 538.482494][ T7278] bcachefs (loop0): done starting filesystem [pid 7278] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7278, si_uid=0, si_status=0, si_utime=0, si_stime=24 /* 0.24 s */} --- umount2("./127", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./127", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./127/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./127/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./127/binderfs") = 0 [ 538.663670][ T5858] bcachefs (loop0): shutting down [ 538.668765][ T5858] bcachefs (loop0): going read-only [ 538.674242][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 538.681651][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 538.704003][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 538.717238][ T35] bcachefs (loop0): fatal error - emergency read only [ 538.724969][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 538.734809][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 538.742264][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 538.757849][ T5858] bcachefs (loop0): shutdown complete umount2("./127/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./127/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./127/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./127/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./127/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./127/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./127") = 0 mkdir("./128", 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 7289 attached , child_tidptr=0x555582790650) = 7289 [pid 7289] set_robust_list(0x555582790660, 24) = 0 [pid 7289] chdir("./128") = 0 [pid 7289] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7289] setpgid(0, 0) = 0 [pid 7289] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7289] write(3, "1000", 4) = 4 [pid 7289] close(3) = 0 [pid 7289] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7289] write(1, "executing program\n", 18executing program ) = 18 [pid 7289] memfd_create("syzkaller", 0) = 3 [pid 7289] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7289] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7289] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7289] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7289] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7289] close(3) = 0 [pid 7289] close(4) = 0 [pid 7289] mkdir("./file1", 0777) = 0 [ 540.046331][ T7289] loop0: detected capacity change from 0 to 32768 [ 540.121588][ T7289] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 540.142088][ T7289] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 540.150367][ T7289] bcachefs (loop0): Version upgrade required: [ 540.150367][ T7289] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 540.150367][ T7289] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 540.150367][ T7289] 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 [ 540.222445][ T7289] bcachefs (loop0): dropping and reconstructing all alloc info [ 540.237369][ T7289] bcachefs (loop0): accounting_read... done [ 540.243993][ T7289] bcachefs (loop0): alloc_read... done [ 540.249542][ T7289] bcachefs (loop0): stripes_read... done [ 540.255369][ T7289] bcachefs (loop0): snapshots_read... done [pid 7289] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7289] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7289] chdir("./file1") = 0 [ 540.261402][ T7289] bcachefs (loop0): check_allocations... done [ 540.278463][ T7289] bcachefs (loop0): going read-write [ 540.287014][ T7289] bcachefs (loop0): done starting filesystem [pid 7289] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7289] ioctl(4, LOOP_CLR_FD) = 0 [pid 7289] close(4) = 0 [pid 7289] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7289] exit_group(0) = ? [pid 7289] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7289, 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("./128", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./128", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./128/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./128/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./128/binderfs") = 0 [ 540.481756][ T5858] bcachefs (loop0): shutting down [ 540.486964][ T5858] bcachefs (loop0): going read-only [ 540.492187][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 540.499870][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 540.521980][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 540.534921][ T6608] bcachefs (loop0): fatal error - emergency read only [ 540.542136][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 540.552065][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 540.560301][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 540.575989][ T5858] bcachefs (loop0): shutdown complete umount2("./128/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./128/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./128/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./128/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./128/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./128/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./128") = 0 mkdir("./129", 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 7300 attached [pid 7300] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7300 [pid 7300] chdir("./129") = 0 [pid 7300] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7300] setpgid(0, 0) = 0 [pid 7300] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7300] write(3, "1000", 4) = 4 [pid 7300] close(3) = 0 [pid 7300] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7300] write(1, "executing program\n", 18executing program ) = 18 [pid 7300] memfd_create("syzkaller", 0) = 3 [pid 7300] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7300] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7300] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7300] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7300] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7300] close(3) = 0 [pid 7300] close(4) = 0 [pid 7300] mkdir("./file1", 0777) = 0 [ 542.051341][ T7300] loop0: detected capacity change from 0 to 32768 [ 542.129281][ T7300] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 542.149433][ T7300] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 542.157672][ T7300] bcachefs (loop0): Version upgrade required: [ 542.157672][ T7300] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 542.157672][ T7300] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 542.157672][ T7300] 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 [ 542.229562][ T7300] bcachefs (loop0): dropping and reconstructing all alloc info [ 542.244413][ T7300] bcachefs (loop0): accounting_read... done [ 542.250530][ T7300] bcachefs (loop0): alloc_read... done [ 542.256339][ T7300] bcachefs (loop0): stripes_read... done [ 542.262167][ T7300] bcachefs (loop0): snapshots_read... done [pid 7300] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7300] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7300] chdir("./file1") = 0 [pid 7300] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7300] ioctl(4, LOOP_CLR_FD) = 0 [ 542.268184][ T7300] bcachefs (loop0): check_allocations... done [ 542.285037][ T7300] bcachefs (loop0): going read-write [ 542.293673][ T7300] bcachefs (loop0): done starting filesystem [pid 7300] close(4) = 0 [pid 7300] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7300] exit_group(0) = ? [pid 7300] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7300, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./129", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./129", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./129/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./129/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./129/binderfs") = 0 [ 542.495254][ T5858] bcachefs (loop0): shutting down [ 542.500336][ T5858] bcachefs (loop0): going read-only [ 542.505812][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 542.513187][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 542.534548][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 542.547435][ T35] bcachefs (loop0): fatal error - emergency read only [ 542.554956][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 542.564742][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 542.572181][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 542.588165][ T5858] bcachefs (loop0): shutdown complete umount2("./129/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./129/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./129/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./129/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./129/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./129/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./129") = 0 mkdir("./130", 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 7311 attached [pid 7311] set_robust_list(0x555582790660, 24) = 0 [pid 7311] chdir("./130") = 0 [pid 7311] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7311] setpgid(0, 0) = 0 [pid 7311] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7311] write(3, "1000", 4) = 4 [pid 7311] close(3) = 0 [pid 7311] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7311] write(1, "executing program\n", 18) = 18 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7311 [pid 7311] memfd_create("syzkaller", 0) = 3 [pid 7311] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7311] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7311] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7311] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7311] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7311] close(3) = 0 [pid 7311] close(4) = 0 [pid 7311] mkdir("./file1", 0777) = 0 [ 543.826838][ T7311] loop0: detected capacity change from 0 to 32768 [ 543.902903][ T7311] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 543.923777][ T7311] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 543.931828][ T7311] bcachefs (loop0): Version upgrade required: [ 543.931828][ T7311] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 543.931828][ T7311] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 543.931828][ T7311] 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 [ 544.004079][ T7311] bcachefs (loop0): dropping and reconstructing all alloc info [ 544.018519][ T7311] bcachefs (loop0): accounting_read... done [ 544.024982][ T7311] bcachefs (loop0): alloc_read... done [ 544.030599][ T7311] bcachefs (loop0): stripes_read... done [ 544.036500][ T7311] bcachefs (loop0): snapshots_read... done [pid 7311] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7311] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7311] chdir("./file1") = 0 [pid 7311] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7311] ioctl(4, LOOP_CLR_FD) = 0 [pid 7311] close(4) = 0 [pid 7311] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7311] exit_group(0) = ? [pid 7311] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7311, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- umount2("./130", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./130", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./130/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./130/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./130/binderfs") = 0 [ 544.042585][ T7311] bcachefs (loop0): check_allocations... done [ 544.059383][ T7311] bcachefs (loop0): going read-write [ 544.067792][ T7311] bcachefs (loop0): done starting filesystem [ 544.109188][ T5858] bcachefs (loop0): shutting down [ 544.115728][ T5858] bcachefs (loop0): going read-only [ 544.120961][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 544.128855][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 544.150801][ T6608] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 544.164042][ T6608] bcachefs (loop0): fatal error - emergency read only [ 544.171321][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 544.181410][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 544.188944][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 544.203931][ T5858] bcachefs (loop0): shutdown complete umount2("./130/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./130/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./130/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./130/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./130/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./130/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./130") = 0 mkdir("./131", 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 7322 attached [pid 7322] set_robust_list(0x555582790660, 24 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7322 [pid 7322] <... set_robust_list resumed>) = 0 [pid 7322] chdir("./131") = 0 [pid 7322] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7322] setpgid(0, 0) = 0 [pid 7322] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7322] write(3, "1000", 4) = 4 [pid 7322] close(3) = 0 [pid 7322] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7322] write(1, "executing program\n", 18) = 18 [pid 7322] memfd_create("syzkaller", 0) = 3 [pid 7322] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7322] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7322] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7322] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7322] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7322] close(3) = 0 [pid 7322] close(4) = 0 [pid 7322] mkdir("./file1", 0777) = 0 [ 545.552777][ T7322] loop0: detected capacity change from 0 to 32768 [ 545.619250][ T7322] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 545.639716][ T7322] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 545.648417][ T7322] bcachefs (loop0): Version upgrade required: [ 545.648417][ T7322] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 545.648417][ T7322] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 545.648417][ T7322] 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 [ 545.720281][ T7322] bcachefs (loop0): dropping and reconstructing all alloc info [ 545.734791][ T7322] bcachefs (loop0): accounting_read... done [ 545.740860][ T7322] bcachefs (loop0): alloc_read... done [ 545.746414][ T7322] bcachefs (loop0): stripes_read... done [ 545.752129][ T7322] bcachefs (loop0): snapshots_read... done [pid 7322] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7322] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7322] chdir("./file1") = 0 [pid 7322] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7322] ioctl(4, LOOP_CLR_FD) = 0 [ 545.758118][ T7322] bcachefs (loop0): check_allocations... done [ 545.774883][ T7322] bcachefs (loop0): going read-write [ 545.783012][ T7322] bcachefs (loop0): done starting filesystem [pid 7322] close(4) = 0 [pid 7322] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7322] exit_group(0) = ? [pid 7322] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7322, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- umount2("./131", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./131", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./131/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./131/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./131/binderfs") = 0 [ 546.002345][ T5858] bcachefs (loop0): shutting down [ 546.007578][ T5858] bcachefs (loop0): going read-only [ 546.012806][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 546.020306][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 546.041778][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 546.054716][ T35] bcachefs (loop0): fatal error - emergency read only [ 546.061840][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 546.071531][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 546.079220][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 546.095220][ T5858] bcachefs (loop0): shutdown complete umount2("./131/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./131/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./131/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./131/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./131/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./131/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./131") = 0 mkdir("./132", 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 7333 attached , child_tidptr=0x555582790650) = 7333 [pid 7333] set_robust_list(0x555582790660, 24) = 0 [pid 7333] chdir("./132") = 0 [pid 7333] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7333] setpgid(0, 0) = 0 [pid 7333] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7333] write(3, "1000", 4) = 4 [pid 7333] close(3) = 0 [pid 7333] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7333] write(1, "executing program\n", 18) = 18 [pid 7333] memfd_create("syzkaller", 0) = 3 [pid 7333] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7333] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7333] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7333] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7333] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7333] close(3) = 0 [pid 7333] close(4) = 0 [pid 7333] mkdir("./file1", 0777) = 0 [ 547.536234][ T7333] loop0: detected capacity change from 0 to 32768 [ 547.600820][ T7333] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 547.621166][ T7333] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 547.629531][ T7333] bcachefs (loop0): Version upgrade required: [ 547.629531][ T7333] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 547.629531][ T7333] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 547.629531][ T7333] 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 [ 547.701279][ T7333] bcachefs (loop0): dropping and reconstructing all alloc info [ 547.715902][ T7333] bcachefs (loop0): accounting_read... done [ 547.721992][ T7333] bcachefs (loop0): alloc_read... done [ 547.727604][ T7333] bcachefs (loop0): stripes_read... done [ 547.733293][ T7333] bcachefs (loop0): snapshots_read... done [pid 7333] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7333] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7333] chdir("./file1") = 0 [pid 7333] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7333] ioctl(4, LOOP_CLR_FD) = 0 [ 547.739363][ T7333] bcachefs (loop0): check_allocations... done [ 547.755999][ T7333] bcachefs (loop0): going read-write [ 547.764687][ T7333] bcachefs (loop0): done starting filesystem [pid 7333] close(4) = 0 [pid 7333] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7333] exit_group(0) = ? [pid 7333] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7333, 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("./132", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./132", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./132/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./132/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./132/binderfs") = 0 [ 547.957637][ T5858] bcachefs (loop0): shutting down [ 547.962724][ T5858] bcachefs (loop0): going read-only [ 547.968442][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 547.976171][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 547.998523][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 548.011672][ T2964] bcachefs (loop0): fatal error - emergency read only [ 548.019342][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 548.029220][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 548.036940][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 548.052609][ T5858] bcachefs (loop0): shutdown complete umount2("./132/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./132/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./132/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./132/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./132/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./132/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./132") = 0 mkdir("./133", 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 7344 attached , child_tidptr=0x555582790650) = 7344 [pid 7344] set_robust_list(0x555582790660, 24) = 0 [pid 7344] chdir("./133") = 0 [pid 7344] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7344] setpgid(0, 0) = 0 [pid 7344] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7344] write(3, "1000", 4) = 4 [pid 7344] close(3) = 0 [pid 7344] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7344] write(1, "executing program\n", 18) = 18 [pid 7344] memfd_create("syzkaller", 0) = 3 [pid 7344] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7344] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7344] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7344] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7344] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7344] close(3) = 0 [pid 7344] close(4) = 0 [pid 7344] mkdir("./file1", 0777) = 0 [ 549.464003][ T7344] loop0: detected capacity change from 0 to 32768 [ 549.559619][ T7344] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 549.579641][ T7344] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 549.588206][ T7344] bcachefs (loop0): Version upgrade required: [ 549.588206][ T7344] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 549.588206][ T7344] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 549.588206][ T7344] 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 [ 549.660333][ T7344] bcachefs (loop0): dropping and reconstructing all alloc info [ 549.674478][ T7344] bcachefs (loop0): accounting_read... done [ 549.680544][ T7344] bcachefs (loop0): alloc_read... done [ 549.686113][ T7344] bcachefs (loop0): stripes_read... done [ 549.691797][ T7344] bcachefs (loop0): snapshots_read... done [pid 7344] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7344] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7344] chdir("./file1") = 0 [pid 7344] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7344] ioctl(4, LOOP_CLR_FD) = 0 [pid 7344] close(4) = 0 [ 549.697747][ T7344] bcachefs (loop0): check_allocations... done [ 549.715050][ T7344] bcachefs (loop0): going read-write [ 549.723724][ T7344] bcachefs (loop0): done starting filesystem [pid 7344] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7344] exit_group(0) = ? [pid 7344] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7344, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=19 /* 0.19 s */} --- umount2("./133", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./133", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./133/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./133/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./133/binderfs") = 0 [ 549.924282][ T5858] bcachefs (loop0): shutting down [ 549.929347][ T5858] bcachefs (loop0): going read-only [ 549.934796][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 549.942127][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 549.964288][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 549.976976][ T35] bcachefs (loop0): fatal error - emergency read only [ 549.984596][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 549.994360][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 550.001800][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 550.017509][ T5858] bcachefs (loop0): shutdown complete umount2("./133/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./133/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./133/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./133/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./133/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./133/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./133") = 0 mkdir("./134", 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 7355 attached , child_tidptr=0x555582790650) = 7355 [pid 7355] set_robust_list(0x555582790660, 24) = 0 [pid 7355] chdir("./134") = 0 [pid 7355] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7355] setpgid(0, 0) = 0 [pid 7355] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7355] write(3, "1000", 4) = 4 [pid 7355] close(3) = 0 [pid 7355] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7355] write(1, "executing program\n", 18) = 18 [pid 7355] memfd_create("syzkaller", 0) = 3 [pid 7355] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7355] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7355] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7355] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7355] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7355] close(3) = 0 [pid 7355] close(4) = 0 [pid 7355] mkdir("./file1", 0777) = 0 [ 551.413071][ T7355] loop0: detected capacity change from 0 to 32768 [ 551.479429][ T7355] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 551.499678][ T7355] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 551.508274][ T7355] bcachefs (loop0): Version upgrade required: [ 551.508274][ T7355] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 551.508274][ T7355] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 551.508274][ T7355] 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 [ 551.580980][ T7355] bcachefs (loop0): dropping and reconstructing all alloc info [ 551.595609][ T7355] bcachefs (loop0): accounting_read... done [ 551.601750][ T7355] bcachefs (loop0): alloc_read... done [ 551.607435][ T7355] bcachefs (loop0): stripes_read... done [ 551.613132][ T7355] bcachefs (loop0): snapshots_read... done [pid 7355] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7355] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7355] chdir("./file1") = 0 [pid 7355] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7355] ioctl(4, LOOP_CLR_FD) = 0 [pid 7355] close(4) = 0 [ 551.619207][ T7355] bcachefs (loop0): check_allocations... done [ 551.635947][ T7355] bcachefs (loop0): going read-write [ 551.645092][ T7355] bcachefs (loop0): done starting filesystem [pid 7355] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7355] exit_group(0) = ? [pid 7355] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7355, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./134", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./134", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./134/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./134/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./134/binderfs") = 0 [ 551.726007][ T5858] bcachefs (loop0): shutting down [ 551.731062][ T5858] bcachefs (loop0): going read-only [ 551.736724][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 551.744775][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 551.768294][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 551.781494][ T35] bcachefs (loop0): fatal error - emergency read only [ 551.788931][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 551.798866][ T5858] bcachefs (loop0): unshutdown complete, journal seq 15 [ 551.806433][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 551.822135][ T5858] bcachefs (loop0): shutdown complete umount2("./134/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./134/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./134/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./134/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./134/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./134/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./134") = 0 mkdir("./135", 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 7366 attached , child_tidptr=0x555582790650) = 7366 [pid 7366] set_robust_list(0x555582790660, 24) = 0 [pid 7366] chdir("./135") = 0 [pid 7366] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7366] setpgid(0, 0) = 0 [pid 7366] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7366] write(3, "1000", 4) = 4 [pid 7366] close(3) = 0 [pid 7366] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7366] write(1, "executing program\n", 18) = 18 [pid 7366] memfd_create("syzkaller", 0) = 3 [pid 7366] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7366] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7366] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7366] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7366] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7366] close(3) = 0 [pid 7366] close(4) = 0 [pid 7366] mkdir("./file1", 0777) = 0 [ 553.129079][ T7366] loop0: detected capacity change from 0 to 32768 [ 553.173567][ T7366] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 553.194183][ T7366] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 553.202201][ T7366] bcachefs (loop0): Version upgrade required: [ 553.202201][ T7366] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 553.202201][ T7366] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 553.202201][ T7366] 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 [ 553.274312][ T7366] bcachefs (loop0): dropping and reconstructing all alloc info [ 553.289251][ T7366] bcachefs (loop0): accounting_read... done [ 553.295589][ T7366] bcachefs (loop0): alloc_read... done [ 553.301101][ T7366] bcachefs (loop0): stripes_read... done [ 553.307308][ T7366] bcachefs (loop0): snapshots_read... done [pid 7366] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7366] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7366] chdir("./file1") = 0 [pid 7366] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7366] ioctl(4, LOOP_CLR_FD) = 0 [pid 7366] close(4) = 0 [ 553.313247][ T7366] bcachefs (loop0): check_allocations... done [ 553.330662][ T7366] bcachefs (loop0): going read-write [ 553.339288][ T7366] bcachefs (loop0): done starting filesystem [pid 7366] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7366] exit_group(0) = ? [pid 7366] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7366, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=28 /* 0.28 s */} --- umount2("./135", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./135", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./135/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./135/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./135/binderfs") = 0 [ 553.523260][ T5858] bcachefs (loop0): shutting down [ 553.528493][ T5858] bcachefs (loop0): going read-only [ 553.533750][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 553.541152][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 553.562140][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 553.574877][ T35] bcachefs (loop0): fatal error - emergency read only [ 553.581931][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 553.591823][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 553.599419][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 553.614795][ T5858] bcachefs (loop0): shutdown complete umount2("./135/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./135/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./135/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./135/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./135/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./135/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./135") = 0 mkdir("./136", 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 7377 attached , child_tidptr=0x555582790650) = 7377 [pid 7377] set_robust_list(0x555582790660, 24) = 0 [pid 7377] chdir("./136") = 0 [pid 7377] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7377] setpgid(0, 0) = 0 [pid 7377] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7377] write(3, "1000", 4) = 4 [pid 7377] close(3) = 0 [pid 7377] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7377] write(1, "executing program\n", 18executing program ) = 18 [pid 7377] memfd_create("syzkaller", 0) = 3 [pid 7377] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7377] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7377] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7377] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7377] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7377] close(3) = 0 [pid 7377] close(4) = 0 [pid 7377] mkdir("./file1", 0777) = 0 [ 554.935389][ T7377] loop0: detected capacity change from 0 to 32768 [ 555.000117][ T7377] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 555.020243][ T7377] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 555.028690][ T7377] bcachefs (loop0): Version upgrade required: [ 555.028690][ T7377] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 555.028690][ T7377] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 555.028690][ T7377] 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 [ 555.100964][ T7377] bcachefs (loop0): dropping and reconstructing all alloc info [ 555.115864][ T7377] bcachefs (loop0): accounting_read... done [ 555.121966][ T7377] bcachefs (loop0): alloc_read... done [ 555.127635][ T7377] bcachefs (loop0): stripes_read... done [ 555.133403][ T7377] bcachefs (loop0): snapshots_read... done [pid 7377] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7377] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7377] chdir("./file1") = 0 [pid 7377] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7377] ioctl(4, LOOP_CLR_FD) = 0 [pid 7377] close(4) = 0 [pid 7377] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [ 555.139348][ T7377] bcachefs (loop0): check_allocations... done [ 555.156143][ T7377] bcachefs (loop0): going read-write [ 555.165177][ T7377] bcachefs (loop0): done starting filesystem [pid 7377] exit_group(0) = ? [pid 7377] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7377, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- umount2("./136", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./136", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./136/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./136/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./136/binderfs") = 0 [ 555.237856][ T5858] bcachefs (loop0): shutting down [ 555.242905][ T5858] bcachefs (loop0): going read-only [ 555.248212][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 555.255881][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 555.278250][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 555.291297][ T2964] bcachefs (loop0): fatal error - emergency read only [ 555.298730][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 555.308445][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 555.316118][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 555.331426][ T5858] bcachefs (loop0): shutdown complete umount2("./136/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./136/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./136/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./136/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./136/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./136/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./136") = 0 mkdir("./137", 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 7388 attached , child_tidptr=0x555582790650) = 7388 [pid 7388] set_robust_list(0x555582790660, 24) = 0 [pid 7388] chdir("./137") = 0 [pid 7388] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7388] setpgid(0, 0) = 0 [pid 7388] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7388] write(3, "1000", 4) = 4 [pid 7388] close(3) = 0 [pid 7388] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7388] write(1, "executing program\n", 18) = 18 [pid 7388] memfd_create("syzkaller", 0) = 3 [pid 7388] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7388] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7388] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7388] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7388] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7388] close(3) = 0 [pid 7388] close(4) = 0 [pid 7388] mkdir("./file1", 0777) = 0 [ 556.681558][ T7388] loop0: detected capacity change from 0 to 32768 [ 556.755728][ T7388] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 556.775797][ T7388] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 556.783910][ T7388] bcachefs (loop0): Version upgrade required: [ 556.783910][ T7388] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 556.783910][ T7388] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 556.783910][ T7388] 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 [ 556.855734][ T7388] bcachefs (loop0): dropping and reconstructing all alloc info [ 556.870102][ T7388] bcachefs (loop0): accounting_read... done [ 556.876272][ T7388] bcachefs (loop0): alloc_read... done [ 556.881797][ T7388] bcachefs (loop0): stripes_read... done [ 556.887598][ T7388] bcachefs (loop0): snapshots_read... done [pid 7388] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7388] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7388] chdir("./file1") = 0 [pid 7388] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7388] ioctl(4, LOOP_CLR_FD) = 0 [pid 7388] close(4) = 0 [pid 7388] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7388] exit_group(0) = ? [pid 7388] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7388, 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("./137", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 556.893890][ T7388] bcachefs (loop0): check_allocations... done [ 556.910095][ T7388] bcachefs (loop0): going read-write [ 556.918339][ T7388] bcachefs (loop0): done starting filesystem openat(AT_FDCWD, "./137", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./137/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./137/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./137/binderfs") = 0 [ 557.030057][ T5858] bcachefs (loop0): shutting down [ 557.035294][ T5858] bcachefs (loop0): going read-only [ 557.040495][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 557.048266][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 557.070383][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 557.083085][ T35] bcachefs (loop0): fatal error - emergency read only [ 557.090423][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 557.100272][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 557.108141][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 557.123629][ T5858] bcachefs (loop0): shutdown complete umount2("./137/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./137/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./137/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./137/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./137/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./137/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./137") = 0 mkdir("./138", 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 7399 attached , child_tidptr=0x555582790650) = 7399 [pid 7399] set_robust_list(0x555582790660, 24) = 0 [pid 7399] chdir("./138") = 0 [pid 7399] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7399] setpgid(0, 0) = 0 [pid 7399] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7399] write(3, "1000", 4) = 4 [pid 7399] close(3) = 0 [pid 7399] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7399] write(1, "executing program\n", 18) = 18 [pid 7399] memfd_create("syzkaller", 0) = 3 [pid 7399] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7399] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7399] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7399] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7399] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7399] close(3) = 0 [pid 7399] close(4) = 0 [pid 7399] mkdir("./file1", 0777) = 0 [ 558.488223][ T7399] loop0: detected capacity change from 0 to 32768 [ 558.559595][ T7399] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 558.579621][ T7399] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 558.587913][ T7399] bcachefs (loop0): Version upgrade required: [ 558.587913][ T7399] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 558.587913][ T7399] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 558.587913][ T7399] 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 [ 558.660638][ T7399] bcachefs (loop0): dropping and reconstructing all alloc info [ 558.675167][ T7399] bcachefs (loop0): accounting_read... done [ 558.681249][ T7399] bcachefs (loop0): alloc_read... done [ 558.686894][ T7399] bcachefs (loop0): stripes_read... done [ 558.692572][ T7399] bcachefs (loop0): snapshots_read... done [pid 7399] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7399] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7399] chdir("./file1") = 0 [pid 7399] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7399] ioctl(4, LOOP_CLR_FD) = 0 [pid 7399] close(4) = 0 [pid 7399] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7399] exit_group(0) = ? [pid 7399] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7399, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 558.698794][ T7399] bcachefs (loop0): check_allocations... done [ 558.715301][ T7399] bcachefs (loop0): going read-write [ 558.723137][ T7399] bcachefs (loop0): done starting filesystem umount2("./138", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./138", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./138/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./138/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./138/binderfs") = 0 [ 558.805164][ T5858] bcachefs (loop0): shutting down [ 558.810208][ T5858] bcachefs (loop0): going read-only [ 558.816051][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 558.823727][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 558.844863][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 558.857873][ T11] bcachefs (loop0): fatal error - emergency read only [ 558.865338][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 558.875208][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 558.882660][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 558.898087][ T5858] bcachefs (loop0): shutdown complete umount2("./138/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./138/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./138/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./138/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./138/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./138/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./138") = 0 mkdir("./139", 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 7410 attached , child_tidptr=0x555582790650) = 7410 [pid 7410] set_robust_list(0x555582790660, 24) = 0 [pid 7410] chdir("./139") = 0 [pid 7410] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7410] setpgid(0, 0) = 0 [pid 7410] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7410] write(3, "1000", 4) = 4 [pid 7410] close(3) = 0 [pid 7410] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7410] write(1, "executing program\n", 18) = 18 [pid 7410] memfd_create("syzkaller", 0) = 3 [pid 7410] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7410] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7410] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7410] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7410] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7410] close(3) = 0 [pid 7410] close(4) = 0 [pid 7410] mkdir("./file1", 0777) = 0 [ 560.256999][ T7410] loop0: detected capacity change from 0 to 32768 [ 560.322422][ T7410] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 560.342517][ T7410] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 560.350659][ T7410] bcachefs (loop0): Version upgrade required: [ 560.350659][ T7410] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 560.350659][ T7410] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 560.350659][ T7410] 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 [ 560.422586][ T7410] bcachefs (loop0): dropping and reconstructing all alloc info [ 560.437025][ T7410] bcachefs (loop0): accounting_read... done [ 560.443123][ T7410] bcachefs (loop0): alloc_read... done [ 560.448703][ T7410] bcachefs (loop0): stripes_read... done [ 560.454462][ T7410] bcachefs (loop0): snapshots_read... done [pid 7410] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7410] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7410] chdir("./file1") = 0 [pid 7410] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7410] ioctl(4, LOOP_CLR_FD) = 0 [ 560.460339][ T7410] bcachefs (loop0): check_allocations... done [ 560.476718][ T7410] bcachefs (loop0): going read-write [ 560.485174][ T7410] bcachefs (loop0): done starting filesystem [pid 7410] close(4) = 0 [pid 7410] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7410] exit_group(0) = ? [pid 7410] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7410, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=20 /* 0.20 s */} --- umount2("./139", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./139", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./139/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./139/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./139/binderfs") = 0 [ 560.675543][ T5858] bcachefs (loop0): shutting down [ 560.680588][ T5858] bcachefs (loop0): going read-only [ 560.685908][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 560.693237][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 560.714766][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 560.727934][ T2964] bcachefs (loop0): fatal error - emergency read only [ 560.735182][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 560.744941][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 560.752376][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 560.768420][ T5858] bcachefs (loop0): shutdown complete umount2("./139/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./139/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./139/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./139/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./139/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./139/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./139") = 0 mkdir("./140", 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 7421 attached [pid 7421] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7421 [pid 7421] chdir("./140") = 0 [pid 7421] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7421] setpgid(0, 0) = 0 [pid 7421] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7421] write(3, "1000", 4) = 4 [pid 7421] close(3) = 0 [pid 7421] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7421] write(1, "executing program\n", 18) = 18 [pid 7421] memfd_create("syzkaller", 0) = 3 [pid 7421] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7421] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7421] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7421] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7421] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7421] close(3) = 0 [pid 7421] close(4) = 0 [pid 7421] mkdir("./file1", 0777) = 0 [ 562.009655][ T7421] loop0: detected capacity change from 0 to 32768 [ 562.081983][ T7421] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 562.102782][ T7421] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 562.111169][ T7421] bcachefs (loop0): Version upgrade required: [ 562.111169][ T7421] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 562.111169][ T7421] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 562.111169][ T7421] 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 [ 562.183679][ T7421] bcachefs (loop0): dropping and reconstructing all alloc info [ 562.198536][ T7421] bcachefs (loop0): accounting_read... done [ 562.204801][ T7421] bcachefs (loop0): alloc_read... done [ 562.210336][ T7421] bcachefs (loop0): stripes_read... done [ 562.216106][ T7421] bcachefs (loop0): snapshots_read... done [pid 7421] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7421] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7421] chdir("./file1") = 0 [pid 7421] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7421] ioctl(4, LOOP_CLR_FD) = 0 [pid 7421] close(4) = 0 [pid 7421] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [ 562.222075][ T7421] bcachefs (loop0): check_allocations... done [ 562.239819][ T7421] bcachefs (loop0): going read-write [ 562.248262][ T7421] bcachefs (loop0): done starting filesystem [pid 7421] exit_group(0) = ? [pid 7421] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7421, si_uid=0, si_status=0, si_utime=0, si_stime=27 /* 0.27 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./140", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./140", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./140/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./140/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./140/binderfs") = 0 [ 562.368096][ T5858] bcachefs (loop0): shutting down [ 562.373148][ T5858] bcachefs (loop0): going read-only [ 562.378659][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 562.386040][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 562.410184][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 562.422993][ T35] bcachefs (loop0): fatal error - emergency read only [ 562.430344][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 562.440176][ T5858] bcachefs (loop0): unshutdown complete, journal seq 15 [ 562.447926][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 562.462915][ T5858] bcachefs (loop0): shutdown complete umount2("./140/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./140/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./140/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./140/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./140/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./140/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./140") = 0 mkdir("./141", 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 7432 attached [pid 7432] set_robust_list(0x555582790660, 24) = 0 [pid 7432] chdir("./141" [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7432 [pid 7432] <... chdir resumed>) = 0 [pid 7432] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7432] setpgid(0, 0) = 0 [pid 7432] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7432] write(3, "1000", 4) = 4 [pid 7432] close(3) = 0 [pid 7432] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7432] write(1, "executing program\n", 18) = 18 [pid 7432] memfd_create("syzkaller", 0) = 3 [pid 7432] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7432] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7432] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7432] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7432] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7432] close(3) = 0 [pid 7432] close(4) = 0 [pid 7432] mkdir("./file1", 0777) = 0 [ 563.810438][ T7432] loop0: detected capacity change from 0 to 32768 [ 563.880363][ T7432] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 563.900787][ T7432] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 563.908884][ T7432] bcachefs (loop0): Version upgrade required: [ 563.908884][ T7432] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 563.908884][ T7432] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 563.908884][ T7432] 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 [ 563.980863][ T7432] bcachefs (loop0): dropping and reconstructing all alloc info [ 563.995336][ T7432] bcachefs (loop0): accounting_read... done [ 564.001431][ T7432] bcachefs (loop0): alloc_read... done [ 564.007019][ T7432] bcachefs (loop0): stripes_read... done [ 564.012705][ T7432] bcachefs (loop0): snapshots_read... done [pid 7432] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7432] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7432] chdir("./file1") = 0 [pid 7432] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7432] ioctl(4, LOOP_CLR_FD) = 0 [pid 7432] close(4) = 0 [ 564.018745][ T7432] bcachefs (loop0): check_allocations... done [ 564.035371][ T7432] bcachefs (loop0): going read-write [ 564.043787][ T7432] bcachefs (loop0): done starting filesystem [pid 7432] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7432] exit_group(0) = ? [pid 7432] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7432, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- umount2("./141", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./141", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./141/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./141/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./141/binderfs") = 0 [ 564.253480][ T5858] bcachefs (loop0): shutting down [ 564.258561][ T5858] bcachefs (loop0): going read-only [ 564.264096][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 564.271460][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 564.293113][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 564.306353][ T11] bcachefs (loop0): fatal error - emergency read only [ 564.314234][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 564.323992][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 564.331427][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 564.346686][ T5858] bcachefs (loop0): shutdown complete umount2("./141/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./141/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./141/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./141/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./141/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./141/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./141") = 0 mkdir("./142", 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 7443 attached , child_tidptr=0x555582790650) = 7443 [pid 7443] set_robust_list(0x555582790660, 24) = 0 [pid 7443] chdir("./142") = 0 [pid 7443] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7443] setpgid(0, 0) = 0 [pid 7443] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7443] write(3, "1000", 4) = 4 [pid 7443] close(3) = 0 [pid 7443] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7443] write(1, "executing program\n", 18executing program ) = 18 [pid 7443] memfd_create("syzkaller", 0) = 3 [pid 7443] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7443] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7443] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7443] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7443] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7443] close(3) = 0 [pid 7443] close(4) = 0 [pid 7443] mkdir("./file1", 0777) = 0 [ 565.628053][ T7443] loop0: detected capacity change from 0 to 32768 [ 565.694510][ T7443] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 565.714720][ T7443] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 565.722718][ T7443] bcachefs (loop0): Version upgrade required: [ 565.722718][ T7443] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 565.722718][ T7443] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 565.722718][ T7443] 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 [ 565.794634][ T7443] bcachefs (loop0): dropping and reconstructing all alloc info [ 565.809369][ T7443] bcachefs (loop0): accounting_read... done [ 565.815568][ T7443] bcachefs (loop0): alloc_read... done [ 565.821085][ T7443] bcachefs (loop0): stripes_read... done [ 565.826790][ T7443] bcachefs (loop0): snapshots_read... done [pid 7443] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7443] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7443] chdir("./file1") = 0 [pid 7443] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7443] ioctl(4, LOOP_CLR_FD) = 0 [pid 7443] close(4) = 0 [pid 7443] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7443] exit_group(0) = ? [pid 7443] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7443, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 565.832711][ T7443] bcachefs (loop0): check_allocations... done [ 565.849325][ T7443] bcachefs (loop0): going read-write [ 565.857547][ T7443] bcachefs (loop0): done starting filesystem umount2("./142", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./142", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./142/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./142/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./142/binderfs") = 0 [ 565.935263][ T5858] bcachefs (loop0): shutting down [ 565.940395][ T5858] bcachefs (loop0): going read-only [ 565.946426][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 565.954016][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 565.977500][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 565.990541][ T2964] bcachefs (loop0): fatal error - emergency read only [ 565.997690][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 566.007445][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 566.014963][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 566.030944][ T5858] bcachefs (loop0): shutdown complete umount2("./142/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./142/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./142/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./142/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./142/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./142/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./142") = 0 mkdir("./143", 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 7454 attached [pid 7454] set_robust_list(0x555582790660, 24) = 0 [pid 7454] chdir("./143") = 0 [pid 7454] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7454] setpgid(0, 0) = 0 [pid 7454] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7454 [pid 7454] <... openat resumed>) = 3 [pid 7454] write(3, "1000", 4) = 4 [pid 7454] close(3) = 0 [pid 7454] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 7454] write(1, "executing program\n", 18) = 18 [pid 7454] memfd_create("syzkaller", 0) = 3 [pid 7454] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7454] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7454] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7454] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7454] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7454] close(3) = 0 [pid 7454] close(4) = 0 [pid 7454] mkdir("./file1", 0777) = 0 [ 567.304080][ T7454] loop0: detected capacity change from 0 to 32768 [ 567.370140][ T7454] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 567.390864][ T7454] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 567.398975][ T7454] bcachefs (loop0): Version upgrade required: [ 567.398975][ T7454] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 567.398975][ T7454] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 567.398975][ T7454] 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 [ 567.470873][ T7454] bcachefs (loop0): dropping and reconstructing all alloc info [ 567.485303][ T7454] bcachefs (loop0): accounting_read... done [ 567.491388][ T7454] bcachefs (loop0): alloc_read... done [ 567.496958][ T7454] bcachefs (loop0): stripes_read... done [ 567.502635][ T7454] bcachefs (loop0): snapshots_read... done [pid 7454] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7454] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7454] chdir("./file1") = 0 [pid 7454] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7454] ioctl(4, LOOP_CLR_FD) = 0 [pid 7454] close(4) = 0 [ 567.508680][ T7454] bcachefs (loop0): check_allocations... done [ 567.525608][ T7454] bcachefs (loop0): going read-write [ 567.533854][ T7454] bcachefs (loop0): done starting filesystem [pid 7454] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7454] exit_group(0) = ? [pid 7454] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7454, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=17 /* 0.17 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./143", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./143", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./143/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./143/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./143/binderfs") = 0 [ 567.707117][ T5858] bcachefs (loop0): shutting down [ 567.712184][ T5858] bcachefs (loop0): going read-only [ 567.717447][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 567.724867][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 567.747037][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 567.760192][ T2964] bcachefs (loop0): fatal error - emergency read only [ 567.767375][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 567.777132][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 567.784801][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 567.800541][ T5858] bcachefs (loop0): shutdown complete umount2("./143/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./143/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./143/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./143/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./143/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./143/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./143") = 0 mkdir("./144", 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 7465 attached [pid 7465] set_robust_list(0x555582790660, 24) = 0 [pid 5858] <... clone resumed>, child_tidptr=0x555582790650) = 7465 [pid 7465] chdir("./144") = 0 [pid 7465] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7465] setpgid(0, 0) = 0 [pid 7465] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7465] write(3, "1000", 4) = 4 [pid 7465] close(3) = 0 [pid 7465] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7465] write(1, "executing program\n", 18) = 18 [pid 7465] memfd_create("syzkaller", 0) = 3 [pid 7465] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7465] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7465] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7465] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7465] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7465] close(3) = 0 [pid 7465] close(4) = 0 [pid 7465] mkdir("./file1", 0777) = 0 [ 569.212291][ T7465] loop0: detected capacity change from 0 to 32768 [ 569.277059][ T7465] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 569.297948][ T7465] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 569.306272][ T7465] bcachefs (loop0): Version upgrade required: [ 569.306272][ T7465] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 569.306272][ T7465] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 569.306272][ T7465] 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 [ 569.378377][ T7465] bcachefs (loop0): dropping and reconstructing all alloc info [ 569.392609][ T7465] bcachefs (loop0): accounting_read... done [ 569.398748][ T7465] bcachefs (loop0): alloc_read... done [ 569.404294][ T7465] bcachefs (loop0): stripes_read... done [ 569.409952][ T7465] bcachefs (loop0): snapshots_read... done [pid 7465] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7465] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7465] chdir("./file1") = 0 [pid 7465] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7465] ioctl(4, LOOP_CLR_FD) = 0 [pid 7465] close(4) = 0 [pid 7465] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7465] exit_group(0) = ? [ 569.416470][ T7465] bcachefs (loop0): check_allocations... done [ 569.433065][ T7465] bcachefs (loop0): going read-write [ 569.441778][ T7465] bcachefs (loop0): done starting filesystem [pid 7465] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7465, 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("./144", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./144", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./144/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./144/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./144/binderfs") = 0 [ 569.622739][ T5858] bcachefs (loop0): shutting down [ 569.627990][ T5858] bcachefs (loop0): going read-only [ 569.633193][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 569.640774][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 569.662765][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 569.675772][ T35] bcachefs (loop0): fatal error - emergency read only [ 569.683022][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 569.692795][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 569.700544][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 569.716275][ T5858] bcachefs (loop0): shutdown complete umount2("./144/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./144/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./144/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./144/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./144/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./144/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./144") = 0 mkdir("./145", 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 7476 attached , child_tidptr=0x555582790650) = 7476 [pid 7476] set_robust_list(0x555582790660, 24) = 0 [pid 7476] chdir("./145") = 0 [pid 7476] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7476] setpgid(0, 0) = 0 [pid 7476] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7476] write(3, "1000", 4) = 4 [pid 7476] close(3) = 0 [pid 7476] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7476] write(1, "executing program\n", 18) = 18 [pid 7476] memfd_create("syzkaller", 0) = 3 [pid 7476] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7476] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7476] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7476] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7476] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7476] close(3) = 0 [pid 7476] close(4) = 0 [pid 7476] mkdir("./file1", 0777) = 0 [ 571.020143][ T7476] loop0: detected capacity change from 0 to 32768 [ 571.091579][ T7476] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 571.111683][ T7476] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 571.119850][ T7476] bcachefs (loop0): Version upgrade required: [ 571.119850][ T7476] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 571.119850][ T7476] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 571.119850][ T7476] 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 [ 571.191918][ T7476] bcachefs (loop0): dropping and reconstructing all alloc info [ 571.206465][ T7476] bcachefs (loop0): accounting_read... done [ 571.212573][ T7476] bcachefs (loop0): alloc_read... done [ 571.218303][ T7476] bcachefs (loop0): stripes_read... done [ 571.224044][ T7476] bcachefs (loop0): snapshots_read... done [pid 7476] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7476] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7476] chdir("./file1") = 0 [pid 7476] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7476] ioctl(4, LOOP_CLR_FD) = 0 [pid 7476] close(4) = 0 [ 571.229969][ T7476] bcachefs (loop0): check_allocations... done [ 571.246352][ T7476] bcachefs (loop0): going read-write [ 571.254431][ T7476] bcachefs (loop0): done starting filesystem [pid 7476] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7476] exit_group(0) = ? [pid 7476] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7476, 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("./145", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./145", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./145/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./145/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./145/binderfs") = 0 [ 571.334729][ T5858] bcachefs (loop0): shutting down [ 571.339798][ T5858] bcachefs (loop0): going read-only [ 571.345374][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 571.352809][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 571.375661][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 571.388505][ T2964] bcachefs (loop0): fatal error - emergency read only [ 571.395881][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 571.405671][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 571.413156][ T5858] bcachefs (loop0): done going read-only, filesystem not clean [ 571.428507][ T5858] bcachefs (loop0): shutdown complete umount2("./145/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./145/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./145/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./145/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./145/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, 0x555582799730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555582799730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./145/file1") = 0 getdents64(3, 0x5555827916f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./145") = 0 mkdir("./146", 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 7487 attached , child_tidptr=0x555582790650) = 7487 [pid 7487] set_robust_list(0x555582790660, 24) = 0 [pid 7487] chdir("./146") = 0 [pid 7487] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7487] setpgid(0, 0) = 0 [pid 7487] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7487] write(3, "1000", 4) = 4 [pid 7487] close(3) = 0 [pid 7487] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7487] write(1, "executing program\n", 18) = 18 [pid 7487] memfd_create("syzkaller", 0) = 3 [pid 7487] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f3c200000 [pid 7487] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7487] munmap(0x7f8f3c200000, 138412032) = 0 [pid 7487] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7487] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7487] close(3) = 0 [pid 7487] close(4) = 0 [pid 7487] mkdir("./file1", 0777) = 0 [ 572.803945][ T7487] loop0: detected capacity change from 0 to 32768 [ 572.867793][ T7487] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,reconstruct_alloc [ 572.888263][ T7487] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 572.896361][ T7487] bcachefs (loop0): Version upgrade required: [ 572.896361][ T7487] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 572.896361][ T7487] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 572.896361][ T7487] 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 [ 572.968318][ T7487] bcachefs (loop0): dropping and reconstructing all alloc info [ 572.982596][ T7487] bcachefs (loop0): accounting_read... done [ 572.988843][ T7487] bcachefs (loop0): alloc_read... done [ 572.994430][ T7487] bcachefs (loop0): stripes_read... done [ 573.000112][ T7487] bcachefs (loop0): snapshots_read... done [pid 7487] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "btree_node_prefetch,direct_io%norecovery,str_hash=crc32c,journal_flush_disabled,norecovery,journal_t"...) = 0 [pid 7487] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 7487] chdir("./file1") = 0 [pid 7487] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7487] ioctl(4, LOOP_CLR_FD) = 0 [pid 7487] close(4) = 0 [pid 7487] mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", S_IFSOCK|000) = 0 [pid 7487] exit_group(0) = ? [pid 7487] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7487, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./146", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 573.006043][ T7487] bcachefs (loop0): check_allocations... done [ 573.022870][ T7487] bcachefs (loop0): going read-write [ 573.031418][ T7487] bcachefs (loop0): done starting filesystem openat(AT_FDCWD, "./146", 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, 0x5555827916f0 /* 4 entries */, 32768) = 112 umount2("./146/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./146/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./146/binderfs") = 0 [ 573.180476][ T5858] bcachefs (loop0): shutting down [ 573.185631][ T5858] bcachefs (loop0): going read-only [ 573.190850][ T5858] bcachefs (loop0): finished waiting for writes to stop [ 573.198632][ T5858] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 573.219582][ T5858] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 573.231938][ T2964] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 573.243802][ T5858] bcachefs (loop0): unshutdown complete, journal seq 14 [ 573.245211][ T2964] bcachefs (loop0): fatal error - emergency read only [ 573.258691][ T2964] ------------[ cut here ]------------ [ 573.264475][ T2964] kernel BUG at fs/bcachefs/journal.h:375! [ 573.270340][ T2964] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 573.277275][ T2964] CPU: 1 UID: 0 PID: 2964 Comm: kworker/u8:8 Not tainted 6.12.0-rc6-syzkaller-00099-g7758b206117d #0 [ 573.288121][ T2964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 573.298162][ T2964] Workqueue: btree_update btree_interior_update_work [ 573.304845][ T2964] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 573.310912][ T2964] Code: fd 90 0f 0b e8 bf 89 78 fd 90 0f 0b e8 b7 89 78 fd 90 0f 0b e8 af 89 78 fd 90 0f 0b e8 a7 89 78 fd 90 0f 0b e8 9f 89 78 fd 90 <0f> 0b e8 97 89 78 fd 90 0f 0b e8 8f 89 78 fd 90 0f 0b e8 87 89 78 [ 573.330535][ T2964] RSP: 0018:ffffc9000c3b76c0 EFLAGS: 00010293 [ 573.336648][ T2964] RAX: ffffffff841c5061 RBX: 0000000000000000 RCX: ffff888030958000 [ 573.344704][ T2964] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 573.352673][ T2964] RBP: ffffc9000c3b7890 R08: ffffffff841bf398 R09: 1ffff1100e5494a8 [ 573.360643][ T2964] R10: dffffc0000000000 R11: ffffed100e5494a9 R12: ffff888072a00000 [ 573.368610][ T2964] R13: ffff888072a4a500 R14: 000000000000004f R15: ffff88807f54c0d0 [ 573.376574][ T2964] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 573.385531][ T2964] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 573.392111][ T2964] CR2: 00007fffa52970fc CR3: 0000000035e46000 CR4: 00000000003526f0 [ 573.400081][ T2964] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 573.408049][ T2964] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 573.416013][ T2964] Call Trace: [ 573.419287][ T2964] [ 573.422214][ T2964] ? __die_body+0x5f/0xb0 [ 573.426549][ T2964] ? die+0x9e/0xc0 [ 573.430278][ T2964] ? do_trap+0x15a/0x3a0 [ 573.434518][ T2964] ? __bch2_trans_commit+0x9232/0x93c0 [ 573.439977][ T2964] ? do_error_trap+0x1dc/0x2c0 [ 573.444737][ T2964] ? __bch2_trans_commit+0x9232/0x93c0 [ 573.450192][ T2964] ? __pfx_do_error_trap+0x10/0x10 [ 573.455299][ T2964] ? report_bug+0x3e8/0x500 [ 573.459813][ T2964] ? handle_invalid_op+0x34/0x40 [ 573.464750][ T2964] ? __bch2_trans_commit+0x9232/0x93c0 [ 573.470201][ T2964] ? exc_invalid_op+0x38/0x50 [ 573.474869][ T2964] ? asm_exc_invalid_op+0x1a/0x20 [ 573.479880][ T2964] ? __bch2_trans_commit+0x3568/0x93c0 [ 573.485332][ T2964] ? __bch2_trans_commit+0x9231/0x93c0 [ 573.490784][ T2964] ? __bch2_trans_commit+0x9232/0x93c0 [ 573.496243][ T2964] ? __pfx___bch2_trans_commit+0x10/0x10 [ 573.501868][ T2964] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 573.507840][ T2964] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 573.513991][ T2964] ? btree_interior_update_work+0x117a/0x2b10 [ 573.520048][ T2964] btree_interior_update_work+0x1492/0x2b10 [ 573.525940][ T2964] ? __pfx_btree_interior_update_work+0x10/0x10 [ 573.532170][ T2964] ? __pfx_lock_acquire+0x10/0x10 [ 573.537188][ T2964] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 573.543158][ T2964] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 573.549500][ T2964] ? process_scheduled_works+0x976/0x1850 [ 573.555213][ T2964] process_scheduled_works+0xa63/0x1850 [ 573.560766][ T2964] ? __pfx_process_scheduled_works+0x10/0x10 [ 573.566739][ T2964] ? assign_work+0x364/0x3d0 [ 573.571320][ T2964] worker_thread+0x870/0xd30 [ 573.575910][ T2964] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 573.581795][ T2964] ? __kthread_parkme+0x169/0x1d0 [ 573.586813][ T2964] ? __pfx_worker_thread+0x10/0x10 [ 573.591915][ T2964] kthread+0x2f0/0x390 [ 573.595973][ T2964] ? __pfx_worker_thread+0x10/0x10 [ 573.601088][ T2964] ? __pfx_kthread+0x10/0x10 [ 573.605667][ T2964] ret_from_fork+0x4b/0x80 [ 573.610078][ T2964] ? __pfx_kthread+0x10/0x10 [ 573.614663][ T2964] ret_from_fork_asm+0x1a/0x30 [ 573.619426][ T2964] [ 573.622438][ T2964] Modules linked in: [ 573.626484][ T2964] ---[ end trace 0000000000000000 ]--- [ 573.631962][ T2964] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 573.638164][ T2964] Code: fd 90 0f 0b e8 bf 89 78 fd 90 0f 0b e8 b7 89 78 fd 90 0f 0b e8 af 89 78 fd 90 0f 0b e8 a7 89 78 fd 90 0f 0b e8 9f 89 78 fd 90 <0f> 0b e8 97 89 78 fd 90 0f 0b e8 8f 89 78 fd 90 0f 0b e8 87 89 78 [ 573.657856][ T2964] RSP: 0018:ffffc9000c3b76c0 EFLAGS: 00010293 [ 573.664000][ T2964] RAX: ffffffff841c5061 RBX: 0000000000000000 RCX: ffff888030958000 [ 573.671976][ T2964] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 573.680015][ T2964] RBP: ffffc9000c3b7890 R08: ffffffff841bf398 R09: 1ffff1100e5494a8 [ 573.688039][ T2964] R10: dffffc0000000000 R11: ffffed100e5494a9 R12: ffff888072a00000 [ 573.696042][ T2964] R13: ffff888072a4a500 R14: 000000000000004f R15: ffff88807f54c0d0 [ 573.704055][ T2964] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 573.712990][ T2964] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 573.719647][ T2964] CR2: 00007fffa52970fc CR3: 0000000035e46000 CR4: 00000000003526f0 [ 573.727653][ T2964] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 573.735687][ T2964] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 573.743698][ T2964] Kernel panic - not syncing: Fatal exception [ 573.750014][ T2964] Kernel Offset: disabled [ 573.754326][ T2964] Rebooting in 86400 seconds..