./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2202231419 <...> Warning: Permanently added '10.128.1.116' (ED25519) to the list of known hosts. execve("./syz-executor2202231419", ["./syz-executor2202231419"], 0x7fff1056fe50 /* 10 vars */) = 0 brk(NULL) = 0x55557e1f7000 brk(0x55557e1f7d00) = 0x55557e1f7d00 arch_prctl(ARCH_SET_FS, 0x55557e1f7380) = 0 set_tid_address(0x55557e1f7650) = 5237 set_robust_list(0x55557e1f7660, 24) = 0 rseq(0x55557e1f7ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2202231419", 4096) = 28 getrandom("\xd9\x4f\xf9\x25\xef\xa6\xad\xc6", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557e1f7d00 brk(0x55557e218d00) = 0x55557e218d00 brk(0x55557e219000) = 0x55557e219000 mprotect(0x7feeed260000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5238 attached , child_tidptr=0x55557e1f7650) = 5238 [pid 5238] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5237] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5238] mkdir("./syzkaller.1FDdBY", 0700./strace-static-x86_64: Process 5239 attached [pid 5237] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5239 [pid 5239] set_robust_list(0x55557e1f7660, 24 [pid 5238] <... mkdir resumed>) = 0 [pid 5237] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5239] <... set_robust_list resumed>) = 0 [pid 5238] chmod("./syzkaller.1FDdBY", 0777) = 0 ./strace-static-x86_64: Process 5240 attached [pid 5239] mkdir("./syzkaller.cuDq88", 0700 [pid 5240] set_robust_list(0x55557e1f7660, 24 [pid 5238] chdir("./syzkaller.1FDdBY" [pid 5240] <... set_robust_list resumed>) = 0 [pid 5238] <... chdir resumed>) = 0 [pid 5237] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5240 [pid 5240] mkdir("./syzkaller.Dpr6Do", 0700 [pid 5238] mkdir("./0", 0777 [pid 5237] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5238] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5241 attached [pid 5240] <... mkdir resumed>) = 0 [pid 5239] <... mkdir resumed>) = 0 [pid 5240] chmod("./syzkaller.Dpr6Do", 0777 [pid 5238] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5241] set_robust_list(0x55557e1f7660, 24 [pid 5240] <... chmod resumed>) = 0 [pid 5239] chmod("./syzkaller.cuDq88", 0777 [pid 5238] <... openat resumed>) = 3 [pid 5241] <... set_robust_list resumed>) = 0 [pid 5240] chdir("./syzkaller.Dpr6Do") = 0 [pid 5237] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5241 [pid 5241] mkdir("./syzkaller.pESYyI", 0700 [pid 5240] mkdir("./0", 0777 [pid 5239] <... chmod resumed>) = 0 [pid 5238] ioctl(3, LOOP_CLR_FD [pid 5237] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5240] <... mkdir resumed>) = 0 [pid 5238] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5241] <... mkdir resumed>) = 0 [pid 5239] chdir("./syzkaller.cuDq88"./strace-static-x86_64: Process 5242 attached [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5239] <... chdir resumed>) = 0 [pid 5238] close(3 [pid 5237] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5242 [pid 5242] set_robust_list(0x55557e1f7660, 24 [pid 5241] chmod("./syzkaller.pESYyI", 0777 [pid 5240] <... openat resumed>) = 3 [pid 5239] mkdir("./0", 0777 [pid 5242] <... set_robust_list resumed>) = 0 [pid 5241] <... chmod resumed>) = 0 [pid 5238] <... close resumed>) = 0 [pid 5242] mkdir("./syzkaller.PFdoDH", 0700 [pid 5240] ioctl(3, LOOP_CLR_FD [pid 5238] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5239] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5243 attached [pid 5241] chdir("./syzkaller.pESYyI" [pid 5240] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5242] <... mkdir resumed>) = 0 [pid 5241] <... chdir resumed>) = 0 [pid 5240] close(3 [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5241] mkdir("./0", 0777 [pid 5240] <... close resumed>) = 0 [pid 5243] set_robust_list(0x55557e1f7660, 24 [pid 5242] chmod("./syzkaller.PFdoDH", 0777 [pid 5241] <... mkdir resumed>) = 0 [pid 5239] <... openat resumed>) = 3 [pid 5238] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5243 [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5243] <... set_robust_list resumed>) = 0 [pid 5242] <... chmod resumed>) = 0 [pid 5241] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5239] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5245 attached [pid 5245] set_robust_list(0x55557e1f7660, 24 [pid 5243] chdir("./0" [pid 5241] <... openat resumed>) = 3 [pid 5239] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5245] <... set_robust_list resumed>) = 0 [pid 5239] close(3 [pid 5242] chdir("./syzkaller.PFdoDH" [pid 5239] <... close resumed>) = 0 [pid 5242] <... chdir resumed>) = 0 [pid 5245] chdir("./0" [pid 5242] mkdir("./0", 0777 [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5243] <... chdir resumed>) = 0 [pid 5242] <... mkdir resumed>) = 0 [pid 5240] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5245 [pid 5243] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5246 attached ) = 0 [pid 5243] setpgid(0, 0) = 0 [pid 5243] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5243] <... openat resumed>) = 3 [pid 5242] <... openat resumed>) = 3 [pid 5242] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5243] write(3, "1000", 4) = 4 [pid 5242] close(3 [pid 5243] close(3 [pid 5242] <... close resumed>) = 0 [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5247 attached [pid 5246] set_robust_list(0x55557e1f7660, 24 [pid 5245] <... chdir resumed>) = 0 [pid 5241] ioctl(3, LOOP_CLR_FD [pid 5246] <... set_robust_list resumed>) = 0 [pid 5245] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5239] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5246 [pid 5247] set_robust_list(0x55557e1f7660, 24 [pid 5246] chdir("./0" [pid 5245] <... prctl resumed>) = 0 [pid 5243] <... close resumed>) = 0 [pid 5241] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5246] <... chdir resumed>) = 0 [pid 5245] setpgid(0, 0 [pid 5243] symlink("/dev/binderfs", "./binderfs" [pid 5241] close(3 [pid 5247] <... set_robust_list resumed>) = 0 [pid 5246] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5245] <... setpgid resumed>) = 0 [pid 5247] chdir("./0" [pid 5246] <... prctl resumed>) = 0 [pid 5242] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5247 [pid 5247] <... chdir resumed>) = 0 [pid 5246] setpgid(0, 0 [pid 5245] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5243] <... symlink resumed>) = 0 [pid 5241] <... close resumed>) = 0 [pid 5247] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5246] <... setpgid resumed>) = 0 executing program [pid 5245] <... openat resumed>) = 3 [pid 5243] write(1, "executing program\n", 18 [pid 5241] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5248 attached [pid 5247] <... prctl resumed>) = 0 [pid 5246] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5245] write(3, "1000", 4 [pid 5243] <... write resumed>) = 18 [pid 5247] setpgid(0, 0 [pid 5246] <... openat resumed>) = 3 [pid 5243] memfd_create("syzkaller", 0 [pid 5248] set_robust_list(0x55557e1f7660, 24 [pid 5247] <... setpgid resumed>) = 0 [pid 5246] write(3, "1000", 4 [pid 5245] <... write resumed>) = 4 [pid 5241] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5248 [pid 5248] <... set_robust_list resumed>) = 0 [pid 5247] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5246] <... write resumed>) = 4 [pid 5245] close(3 [pid 5243] <... memfd_create resumed>) = 3 [pid 5248] chdir("./0" [pid 5247] <... openat resumed>) = 3 [pid 5246] close(3 [pid 5245] <... close resumed>) = 0 [pid 5243] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5248] <... chdir resumed>) = 0 [pid 5247] write(3, "1000", 4 [pid 5246] <... close resumed>) = 0 [pid 5245] symlink("/dev/binderfs", "./binderfs" [pid 5243] <... mmap resumed>) = 0x7feee4c00000 [pid 5248] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5247] <... write resumed>) = 4 [pid 5246] symlink("/dev/binderfs", "./binderfs" [pid 5248] <... prctl resumed>) = 0 [pid 5247] close(3 [pid 5248] setpgid(0, 0 [pid 5247] <... close resumed>) = 0 [pid 5246] <... symlink resumed>) = 0 [pid 5245] <... symlink resumed>) = 0 [pid 5246] write(1, "executing program\n", 18executing program ) = 18 [pid 5248] <... setpgid resumed>) = 0 [pid 5247] symlink("/dev/binderfs", "./binderfs" [pid 5246] memfd_create("syzkaller", 0executing program [pid 5248] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5246] <... memfd_create resumed>) = 3 [pid 5245] write(1, "executing program\n", 18executing program [pid 5247] <... symlink resumed>) = 0 [pid 5246] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5245] <... write resumed>) = 18 [pid 5248] <... openat resumed>) = 3 [pid 5247] write(1, "executing program\n", 18 [pid 5246] <... mmap resumed>) = 0x7feee4c00000 [pid 5245] memfd_create("syzkaller", 0 [pid 5248] write(3, "1000", 4 [pid 5247] <... write resumed>) = 18 [pid 5248] <... write resumed>) = 4 [pid 5248] close(3 [pid 5247] memfd_create("syzkaller", 0 [pid 5248] <... close resumed>) = 0 [pid 5247] <... memfd_create resumed>) = 3 [pid 5248] symlink("/dev/binderfs", "./binderfs" [pid 5247] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5245] <... memfd_create resumed>) = 3 [pid 5248] <... symlink resumed>) = 0 [pid 5247] <... mmap resumed>) = 0x7feee4c00000 [pid 5245] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5248] write(1, "executing program\n", 18executing program ) = 18 [pid 5248] memfd_create("syzkaller", 0) = 3 [pid 5248] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5247] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5248] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5243] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5245] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5246] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5247] <... write resumed>) = 16777216 [pid 5247] munmap(0x7feee4c00000, 138412032) = 0 [pid 5247] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5247] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5247] close(3) = 0 [pid 5247] close(4) = 0 [pid 5247] mkdir("./file1", 0777) = 0 [ 180.011654][ T5247] loop4: detected capacity change from 0 to 32768 [pid 5247] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5248] <... write resumed>) = 16777216 [pid 5248] munmap(0x7feee4c00000, 138412032) = 0 [pid 5248] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5248] ioctl(4, LOOP_SET_FD, 3 [pid 5243] <... write resumed>) = 16777216 [pid 5248] <... ioctl resumed>) = 0 [pid 5246] <... write resumed>) = 16777216 [pid 5245] <... write resumed>) = 16777216 [pid 5243] munmap(0x7feee4c00000, 138412032 [pid 5248] close(3 [pid 5246] munmap(0x7feee4c00000, 138412032 [pid 5248] <... close resumed>) = 0 [pid 5248] close(4 [pid 5243] <... munmap resumed>) = 0 [pid 5248] <... close resumed>) = 0 [pid 5248] mkdir("./file1", 0777) = 0 [pid 5248] mount("/dev/loop3", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5246] <... munmap resumed>) = 0 [pid 5245] munmap(0x7feee4c00000, 138412032 [pid 5243] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5246] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5243] <... openat resumed>) = 4 [pid 5246] <... openat resumed>) = 4 [pid 5245] <... munmap resumed>) = 0 [pid 5243] ioctl(4, LOOP_SET_FD, 3 [pid 5246] ioctl(4, LOOP_SET_FD, 3 [pid 5245] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 180.120322][ T5248] loop3: detected capacity change from 0 to 32768 [pid 5245] ioctl(4, LOOP_SET_FD, 3 [pid 5243] <... ioctl resumed>) = 0 [pid 5243] close(3) = 0 [pid 5243] close(4) = 0 [pid 5246] <... ioctl resumed>) = 0 [pid 5245] <... ioctl resumed>) = 0 [pid 5243] mkdir("./file1", 0777 [pid 5246] close(3 [pid 5245] close(3 [pid 5246] <... close resumed>) = 0 [pid 5245] <... close resumed>) = 0 [pid 5246] close(4 [pid 5245] close(4 [pid 5243] <... mkdir resumed>) = 0 [ 180.170233][ T5243] loop0: detected capacity change from 0 to 32768 [ 180.179564][ T5246] loop1: detected capacity change from 0 to 32768 [ 180.186602][ T5245] loop2: detected capacity change from 0 to 32768 [pid 5243] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5246] <... close resumed>) = 0 [pid 5245] <... close resumed>) = 0 [pid 5246] mkdir("./file1", 0777 [pid 5245] mkdir("./file1", 0777) = 0 [pid 5246] <... mkdir resumed>) = 0 [pid 5246] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [ 180.221810][ T5247] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 180.269413][ T5247] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 180.285656][ T5248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 180.297117][ T5247] bcachefs (loop4): Version upgrade required: [ 180.297117][ T5247] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 180.297117][ T5247] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 180.297117][ T5247] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 180.305965][ T5248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 180.372122][ T5247] bcachefs (loop4): dropping and reconstructing all alloc info [ 180.396457][ T5247] bcachefs (loop4): check_topology... done [ 180.402502][ T5247] bcachefs (loop4): accounting_read... done [ 180.409737][ T5247] bcachefs (loop4): alloc_read... done [ 180.415255][ T5247] bcachefs (loop4): stripes_read... done [ 180.421098][ T5247] bcachefs (loop4): snapshots_read... done [ 180.427247][ T5247] bcachefs (loop4): check_allocations... done [ 180.453605][ T5246] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 180.460329][ T5247] bcachefs (loop4): going read-write [ 180.477282][ T5246] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 180.499575][ T5247] bcachefs (loop4): done starting filesystem [ 180.506411][ T5243] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 180.521903][ T5248] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5245] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5248] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5248] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5248] ioctl(3, LOOP_CLR_FD) = 0 [pid 5248] close(3 [pid 5247] <... mount resumed>) = 0 [pid 5247] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5247] chdir("./file1") = 0 [pid 5247] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5247] ioctl(4, LOOP_CLR_FD) = 0 [pid 5247] close(4) = 0 [ 180.533905][ T5243] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 180.545663][ T5245] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 180.557078][ T5245] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5247] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5247] exit_group(0) = ? [pid 5247] +++ exited with 0 +++ [pid 5242] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5247, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=35 /* 0.35 s */} --- [pid 5242] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5242] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] getdents64(3, 0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5242] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] unlink("./0/binderfs") = 0 [pid 5242] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5245] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5246] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 180.676724][ T5242] bcachefs (loop4): shutting down [ 180.694184][ T5242] bcachefs (loop4): going read-only [ 180.701123][ T5245] bcachefs: bch2_fs_get_tree() error: EINVAL [ 180.709363][ T5242] bcachefs (loop4): finished waiting for writes to stop [ 180.717851][ T5246] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5245] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5246] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5245] ioctl(3, LOOP_CLR_FD) = 0 [pid 5246] <... openat resumed>) = 3 [pid 5245] close(3 [pid 5246] ioctl(3, LOOP_CLR_FD) = 0 [pid 5246] close(3 [pid 5243] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 180.733821][ T5243] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5243] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5243] ioctl(3, LOOP_CLR_FD) = 0 [ 180.779201][ T5242] bcachefs (loop4): flushing journal and stopping allocators, journal seq 11 [pid 5243] close(3 [pid 5248] <... close resumed>) = 0 [pid 5248] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5248] exit_group(0) = ? [pid 5248] +++ exited with 0 +++ [pid 5241] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5248, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=33 /* 0.33 s */} --- [pid 5241] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5241] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5241] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5241] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] unlink("./0/binderfs") = 0 [pid 5241] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./0/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5243] <... close resumed>) = 0 [pid 5241] newfstatat(4, "", [pid 5243] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5241] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5243] <... openat resumed>) = 3 [pid 5241] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5241] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5241] close(4) = 0 [pid 5241] rmdir("./0/file1" [pid 5243] exit_group(0) = ? [pid 5243] +++ exited with 0 +++ [pid 5238] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5243, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=36 /* 0.36 s */} --- [pid 5238] restart_syscall(<... resuming interrupted clone ...> [pid 5241] <... rmdir resumed>) = 0 [pid 5238] <... restart_syscall resumed>) = 0 [pid 5238] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5241] umount2("./0/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] <... openat resumed>) = 3 [pid 5238] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./0/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] unlink("./0/cpuset.effective_cpus") = 0 [pid 5238] getdents64(3, [pid 5241] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5238] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5241] close(3 [pid 5238] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5241] <... close resumed>) = 0 [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5241] rmdir("./0" [pid 5238] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5241] <... rmdir resumed>) = 0 [pid 5238] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] mkdir("./1", 0777 [pid 5238] unlink("./0/binderfs") = 0 [pid 5241] <... mkdir resumed>) = 0 [pid 5238] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5241] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5241] close(3 [pid 5238] newfstatat(AT_FDCWD, "./0/file1", [pid 5241] <... close resumed>) = 0 [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 180.961934][ T1095] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [pid 5241] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5238] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5241] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5289 ./strace-static-x86_64: Process 5289 attached [pid 5289] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5289] chdir("./1") = 0 [pid 5289] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5289] setpgid(0, 0) = 0 [pid 5289] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5245] <... close resumed>) = 0 [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5289] <... openat resumed>) = 3 [pid 5289] write(3, "1000", 4 [pid 5238] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5245] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5238] <... openat resumed>) = 4 [pid 5289] <... write resumed>) = 4 [pid 5289] close(3) = 0 [pid 5245] <... openat resumed>) = 3 [pid 5238] newfstatat(4, "", [pid 5289] symlink("/dev/binderfs", "./binderfs" [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 executing program [pid 5289] <... symlink resumed>) = 0 [pid 5245] exit_group(0 [pid 5238] getdents64(4, [pid 5289] write(1, "executing program\n", 18) = 18 [pid 5238] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5245] <... exit_group resumed>) = ? [pid 5289] memfd_create("syzkaller", 0 [pid 5238] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5238] close(4 [pid 5289] <... memfd_create resumed>) = 3 [pid 5289] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5246] <... close resumed>) = 0 [pid 5238] <... close resumed>) = 0 [pid 5238] rmdir("./0/file1" [pid 5246] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5245] +++ exited with 0 +++ [pid 5238] <... rmdir resumed>) = 0 [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5245, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=39 /* 0.39 s */} --- [ 181.015655][ T1095] bcachefs (loop4): fatal error - emergency read only [ 181.032406][ T5242] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 12 [pid 5238] umount2("./0/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5238] newfstatat(AT_FDCWD, "./0/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] <... openat resumed>) = 3 [pid 5238] unlink("./0/cpuset.effective_cpus") = 0 [pid 5240] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] getdents64(3, [pid 5246] <... openat resumed>) = 3 [pid 5240] getdents64(3, [pid 5238] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5246] exit_group(0 [pid 5238] close(3 [pid 5246] <... exit_group resumed>) = ? [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5238] <... close resumed>) = 0 [pid 5246] +++ exited with 0 +++ [pid 5240] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] rmdir("./0" [pid 5239] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5246, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=42 /* 0.42 s */} --- [pid 5238] <... rmdir resumed>) = 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] restart_syscall(<... resuming interrupted clone ...> [pid 5240] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5238] mkdir("./1", 0777 [pid 5239] <... restart_syscall resumed>) = 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] <... mkdir resumed>) = 0 [pid 5240] unlink("./0/binderfs" [pid 5238] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5239] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5238] <... openat resumed>) = 3 [pid 5240] <... unlink resumed>) = 0 [pid 5238] ioctl(3, LOOP_CLR_FD [pid 5239] <... openat resumed>) = 3 [pid 5238] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5238] close(3 [ 181.061459][ T5242] bcachefs (loop4): unshutdown complete, journal seq 12 [pid 5239] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] <... close resumed>) = 0 [pid 5239] getdents64(3, [pid 5240] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5238] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5239] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5290 attached [pid 5240] newfstatat(AT_FDCWD, "./0/file1", [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5290] set_robust_list(0x55557e1f7660, 24 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5238] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5290 [pid 5239] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5290] <... set_robust_list resumed>) = 0 [pid 5239] unlink("./0/binderfs" [pid 5290] chdir("./1" [pid 5239] <... unlink resumed>) = 0 [pid 5239] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5290] <... chdir resumed>) = 0 [pid 5239] newfstatat(AT_FDCWD, "./0/file1", [pid 5290] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5290] <... prctl resumed>) = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5290] setpgid(0, 0 [pid 5240] <... openat resumed>) = 4 [pid 5239] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5290] <... setpgid resumed>) = 0 [pid 5240] newfstatat(4, "", [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5240] getdents64(4, [pid 5290] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5240] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5239] newfstatat(4, "", [pid 5290] <... openat resumed>) = 3 [pid 5240] getdents64(4, [pid 5290] write(3, "1000", 4 [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5290] <... write resumed>) = 4 [pid 5239] getdents64(4, [pid 5290] close(3 [ 181.103758][ T5242] bcachefs (loop4): done going read-only, filesystem not clean [pid 5240] close(4 [pid 5239] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5290] <... close resumed>) = 0 [pid 5240] <... close resumed>) = 0 [pid 5240] rmdir("./0/file1" [pid 5290] symlink("/dev/binderfs", "./binderfs" [pid 5239] getdents64(4, [pid 5290] <... symlink resumed>) = 0 executing program [pid 5240] <... rmdir resumed>) = 0 [pid 5239] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5290] write(1, "executing program\n", 18 [pid 5239] close(4 [pid 5290] <... write resumed>) = 18 [pid 5239] <... close resumed>) = 0 [pid 5290] memfd_create("syzkaller", 0 [pid 5239] rmdir("./0/file1") = 0 [pid 5239] umount2("./0/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5290] <... memfd_create resumed>) = 3 [pid 5240] umount2("./0/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5290] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./0/cpuset.effective_cpus", [pid 5290] <... mmap resumed>) = 0x7feee4c00000 [pid 5240] newfstatat(AT_FDCWD, "./0/cpuset.effective_cpus", [pid 5239] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] unlink("./0/cpuset.effective_cpus") = 0 [pid 5240] unlink("./0/cpuset.effective_cpus") = 0 [pid 5239] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5239] close(3 [pid 5240] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5239] <... close resumed>) = 0 [pid 5240] close(3 [pid 5239] rmdir("./0") = 0 [pid 5240] <... close resumed>) = 0 [pid 5240] rmdir("./0") = 0 [pid 5239] mkdir("./1", 0777 [pid 5240] mkdir("./1", 0777 [pid 5239] <... mkdir resumed>) = 0 [pid 5240] <... mkdir resumed>) = 0 [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5240] <... openat resumed>) = 3 [pid 5239] <... openat resumed>) = 3 [pid 5240] ioctl(3, LOOP_CLR_FD [pid 5239] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5240] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5239] close(3 [pid 5240] close(3 [pid 5239] <... close resumed>) = 0 [pid 5240] <... close resumed>) = 0 [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55557e1f7650) = 5291 [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5291 attached , child_tidptr=0x55557e1f7650) = 5292 [pid 5291] set_robust_list(0x55557e1f7660, 24./strace-static-x86_64: Process 5292 attached [pid 5292] set_robust_list(0x55557e1f7660, 24 [pid 5291] <... set_robust_list resumed>) = 0 [pid 5292] <... set_robust_list resumed>) = 0 [pid 5291] chdir("./1" [pid 5292] chdir("./1" [pid 5291] <... chdir resumed>) = 0 [pid 5292] <... chdir resumed>) = 0 [pid 5291] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5292] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5291] <... prctl resumed>) = 0 [pid 5292] <... prctl resumed>) = 0 [pid 5291] setpgid(0, 0 [pid 5292] setpgid(0, 0 [pid 5291] <... setpgid resumed>) = 0 [pid 5292] <... setpgid resumed>) = 0 [pid 5291] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5292] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5291] <... openat resumed>) = 3 [pid 5292] <... openat resumed>) = 3 [pid 5291] write(3, "1000", 4 [pid 5292] write(3, "1000", 4) = 4 [pid 5291] <... write resumed>) = 4 [ 181.159212][ T5242] bcachefs (loop4): shutdown complete [pid 5292] close(3) = 0 [pid 5291] close(3) = 0 [pid 5292] symlink("/dev/binderfs", "./binderfs" [pid 5291] symlink("/dev/binderfs", "./binderfs" [pid 5292] <... symlink resumed>) = 0 [pid 5291] <... symlink resumed>) = 0 executing program [pid 5291] write(1, "executing program\n", 18) = 18 [pid 5292] write(1, "executing program\n", 18executing program ) = 18 [pid 5291] memfd_create("syzkaller", 0 [pid 5292] memfd_create("syzkaller", 0) = 3 [pid 5292] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5291] <... memfd_create resumed>) = 3 [pid 5292] <... mmap resumed>) = 0x7feee4c00000 [pid 5291] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5289] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5290] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5291] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5292] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5289] <... write resumed>) = 16777216 [pid 5289] munmap(0x7feee4c00000, 138412032) = 0 [pid 5289] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5289] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5289] close(3) = 0 [pid 5289] close(4) = 0 [pid 5289] mkdir("./file1", 0777) = 0 [ 181.629334][ T5289] loop3: detected capacity change from 0 to 32768 [pid 5289] mount("/dev/loop3", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5290] <... write resumed>) = 16777216 [pid 5291] <... write resumed>) = 16777216 [pid 5291] munmap(0x7feee4c00000, 138412032 [pid 5290] munmap(0x7feee4c00000, 138412032 [pid 5291] <... munmap resumed>) = 0 [pid 5290] <... munmap resumed>) = 0 [pid 5291] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5290] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5291] <... openat resumed>) = 4 [pid 5290] <... openat resumed>) = 4 [pid 5291] ioctl(4, LOOP_SET_FD, 3 [pid 5290] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5290] close(3 [pid 5292] <... write resumed>) = 16777216 [pid 5291] <... ioctl resumed>) = 0 [pid 5290] <... close resumed>) = 0 [pid 5292] munmap(0x7feee4c00000, 138412032 [pid 5291] close(3 [pid 5290] close(4 [pid 5292] <... munmap resumed>) = 0 [pid 5291] <... close resumed>) = 0 [pid 5290] <... close resumed>) = 0 [pid 5292] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5291] close(4 [pid 5290] mkdir("./file1", 0777 [pid 5292] <... openat resumed>) = 4 [ 181.814868][ T5291] loop1: detected capacity change from 0 to 32768 [ 181.822182][ T5290] loop0: detected capacity change from 0 to 32768 [pid 5292] ioctl(4, LOOP_SET_FD, 3 [pid 5291] <... close resumed>) = 0 [pid 5290] <... mkdir resumed>) = 0 [pid 5292] <... ioctl resumed>) = 0 [pid 5291] mkdir("./file1", 0777) = 0 [pid 5292] close(3 [pid 5290] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5292] <... close resumed>) = 0 [pid 5292] close(4) = 0 [pid 5291] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5292] mkdir("./file1", 0777) = 0 [ 181.873141][ T5292] loop2: detected capacity change from 0 to 32768 [ 181.996041][ T5289] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 182.016381][ T5289] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 182.024527][ T5289] bcachefs (loop3): Version upgrade required: [ 182.024527][ T5289] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 182.024527][ T5289] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 182.024527][ T5289] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 182.085008][ T5291] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 182.105222][ T5290] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 182.116945][ T5290] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 182.121554][ T5292] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 182.134773][ T5291] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 182.147778][ T5292] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 182.161278][ T5289] bcachefs (loop3): dropping and reconstructing all alloc info [pid 5292] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5291] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 182.254319][ T5289] bcachefs (loop3): check_topology... done [ 182.268796][ T5291] bcachefs: bch2_fs_get_tree() error: EINVAL [ 182.279075][ T5289] bcachefs (loop3): accounting_read... done [ 182.296128][ T5289] bcachefs (loop3): alloc_read... done [pid 5291] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5290] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5291] ioctl(3, LOOP_CLR_FD) = 0 [pid 5290] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5291] close(3 [pid 5290] <... openat resumed>) = 3 [pid 5290] ioctl(3, LOOP_CLR_FD) = 0 [ 182.302469][ T5289] bcachefs (loop3): stripes_read... done [ 182.309968][ T5290] bcachefs: bch2_fs_get_tree() error: EINVAL [ 182.323669][ T5289] bcachefs (loop3): snapshots_read... done [pid 5290] close(3 [pid 5292] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 182.336621][ T5289] bcachefs (loop3): check_allocations... [ 182.360328][ T5292] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5292] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5292] ioctl(3, LOOP_CLR_FD) = 0 [ 182.492589][ T5289] done [ 182.519753][ T5289] bcachefs (loop3): going read-write [pid 5292] close(3 [pid 5242] <... umount2 resumed>) = 0 [pid 5291] <... close resumed>) = 0 [pid 5289] <... mount resumed>) = 0 [pid 5289] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5242] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5289] <... openat resumed>) = 3 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./0/file1", [pid 5289] chdir("./file1") = 0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5291] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5289] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5242] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5291] <... openat resumed>) = 3 [pid 5289] <... openat resumed>) = 4 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5289] ioctl(4, LOOP_CLR_FD [pid 5242] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5289] <... ioctl resumed>) = 0 [pid 5242] <... openat resumed>) = 4 [pid 5289] close(4 [pid 5242] newfstatat(4, "", [pid 5289] <... close resumed>) = 0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] getdents64(4, [pid 5291] exit_group(0 [pid 5242] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5291] <... exit_group resumed>) = ? [pid 5242] getdents64(4, [pid 5291] +++ exited with 0 +++ [pid 5242] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] close(4 [pid 5239] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5291, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=43 /* 0.43 s */} --- [pid 5242] <... close resumed>) = 0 [pid 5239] restart_syscall(<... resuming interrupted clone ...> [pid 5242] rmdir("./0/file1" [pid 5289] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5242] <... rmdir resumed>) = 0 [pid 5242] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5239] <... restart_syscall resumed>) = 0 [pid 5242] close(3) = 0 [pid 5242] rmdir("./0" [pid 5239] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] <... rmdir resumed>) = 0 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5239] newfstatat(3, "", [pid 5289] <... openat resumed>) = 4 [pid 5242] mkdir("./1", 0777 [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] <... mkdir resumed>) = 0 [pid 5239] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5239] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] unlink("./1/binderfs") = 0 [pid 5239] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./1/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5239] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5239] getdents64(4, [pid 5242] <... openat resumed>) = 3 [pid 5239] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5239] close(4 [pid 5242] ioctl(3, LOOP_CLR_FD [pid 5239] <... close resumed>) = 0 [pid 5242] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5239] rmdir("./1/file1" [pid 5289] exit_group(0 [pid 5242] close(3 [pid 5239] <... rmdir resumed>) = 0 [pid 5239] umount2("./1/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./1/cpuset.effective_cpus", [pid 5242] <... close resumed>) = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 182.559102][ T5289] bcachefs (loop3): done starting filesystem [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5239] unlink("./1/cpuset.effective_cpus" [pid 5290] <... close resumed>) = 0 [pid 5289] <... exit_group resumed>) = ? [pid 5239] <... unlink resumed>) = 0 [pid 5242] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5324 [pid 5239] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5239] close(3) = 0 [pid 5239] rmdir("./1" [pid 5289] +++ exited with 0 +++ [pid 5241] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5289, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=34 /* 0.34 s */} --- [pid 5241] restart_syscall(<... resuming interrupted clone ...>./strace-static-x86_64: Process 5324 attached [pid 5239] <... rmdir resumed>) = 0 [pid 5239] mkdir("./2", 0777) = 0 [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5324] set_robust_list(0x55557e1f7660, 24 [pid 5239] ioctl(3, LOOP_CLR_FD [pid 5324] <... set_robust_list resumed>) = 0 [pid 5239] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5324] chdir("./1" [pid 5239] close(3) = 0 [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5325 attached [pid 5324] <... chdir resumed>) = 0 [pid 5324] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5324] setpgid(0, 0) = 0 [pid 5324] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5325] set_robust_list(0x55557e1f7660, 24 [pid 5324] <... openat resumed>) = 3 [pid 5325] <... set_robust_list resumed>) = 0 [pid 5324] write(3, "1000", 4 [pid 5239] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5325 [pid 5325] chdir("./2" [pid 5324] <... write resumed>) = 4 [pid 5290] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5241] <... restart_syscall resumed>) = 0 [pid 5241] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5241] newfstatat(3, "", [pid 5324] close(3 [pid 5290] <... openat resumed>) = 3 [pid 5241] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5325] <... chdir resumed>) = 0 [pid 5241] getdents64(3, 0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5241] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5325] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5241] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] unlink("./1/binderfs") = 0 [pid 5325] <... prctl resumed>) = 0 [pid 5325] setpgid(0, 0 [pid 5241] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5325] <... setpgid resumed>) = 0 [pid 5324] <... close resumed>) = 0 [pid 5324] symlink("/dev/binderfs", "./binderfs" [pid 5325] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5324] <... symlink resumed>) = 0 [pid 5290] exit_group(0 [pid 5324] write(1, "executing program\n", 18 [pid 5290] <... exit_group resumed>) = ? executing program [pid 5325] <... openat resumed>) = 3 [pid 5324] <... write resumed>) = 18 [pid 5290] +++ exited with 0 +++ [pid 5324] memfd_create("syzkaller", 0 [pid 5238] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5290, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=36 /* 0.36 s */} --- [pid 5238] restart_syscall(<... resuming interrupted clone ...> [pid 5324] <... memfd_create resumed>) = 3 [pid 5324] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5325] write(3, "1000", 4 [pid 5238] <... restart_syscall resumed>) = 0 [pid 5325] <... write resumed>) = 4 [pid 5325] close(3) = 0 [pid 5325] symlink("/dev/binderfs", "./binderfs" [pid 5238] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5325] <... symlink resumed>) = 0 [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5325] write(1, "executing program\n", 18 [pid 5238] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5325] <... write resumed>) = 18 [pid 5238] <... openat resumed>) = 3 [pid 5238] newfstatat(3, "", [pid 5325] memfd_create("syzkaller", 0 [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5325] <... memfd_create resumed>) = 3 [pid 5325] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5238] getdents64(3, [pid 5325] <... mmap resumed>) = 0x7feee4c00000 [pid 5238] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5238] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] unlink("./1/binderfs") = 0 [pid 5238] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] newfstatat(AT_FDCWD, "./1/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5238] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5238] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5238] close(4) = 0 [pid 5238] rmdir("./1/file1") = 0 [pid 5238] umount2("./1/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] newfstatat(AT_FDCWD, "./1/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] unlink("./1/cpuset.effective_cpus") = 0 [ 182.683686][ T5241] bcachefs (loop3): shutting down [pid 5292] <... close resumed>) = 0 [pid 5238] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5238] close(3 [pid 5292] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5238] <... close resumed>) = 0 [pid 5238] rmdir("./1" [pid 5292] <... openat resumed>) = 3 [pid 5238] <... rmdir resumed>) = 0 [pid 5292] exit_group(0) = ? [pid 5238] mkdir("./2", 0777) = 0 [pid 5238] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5292] +++ exited with 0 +++ [pid 5238] <... openat resumed>) = 3 [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5292, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=39 /* 0.39 s */} --- [ 182.705978][ T5241] bcachefs (loop3): going read-only [pid 5238] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5238] close(3 [pid 5240] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] <... close resumed>) = 0 [pid 5240] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5238] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5240] <... openat resumed>) = 3 [pid 5240] newfstatat(3, "", [pid 5238] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5326 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5326 attached [pid 5240] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5240] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] unlink("./1/binderfs") = 0 [pid 5240] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./1/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5240] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5240] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5240] close(4) = 0 [pid 5240] rmdir("./1/file1") = 0 [pid 5240] umount2("./1/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./1/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] unlink("./1/cpuset.effective_cpus") = 0 [pid 5240] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5240] close(3) = 0 [pid 5240] rmdir("./1") = 0 [pid 5240] mkdir("./2", 0777) = 0 [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5326] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5240] ioctl(3, LOOP_CLR_FD [pid 5326] chdir("./2" [pid 5240] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5240] close(3) = 0 [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5327 attached [pid 5326] <... chdir resumed>) = 0 [pid 5326] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5327] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5327] chdir("./2" [pid 5326] setpgid(0, 0 [pid 5327] <... chdir resumed>) = 0 [pid 5326] <... setpgid resumed>) = 0 [pid 5327] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5327] setpgid(0, 0) = 0 [pid 5326] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5327] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5326] <... openat resumed>) = 3 [pid 5240] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5327 [pid 5327] write(3, "1000", 4 [pid 5326] write(3, "1000", 4 [pid 5327] <... write resumed>) = 4 executing program [pid 5327] close(3 [pid 5326] <... write resumed>) = 4 [pid 5327] <... close resumed>) = 0 [pid 5327] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5327] write(1, "executing program\n", 18) = 18 [pid 5327] memfd_create("syzkaller", 0) = 3 [pid 5327] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5326] close(3 [pid 5327] <... mmap resumed>) = 0x7feee4c00000 [pid 5326] <... close resumed>) = 0 [pid 5326] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5326] write(1, "executing program\n", 18) = 18 executing program [pid 5326] memfd_create("syzkaller", 0) = 3 [ 182.732359][ T5241] bcachefs (loop3): finished waiting for writes to stop [ 182.763612][ T5241] bcachefs (loop3): flushing journal and stopping allocators, journal seq 11 [pid 5326] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [ 182.865999][ T5241] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 17 [ 182.922684][ T5241] bcachefs (loop3): unshutdown complete, journal seq 18 [ 182.952422][ T5241] bcachefs (loop3): done going read-only, filesystem not clean [ 183.022735][ T5241] bcachefs (loop3): shutdown complete [pid 5326] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5325] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5324] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5327] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5326] <... write resumed>) = 16777216 [pid 5326] munmap(0x7feee4c00000, 138412032) = 0 [pid 5326] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5326] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5326] close(3) = 0 [pid 5326] close(4) = 0 [pid 5326] mkdir("./file1", 0777) = 0 [ 183.337074][ T5326] loop0: detected capacity change from 0 to 32768 [pid 5326] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5325] <... write resumed>) = 16777216 [pid 5325] munmap(0x7feee4c00000, 138412032 [pid 5324] <... write resumed>) = 16777216 [pid 5324] munmap(0x7feee4c00000, 138412032 [pid 5325] <... munmap resumed>) = 0 [pid 5325] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5325] ioctl(4, LOOP_SET_FD, 3 [pid 5327] <... write resumed>) = 16777216 [pid 5324] <... munmap resumed>) = 0 [pid 5327] munmap(0x7feee4c00000, 138412032 [pid 5324] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5324] ioctl(4, LOOP_SET_FD, 3 [pid 5325] <... ioctl resumed>) = 0 [pid 5324] <... ioctl resumed>) = 0 [pid 5327] <... munmap resumed>) = 0 [pid 5325] close(3 [pid 5327] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5325] <... close resumed>) = 0 [pid 5324] close(3 [pid 5327] <... openat resumed>) = 4 [pid 5325] close(4 [pid 5324] <... close resumed>) = 0 [pid 5327] ioctl(4, LOOP_SET_FD, 3 [pid 5325] <... close resumed>) = 0 [pid 5324] close(4 [pid 5325] mkdir("./file1", 0777 [pid 5324] <... close resumed>) = 0 [pid 5325] <... mkdir resumed>) = 0 [pid 5324] mkdir("./file1", 0777 [pid 5325] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5327] <... ioctl resumed>) = 0 [pid 5324] <... mkdir resumed>) = 0 [pid 5324] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5327] close(3) = 0 [pid 5327] close(4) = 0 [pid 5327] mkdir("./file1", 0777) = 0 [ 183.466817][ T5325] loop1: detected capacity change from 0 to 32768 [ 183.476726][ T5324] loop4: detected capacity change from 0 to 32768 [ 183.498935][ T5327] loop2: detected capacity change from 0 to 32768 [ 183.847061][ T5324] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 183.857543][ T5324] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 183.857927][ T5326] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 183.866112][ T5325] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 183.905282][ T5326] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 183.914700][ T5327] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 183.949191][ T5327] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 183.964078][ T5325] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 184.002126][ T5325] bcachefs (loop1): Version upgrade required: [ 184.002126][ T5325] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 184.002126][ T5325] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 184.002126][ T5325] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [pid 5327] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5324] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5324] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5326] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5324] ioctl(3, LOOP_CLR_FD [pid 5326] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5324] <... ioctl resumed>) = 0 [pid 5326] <... openat resumed>) = 3 [pid 5324] close(3 [pid 5327] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5326] ioctl(3, LOOP_CLR_FD [pid 5327] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5327] ioctl(3, LOOP_CLR_FD) = 0 [pid 5326] <... ioctl resumed>) = 0 [pid 5241] <... umount2 resumed>) = 0 [pid 5327] close(3 [ 184.113218][ T5324] bcachefs: bch2_fs_get_tree() error: EINVAL [ 184.127477][ T5326] bcachefs: bch2_fs_get_tree() error: EINVAL [ 184.134837][ T5327] bcachefs: bch2_fs_get_tree() error: EINVAL [ 184.155075][ T5325] bcachefs (loop1): dropping and reconstructing all alloc info [pid 5326] close(3 [pid 5241] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./1/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5241] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5241] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5241] close(4) = 0 [pid 5241] rmdir("./1/file1") = 0 [pid 5241] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5241] close(3) = 0 [pid 5241] rmdir("./1") = 0 [pid 5241] mkdir("./2", 0777) = 0 [pid 5241] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5241] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5241] close(3) = 0 [pid 5241] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5357 attached [pid 5357] set_robust_list(0x55557e1f7660, 24 [pid 5241] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5357 [pid 5357] <... set_robust_list resumed>) = 0 [pid 5357] chdir("./2") = 0 [pid 5357] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5357] setpgid(0, 0) = 0 [pid 5357] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5357] write(3, "1000", 4) = 4 [pid 5357] close(3) = 0 [pid 5357] symlink("/dev/binderfs", "./binderfs") = 0 [ 184.266007][ T5325] bcachefs (loop1): check_topology... done [pid 5357] write(1, "executing program\n", 18executing program ) = 18 [pid 5357] memfd_create("syzkaller", 0) = 3 [pid 5357] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [ 184.291257][ T5325] bcachefs (loop1): accounting_read... done [ 184.319198][ T5325] bcachefs (loop1): alloc_read... done [pid 5326] <... close resumed>) = 0 [pid 5326] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5327] <... close resumed>) = 0 [pid 5324] <... close resumed>) = 0 [pid 5327] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5324] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5326] <... openat resumed>) = 3 [pid 5324] <... openat resumed>) = 3 [pid 5327] <... openat resumed>) = 3 [pid 5326] exit_group(0) = ? [pid 5327] exit_group(0 [pid 5326] +++ exited with 0 +++ [pid 5324] exit_group(0) = ? [ 184.355575][ T5325] bcachefs (loop1): stripes_read... done [ 184.379602][ T5325] bcachefs (loop1): snapshots_read... done [pid 5327] <... exit_group resumed>) = ? [pid 5238] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5326, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=43 /* 0.43 s */} --- [pid 5238] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5238] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5327] +++ exited with 0 +++ [pid 5324] +++ exited with 0 +++ [pid 5238] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5242] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5324, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=37 /* 0.37 s */} --- [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5327, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=39 /* 0.39 s */} --- [pid 5238] <... openat resumed>) = 3 [pid 5242] restart_syscall(<... resuming interrupted clone ...> [pid 5240] restart_syscall(<... resuming interrupted clone ...> [pid 5238] newfstatat(3, "", [pid 5242] <... restart_syscall resumed>) = 0 [pid 5240] <... restart_syscall resumed>) = 0 [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5238] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5242] <... openat resumed>) = 3 [pid 5240] <... openat resumed>) = 3 [pid 5238] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] newfstatat(3, "", [pid 5240] newfstatat(3, "", [pid 5238] unlink("./2/binderfs" [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] <... unlink resumed>) = 0 [pid 5240] getdents64(3, [pid 5238] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] getdents64(3, [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5238] newfstatat(AT_FDCWD, "./2/file1", [pid 5242] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] unlink("./1/binderfs" [pid 5240] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] <... unlink resumed>) = 0 [pid 5240] unlink("./2/binderfs" [pid 5238] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5240] <... unlink resumed>) = 0 [pid 5238] newfstatat(4, "", [pid 5242] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] newfstatat(AT_FDCWD, "./1/file1", [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] getdents64(4, [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] newfstatat(AT_FDCWD, "./2/file1", [pid 5238] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5242] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] getdents64(4, [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5238] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] <... openat resumed>) = 4 [pid 5238] close(4 [pid 5242] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] <... close resumed>) = 0 [pid 5242] getdents64(4, [pid 5238] rmdir("./2/file1" [pid 5242] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5238] <... rmdir resumed>) = 0 [pid 5242] getdents64(4, [pid 5238] umount2("./2/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] close(4 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] <... close resumed>) = 0 [pid 5240] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5242] rmdir("./1/file1" [pid 5238] newfstatat(AT_FDCWD, "./2/cpuset.effective_cpus", [pid 5242] <... rmdir resumed>) = 0 [pid 5240] <... openat resumed>) = 4 [pid 5238] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] umount2("./1/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] newfstatat(4, "", [pid 5238] unlink("./2/cpuset.effective_cpus" [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] getdents64(4, [pid 5238] <... unlink resumed>) = 0 [pid 5242] newfstatat(AT_FDCWD, "./1/cpuset.effective_cpus", [pid 5240] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5238] getdents64(3, [pid 5242] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] getdents64(4, [pid 5238] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5242] unlink("./1/cpuset.effective_cpus") = 0 [pid 5240] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5238] close(3 [pid 5242] getdents64(3, [pid 5240] close(4 [pid 5238] <... close resumed>) = 0 [pid 5242] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5240] <... close resumed>) = 0 [ 184.385609][ T5325] bcachefs (loop1): check_allocations... done [ 184.479605][ T5325] bcachefs (loop1): going read-write [pid 5242] close(3 [pid 5238] rmdir("./2" [pid 5240] rmdir("./2/file1" [pid 5242] <... close resumed>) = 0 [pid 5242] rmdir("./1" [pid 5325] <... mount resumed>) = 0 [pid 5242] <... rmdir resumed>) = 0 [pid 5240] <... rmdir resumed>) = 0 [pid 5238] <... rmdir resumed>) = 0 [pid 5242] mkdir("./2", 0777 [pid 5240] umount2("./2/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] mkdir("./3", 0777 [pid 5325] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5242] <... mkdir resumed>) = 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] <... mkdir resumed>) = 0 [pid 5325] <... openat resumed>) = 3 [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5240] newfstatat(AT_FDCWD, "./2/cpuset.effective_cpus", [pid 5238] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5325] chdir("./file1") = 0 [pid 5325] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5242] <... openat resumed>) = 3 [pid 5325] ioctl(4, LOOP_CLR_FD [pid 5240] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] <... openat resumed>) = 3 [pid 5325] <... ioctl resumed>) = 0 [pid 5242] ioctl(3, LOOP_CLR_FD [pid 5240] unlink("./2/cpuset.effective_cpus" [pid 5325] close(4) = 0 [pid 5242] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5240] <... unlink resumed>) = 0 [pid 5238] ioctl(3, LOOP_CLR_FD [pid 5242] close(3) = 0 [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5325] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5238] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5242] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5360 [pid 5238] close(3) = 0 [pid 5238] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5360 attached [pid 5325] <... openat resumed>) = 4 [pid 5240] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5240] close(3./strace-static-x86_64: Process 5361 attached ) = 0 [pid 5240] rmdir("./2") = 0 [pid 5240] mkdir("./3", 0777 [pid 5360] set_robust_list(0x55557e1f7660, 24 [pid 5240] <... mkdir resumed>) = 0 [pid 5361] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5361] chdir("./3" [pid 5238] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5361 [pid 5361] <... chdir resumed>) = 0 [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5361] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5240] <... openat resumed>) = 3 [pid 5361] <... prctl resumed>) = 0 [pid 5240] ioctl(3, LOOP_CLR_FD [pid 5361] setpgid(0, 0 [pid 5240] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5361] <... setpgid resumed>) = 0 [pid 5240] close(3 [pid 5360] <... set_robust_list resumed>) = 0 [pid 5361] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5240] <... close resumed>) = 0 [pid 5360] chdir("./2" [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5362 attached [pid 5360] <... chdir resumed>) = 0 [pid 5325] exit_group(0executing program [pid 5361] <... openat resumed>) = 3 [pid 5360] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5325] <... exit_group resumed>) = ? [pid 5360] <... prctl resumed>) = 0 [pid 5361] write(3, "1000", 4) = 4 [pid 5325] +++ exited with 0 +++ [pid 5361] close(3) = 0 [pid 5360] setpgid(0, 0 [pid 5239] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5325, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=33 /* 0.33 s */} --- [pid 5362] set_robust_list(0x55557e1f7660, 24 [pid 5360] <... setpgid resumed>) = 0 [pid 5361] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5360] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5240] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5362 [pid 5362] <... set_robust_list resumed>) = 0 [ 184.509191][ T5325] bcachefs (loop1): done starting filesystem [pid 5361] write(1, "executing program\n", 18 [pid 5362] chdir("./3" [pid 5361] <... write resumed>) = 18 [pid 5360] <... openat resumed>) = 3 [pid 5239] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5361] memfd_create("syzkaller", 0) = 3 [pid 5362] <... chdir resumed>) = 0 [pid 5361] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5360] write(3, "1000", 4 [pid 5357] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5362] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5361] <... mmap resumed>) = 0x7feee4c00000 [pid 5360] <... write resumed>) = 4 [pid 5239] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5362] <... prctl resumed>) = 0 [pid 5360] close(3 [pid 5239] <... openat resumed>) = 3 [pid 5362] setpgid(0, 0 [pid 5360] <... close resumed>) = 0 [pid 5239] newfstatat(3, "", [pid 5362] <... setpgid resumed>) = 0 [pid 5360] symlink("/dev/binderfs", "./binderfs" [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5362] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5360] <... symlink resumed>) = 0 [pid 5239] getdents64(3, [pid 5362] <... openat resumed>) = 3 executing program [pid 5360] write(1, "executing program\n", 18 [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5362] write(3, "1000", 4 [pid 5360] <... write resumed>) = 18 [pid 5362] <... write resumed>) = 4 [pid 5239] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5362] close(3 [pid 5360] memfd_create("syzkaller", 0 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5362] <... close resumed>) = 0 [pid 5360] <... memfd_create resumed>) = 3 [pid 5239] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5362] symlink("/dev/binderfs", "./binderfs" [pid 5360] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5362] <... symlink resumed>) = 0 [pid 5360] <... mmap resumed>) = 0x7feee4c00000 [pid 5239] unlink("./2/binderfs") = 0 executing program [pid 5362] write(1, "executing program\n", 18 [pid 5239] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5362] <... write resumed>) = 18 [pid 5362] memfd_create("syzkaller", 0) = 3 [pid 5362] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [ 184.608990][ T5239] bcachefs (loop1): shutting down [ 184.614137][ T5239] bcachefs (loop1): going read-only [ 184.659097][ T5239] bcachefs (loop1): finished waiting for writes to stop [ 184.689967][ T5239] bcachefs (loop1): flushing journal and stopping allocators, journal seq 11 [ 184.744558][ T2931] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 53) [pid 5357] <... write resumed>) = 16777216 [ 184.819826][ T2931] bcachefs (loop1): fatal error - emergency read only [ 184.849150][ T5239] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 14 [pid 5357] munmap(0x7feee4c00000, 138412032) = 0 [pid 5357] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5357] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5357] close(3) = 0 [pid 5357] close(4) = 0 [pid 5357] mkdir("./file1", 0777) = 0 [pid 5361] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5362] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 184.879466][ T5239] bcachefs (loop1): unshutdown complete, journal seq 14 [ 184.882212][ T5357] loop3: detected capacity change from 0 to 32768 [ 184.910047][ T5239] bcachefs (loop1): done going read-only, filesystem not clean [pid 5357] mount("/dev/loop3", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [ 184.995151][ T5239] bcachefs (loop1): shutdown complete [pid 5360] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5361] <... write resumed>) = 16777216 [pid 5361] munmap(0x7feee4c00000, 138412032) = 0 [pid 5361] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5361] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5361] close(3) = 0 [pid 5361] close(4) = 0 [pid 5361] mkdir("./file1", 0777 [pid 5362] <... write resumed>) = 16777216 [pid 5362] munmap(0x7feee4c00000, 138412032 [pid 5361] <... mkdir resumed>) = 0 [ 185.185393][ T5361] loop0: detected capacity change from 0 to 32768 [pid 5361] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5362] <... munmap resumed>) = 0 [pid 5362] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5362] ioctl(4, LOOP_SET_FD, 3 [pid 5360] <... write resumed>) = 16777216 [pid 5360] munmap(0x7feee4c00000, 138412032 [pid 5362] <... ioctl resumed>) = 0 [pid 5362] close(3) = 0 [pid 5362] close(4) = 0 [pid 5360] <... munmap resumed>) = 0 [pid 5362] mkdir("./file1", 0777 [pid 5360] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5362] <... mkdir resumed>) = 0 [pid 5360] <... openat resumed>) = 4 [pid 5362] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5360] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5360] close(3) = 0 [pid 5360] close(4) = 0 [pid 5360] mkdir("./file1", 0777) = 0 [ 185.260160][ T5362] loop2: detected capacity change from 0 to 32768 [ 185.275755][ T5360] loop4: detected capacity change from 0 to 32768 [ 185.443713][ T5357] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 185.464155][ T5357] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 185.472281][ T5357] bcachefs (loop3): Version upgrade required: [ 185.472281][ T5357] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 185.472281][ T5357] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 185.472281][ T5357] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 185.494012][ T5360] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 185.552737][ T5360] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 185.592231][ T5362] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 185.602151][ T5362] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 185.602182][ T5361] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 185.620453][ T5357] bcachefs (loop3): dropping and reconstructing all alloc info [ 185.628653][ T5361] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5360] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"...) = -1 EINVAL (Invalid argument) [pid 5360] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [ 185.716072][ T5357] bcachefs (loop3): check_topology... done [ 185.723338][ T5357] bcachefs (loop3): accounting_read... [ 185.726219][ T5360] bcachefs: bch2_fs_get_tree() error: EINVAL [ 185.745391][ T5357] done [ 185.748210][ T5357] bcachefs (loop3): alloc_read... done [pid 5360] ioctl(3, LOOP_CLR_FD) = 0 [pid 5360] close(3 [pid 5361] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5361] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 185.769075][ T5357] bcachefs (loop3): stripes_read... done [ 185.774839][ T5357] bcachefs (loop3): snapshots_read... done [ 185.788746][ T5357] bcachefs (loop3): check_allocations... [ 185.801570][ T5361] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5361] ioctl(3, LOOP_CLR_FD) = 0 [pid 5361] close(3 [pid 5362] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 185.854212][ T5357] done [ 185.859864][ T5362] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5357] <... mount resumed>) = 0 [pid 5362] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5362] ioctl(3, LOOP_CLR_FD [pid 5357] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5239] <... umount2 resumed>) = 0 [pid 5362] <... ioctl resumed>) = 0 [pid 5357] <... openat resumed>) = 3 [pid 5239] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5362] close(3 [pid 5357] chdir("./file1" [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5357] <... chdir resumed>) = 0 [pid 5239] newfstatat(AT_FDCWD, "./2/file1", [ 185.895713][ T5357] bcachefs (loop3): going read-write [ 185.910679][ T5357] bcachefs (loop3): done starting filesystem [pid 5357] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5357] ioctl(4, LOOP_CLR_FD [pid 5239] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5357] <... ioctl resumed>) = 0 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5357] close(4) = 0 [pid 5239] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5357] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5357] exit_group(0) = ? [pid 5239] <... openat resumed>) = 4 [pid 5357] +++ exited with 0 +++ [pid 5239] newfstatat(4, "", [pid 5241] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5357, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=38 /* 0.38 s */} --- [pid 5241] restart_syscall(<... resuming interrupted clone ...> [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] <... restart_syscall resumed>) = 0 [pid 5239] getdents64(4, [pid 5241] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5241] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5241] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5241] getdents64(3, [pid 5239] close(4) = 0 [pid 5241] <... getdents64 resumed>0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5239] rmdir("./2/file1" [pid 5241] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] <... rmdir resumed>) = 0 [pid 5241] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5239] getdents64(3, [pid 5241] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5241] unlink("./2/binderfs" [pid 5239] close(3 [pid 5241] <... unlink resumed>) = 0 [pid 5241] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... close resumed>) = 0 [pid 5239] rmdir("./2") = 0 [pid 5239] mkdir("./3", 0777 [pid 5360] <... close resumed>) = 0 [pid 5360] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5239] <... mkdir resumed>) = 0 [pid 5360] <... openat resumed>) = 3 [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5360] exit_group(0 [pid 5239] <... openat resumed>) = 3 [pid 5360] <... exit_group resumed>) = ? [pid 5239] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5239] close(3 [pid 5360] +++ exited with 0 +++ [pid 5239] <... close resumed>) = 0 [ 186.008455][ T5241] bcachefs (loop3): shutting down [ 186.017275][ T5241] bcachefs (loop3): going read-only [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5242] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5360, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=38 /* 0.38 s */} --- ./strace-static-x86_64: Process 5395 attached [pid 5242] restart_syscall(<... resuming interrupted clone ...> [pid 5395] set_robust_list(0x55557e1f7660, 24 [pid 5242] <... restart_syscall resumed>) = 0 [pid 5239] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5395 [pid 5395] <... set_robust_list resumed>) = 0 [pid 5242] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5395] chdir("./3" [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5395] <... chdir resumed>) = 0 [pid 5395] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5242] newfstatat(3, "", [pid 5395] <... prctl resumed>) = 0 [pid 5395] setpgid(0, 0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5395] <... setpgid resumed>) = 0 [pid 5242] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5395] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5242] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] unlink("./2/binderfs") = 0 [pid 5242] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./2/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5395] <... openat resumed>) = 3 [pid 5242] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5395] write(3, "1000", 4) = 4 [pid 5242] <... openat resumed>) = 4 [pid 5395] close(3 [pid 5242] newfstatat(4, "", [pid 5395] <... close resumed>) = 0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] getdents64(4, [pid 5395] symlink("/dev/binderfs", "./binderfs" [pid 5242] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5242] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5395] <... symlink resumed>) = 0 [pid 5242] close(4 [pid 5395] write(1, "executing program\n", 18executing program ) = 18 [pid 5362] <... close resumed>) = 0 [pid 5242] <... close resumed>) = 0 [pid 5395] memfd_create("syzkaller", 0 [pid 5362] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5395] <... memfd_create resumed>) = 3 [pid 5242] rmdir("./2/file1" [pid 5395] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5362] <... openat resumed>) = 3 [pid 5242] <... rmdir resumed>) = 0 [pid 5395] <... mmap resumed>) = 0x7feee4c00000 [pid 5242] umount2("./2/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5362] exit_group(0 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./2/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5362] <... exit_group resumed>) = ? [pid 5242] unlink("./2/cpuset.effective_cpus" [pid 5362] +++ exited with 0 +++ [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5362, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=34 /* 0.34 s */} --- [pid 5240] restart_syscall(<... resuming interrupted clone ...> [pid 5242] <... unlink resumed>) = 0 [ 186.060512][ T5241] bcachefs (loop3): finished waiting for writes to stop [ 186.099637][ T5241] bcachefs (loop3): flushing journal and stopping allocators, journal seq 11 [pid 5242] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5242] close(3) = 0 [pid 5242] rmdir("./2") = 0 [pid 5242] mkdir("./3", 0777) = 0 [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5242] ioctl(3, LOOP_CLR_FD [pid 5240] <... restart_syscall resumed>) = 0 [pid 5242] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5240] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5240] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5240] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] unlink("./3/binderfs") = 0 [pid 5240] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./3/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] close(3 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5242] <... close resumed>) = 0 [pid 5240] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5240] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5240] close(4) = 0 [pid 5240] rmdir("./3/file1") = 0 [pid 5240] umount2("./3/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./3/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] unlink("./3/cpuset.effective_cpus") = 0 [pid 5240] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5240] close(3) = 0 [pid 5240] rmdir("./3") = 0 [pid 5240] mkdir("./4", 0777) = 0 [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5240] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5240] close(3) = 0 [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55557e1f7650) = 5396 ./strace-static-x86_64: Process 5396 attached [pid 5242] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5397 ./strace-static-x86_64: Process 5397 attached [pid 5396] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5397] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5397] chdir("./3") = 0 [pid 5397] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5397] setpgid(0, 0) = 0 [pid 5397] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5396] chdir("./4" [pid 5397] write(3, "1000", 4) = 4 [pid 5396] <... chdir resumed>) = 0 [pid 5396] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5397] close(3executing program ) = 0 [pid 5396] <... prctl resumed>) = 0 [pid 5397] symlink("/dev/binderfs", "./binderfs" [pid 5396] setpgid(0, 0 [pid 5397] <... symlink resumed>) = 0 [pid 5397] write(1, "executing program\n", 18) = 18 [pid 5396] <... setpgid resumed>) = 0 [ 186.160096][ T1095] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [pid 5397] memfd_create("syzkaller", 0 [pid 5396] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5361] <... close resumed>) = 0 [pid 5397] <... memfd_create resumed>) = 3 [pid 5397] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5396] <... openat resumed>) = 3 [pid 5396] write(3, "1000", 4) = 4 [pid 5396] close(3 [pid 5361] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5396] <... close resumed>) = 0 [pid 5361] <... openat resumed>) = 3 [pid 5396] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5361] exit_group(0 [pid 5396] write(1, "executing program\n", 18executing program ) = 18 [pid 5396] memfd_create("syzkaller", 0 [pid 5361] <... exit_group resumed>) = ? [pid 5361] +++ exited with 0 +++ [ 186.213451][ T1095] bcachefs (loop3): fatal error - emergency read only [pid 5396] <... memfd_create resumed>) = 3 [pid 5396] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5238] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5361, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=38 /* 0.38 s */} --- [pid 5396] <... mmap resumed>) = 0x7feee4c00000 [pid 5238] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5238] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5238] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] unlink("./3/binderfs") = 0 [pid 5238] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] newfstatat(AT_FDCWD, "./3/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5238] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5238] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5238] close(4) = 0 [pid 5238] rmdir("./3/file1") = 0 [pid 5238] umount2("./3/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 186.254697][ T5241] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 12 [ 186.286055][ T5241] bcachefs (loop3): unshutdown complete, journal seq 12 [pid 5238] newfstatat(AT_FDCWD, "./3/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] unlink("./3/cpuset.effective_cpus") = 0 [pid 5238] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5238] close(3) = 0 [pid 5238] rmdir("./3") = 0 [ 186.310470][ T5241] bcachefs (loop3): done going read-only, filesystem not clean [pid 5238] mkdir("./4", 0777) = 0 [pid 5238] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5238] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5238] close(3) = 0 [pid 5238] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5398 attached , child_tidptr=0x55557e1f7650) = 5398 [pid 5398] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5398] chdir("./4") = 0 [pid 5398] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5398] setpgid(0, 0) = 0 [pid 5398] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5398] write(3, "1000", 4) = 4 [pid 5398] close(3 [pid 5395] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5398] <... close resumed>) = 0 [ 186.370205][ T5241] bcachefs (loop3): shutdown complete [pid 5398] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5398] write(1, "executing program\n", 18executing program ) = 18 [pid 5398] memfd_create("syzkaller", 0) = 3 [pid 5398] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5397] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5396] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5395] <... write resumed>) = 16777216 [pid 5395] munmap(0x7feee4c00000, 138412032) = 0 [pid 5395] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5395] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5395] close(3) = 0 [pid 5395] close(4 [pid 5398] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5395] <... close resumed>) = 0 [pid 5395] mkdir("./file1", 0777) = 0 [ 186.725024][ T5395] loop1: detected capacity change from 0 to 32768 [pid 5395] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5396] <... write resumed>) = 16777216 [pid 5396] munmap(0x7feee4c00000, 138412032 [pid 5397] <... write resumed>) = 16777216 [pid 5396] <... munmap resumed>) = 0 [pid 5397] munmap(0x7feee4c00000, 138412032 [pid 5396] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5396] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5397] <... munmap resumed>) = 0 [pid 5396] close(3 [pid 5397] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5396] <... close resumed>) = 0 [pid 5397] <... openat resumed>) = 4 [pid 5396] close(4 [pid 5397] ioctl(4, LOOP_SET_FD, 3 [pid 5396] <... close resumed>) = 0 [pid 5396] mkdir("./file1", 0777) = 0 [pid 5396] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5397] <... ioctl resumed>) = 0 [pid 5397] close(3) = 0 [pid 5397] close(4) = 0 [pid 5397] mkdir("./file1", 0777) = 0 [ 186.880414][ T5396] loop2: detected capacity change from 0 to 32768 [ 186.909358][ T5397] loop4: detected capacity change from 0 to 32768 [pid 5397] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5398] <... write resumed>) = 16777216 [pid 5398] munmap(0x7feee4c00000, 138412032) = 0 [pid 5398] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5398] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5398] close(3) = 0 [pid 5398] close(4) = 0 [pid 5398] mkdir("./file1", 0777) = 0 [ 187.002362][ T5398] loop0: detected capacity change from 0 to 32768 [ 187.182126][ T5398] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 187.190776][ T5396] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 187.211684][ T5398] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 187.220552][ T5398] bcachefs (loop0): Version upgrade required: [ 187.220552][ T5398] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 187.220552][ T5398] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 187.220552][ T5398] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 187.239128][ T5395] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 187.300760][ T5395] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 187.300810][ T5397] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 187.327679][ T5397] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 187.328429][ T5398] bcachefs (loop0): dropping and reconstructing all alloc info [ 187.344730][ T5396] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 187.430403][ T5398] bcachefs (loop0): check_topology... done [ 187.441860][ T5398] bcachefs (loop0): accounting_read... [ 187.442306][ T5397] bcachefs: bch2_fs_get_tree() error: EINVAL [ 187.469437][ T5398] done [ 187.472263][ T5398] bcachefs (loop0): alloc_read... done [pid 5398] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5397] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5397] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5397] ioctl(3, LOOP_CLR_FD) = 0 [ 187.498230][ T5398] bcachefs (loop0): stripes_read... done [ 187.510077][ T5398] bcachefs (loop0): snapshots_read... done [ 187.516059][ T5398] bcachefs (loop0): check_allocations... [ 187.523604][ T5396] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5397] close(3 [pid 5396] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5395] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5396] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5241] <... umount2 resumed>) = 0 [pid 5396] <... openat resumed>) = 3 [pid 5395] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5241] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5396] ioctl(3, LOOP_CLR_FD [pid 5395] <... openat resumed>) = 3 [pid 5241] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5396] <... ioctl resumed>) = 0 [pid 5395] ioctl(3, LOOP_CLR_FD [pid 5241] newfstatat(AT_FDCWD, "./2/file1", [pid 5396] close(3 [pid 5395] <... ioctl resumed>) = 0 [pid 5241] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5395] close(3 [pid 5241] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5241] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5241] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [ 187.549387][ T5395] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5241] close(4) = 0 [pid 5241] rmdir("./2/file1") = 0 [pid 5241] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5241] close(3) = 0 [pid 5241] rmdir("./2") = 0 [pid 5241] mkdir("./3", 0777) = 0 [pid 5241] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5241] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5241] close(3) = 0 [pid 5241] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5428 attached , child_tidptr=0x55557e1f7650) = 5428 [pid 5428] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5428] chdir("./3") = 0 [pid 5428] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5428] setpgid(0, 0) = 0 [pid 5428] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5428] write(3, "1000", 4) = 4 [pid 5428] close(3) = 0 [pid 5428] symlink("/dev/binderfs", "./binderfs") = 0 [ 187.651596][ T5398] done [ 187.669587][ T5398] bcachefs (loop0): going read-write [pid 5428] write(1, "executing program\n", 18executing program ) = 18 [pid 5428] memfd_create("syzkaller", 0) = 3 [pid 5428] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5398] <... mount resumed>) = 0 [pid 5398] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5397] <... close resumed>) = 0 [pid 5398] <... openat resumed>) = 3 [pid 5398] chdir("./file1") = 0 [pid 5398] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5398] ioctl(4, LOOP_CLR_FD [pid 5397] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5398] <... ioctl resumed>) = 0 [pid 5398] close(4 [pid 5397] <... openat resumed>) = 3 [pid 5398] <... close resumed>) = 0 [pid 5398] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [ 187.705787][ T5398] bcachefs (loop0): done starting filesystem [pid 5397] exit_group(0 [pid 5398] <... openat resumed>) = 4 [pid 5397] <... exit_group resumed>) = ? [pid 5397] +++ exited with 0 +++ [pid 5242] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5397, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=38 /* 0.38 s */} --- [pid 5398] exit_group(0 [pid 5242] restart_syscall(<... resuming interrupted clone ...> [pid 5398] <... exit_group resumed>) = ? [pid 5398] +++ exited with 0 +++ [pid 5242] <... restart_syscall resumed>) = 0 [pid 5238] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5398, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=32 /* 0.32 s */} --- [pid 5238] restart_syscall(<... resuming interrupted clone ...> [pid 5242] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] <... restart_syscall resumed>) = 0 [pid 5242] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5242] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] <... openat resumed>) = 3 [pid 5242] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5238] newfstatat(3, "", [pid 5242] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] unlink("./3/binderfs") = 0 [pid 5238] getdents64(3, [pid 5242] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] <... getdents64 resumed>0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] newfstatat(AT_FDCWD, "./3/file1", [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5242] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5238] unlink("./4/binderfs" [pid 5242] <... openat resumed>) = 4 [pid 5238] <... unlink resumed>) = 0 [pid 5242] newfstatat(4, "", [pid 5238] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5242] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] close(4) = 0 [pid 5242] rmdir("./3/file1") = 0 [pid 5242] umount2("./3/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./3/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] unlink("./3/cpuset.effective_cpus") = 0 [pid 5242] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5242] close(3) = 0 [pid 5242] rmdir("./3") = 0 [pid 5242] mkdir("./4", 0777) = 0 [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5395] <... close resumed>) = 0 [pid 5242] ioctl(3, LOOP_CLR_FD [pid 5395] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5242] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5395] <... openat resumed>) = 3 [ 187.830878][ T5238] bcachefs (loop0): shutting down [pid 5242] close(3 [pid 5396] <... close resumed>) = 0 [pid 5395] exit_group(0 [pid 5242] <... close resumed>) = 0 [pid 5395] <... exit_group resumed>) = ? [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5396] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000./strace-static-x86_64: Process 5431 attached ) = 3 [pid 5242] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5431 [pid 5396] exit_group(0 [pid 5395] +++ exited with 0 +++ [pid 5239] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5395, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=41 /* 0.41 s */} --- [pid 5239] restart_syscall(<... resuming interrupted clone ...> [pid 5396] <... exit_group resumed>) = ? [pid 5239] <... restart_syscall resumed>) = 0 [pid 5239] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5431] set_robust_list(0x55557e1f7660, 24 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5431] <... set_robust_list resumed>) = 0 [pid 5239] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5431] chdir("./4" [pid 5396] +++ exited with 0 +++ [pid 5239] <... openat resumed>) = 3 [pid 5431] <... chdir resumed>) = 0 [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5396, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=42 /* 0.42 s */} --- [pid 5239] newfstatat(3, "", [pid 5240] restart_syscall(<... resuming interrupted clone ...> [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5239] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5431] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5431] <... prctl resumed>) = 0 [pid 5239] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5431] setpgid(0, 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5431] <... setpgid resumed>) = 0 [pid 5239] unlink("./3/binderfs" [pid 5431] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5239] <... unlink resumed>) = 0 [pid 5431] <... openat resumed>) = 3 [pid 5239] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... restart_syscall resumed>) = 0 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./3/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5431] write(3, "1000", 4 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5431] <... write resumed>) = 4 [pid 5240] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5239] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5431] close(3 [pid 5240] <... openat resumed>) = 3 [pid 5239] <... openat resumed>) = 4 [pid 5431] <... close resumed>) = 0 [pid 5240] newfstatat(3, "", [pid 5239] newfstatat(4, "", [pid 5431] symlink("/dev/binderfs", "./binderfs" [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5431] <... symlink resumed>) = 0 [pid 5240] getdents64(3, [pid 5239] getdents64(4, executing program [pid 5431] write(1, "executing program\n", 18 [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5239] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5431] <... write resumed>) = 18 [pid 5240] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] getdents64(4, [pid 5431] memfd_create("syzkaller", 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5431] <... memfd_create resumed>) = 3 [pid 5240] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5239] close(4 [pid 5431] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... close resumed>) = 0 [pid 5431] <... mmap resumed>) = 0x7feee4c00000 [pid 5240] unlink("./4/binderfs" [pid 5239] rmdir("./3/file1" [pid 5240] <... unlink resumed>) = 0 [pid 5239] <... rmdir resumed>) = 0 [pid 5240] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] umount2("./3/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./4/file1", [pid 5239] newfstatat(AT_FDCWD, "./3/cpuset.effective_cpus", [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] unlink("./3/cpuset.effective_cpus" [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... unlink resumed>) = 0 [pid 5240] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5240] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(3, [pid 5240] getdents64(4, [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5240] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5239] close(3 [pid 5240] getdents64(4, [pid 5239] <... close resumed>) = 0 [pid 5240] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5239] rmdir("./3" [pid 5240] close(4) = 0 [pid 5240] rmdir("./4/file1" [pid 5239] <... rmdir resumed>) = 0 [ 187.859170][ T5238] bcachefs (loop0): going read-only [ 187.864729][ T5238] bcachefs (loop0): finished waiting for writes to stop [ 187.894836][ T5238] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [pid 5240] <... rmdir resumed>) = 0 [pid 5239] mkdir("./4", 0777) = 0 [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5239] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5240] umount2("./4/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] close(3) = 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5432 attached , child_tidptr=0x55557e1f7650) = 5432 [pid 5432] set_robust_list(0x55557e1f7660, 24 [pid 5240] newfstatat(AT_FDCWD, "./4/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] unlink("./4/cpuset.effective_cpus") = 0 [pid 5432] <... set_robust_list resumed>) = 0 [pid 5432] chdir("./4") = 0 [pid 5432] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5432] setpgid(0, 0) = 0 [pid 5432] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5240] getdents64(3, [pid 5432] <... openat resumed>) = 3 [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5432] write(3, "1000", 4 [pid 5240] close(3 [pid 5432] <... write resumed>) = 4 [pid 5432] close(3 [pid 5240] <... close resumed>) = 0 [pid 5240] rmdir("./4" [pid 5432] <... close resumed>) = 0 [pid 5240] <... rmdir resumed>) = 0 [pid 5432] symlink("/dev/binderfs", "./binderfs" [pid 5240] mkdir("./5", 0777) = 0 [pid 5432] <... symlink resumed>) = 0 executing program [pid 5432] write(1, "executing program\n", 18 [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5432] <... write resumed>) = 18 [pid 5240] <... openat resumed>) = 3 [pid 5432] memfd_create("syzkaller", 0) = 3 [pid 5240] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5240] close(3) = 0 [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5433 attached , child_tidptr=0x55557e1f7650) = 5433 [pid 5433] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5433] chdir("./5" [pid 5432] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5433] <... chdir resumed>) = 0 [pid 5432] <... mmap resumed>) = 0x7feee4c00000 [pid 5433] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5433] setpgid(0, 0) = 0 [pid 5433] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 5433] write(3, "1000", 4) = 4 [pid 5433] close(3) = 0 [pid 5433] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5433] write(1, "executing program\n", 18) = 18 [pid 5433] memfd_create("syzkaller", 0) = 3 [pid 5433] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [ 187.998825][ T2931] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 188.051621][ T2931] bcachefs (loop0): fatal error - emergency read only [ 188.079972][ T5238] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 188.110293][ T5238] bcachefs (loop0): unshutdown complete, journal seq 13 [ 188.118271][ T5238] bcachefs (loop0): done going read-only, filesystem not clean [ 188.206501][ T5238] bcachefs (loop0): shutdown complete [pid 5428] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5432] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5428] <... write resumed>) = 16777216 [pid 5428] munmap(0x7feee4c00000, 138412032 [pid 5431] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5428] <... munmap resumed>) = 0 [pid 5428] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5428] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5428] close(3 [pid 5433] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5428] <... close resumed>) = 0 [pid 5428] close(4) = 0 [pid 5428] mkdir("./file1", 0777) = 0 [ 188.365197][ T5428] loop3: detected capacity change from 0 to 32768 [pid 5428] mount("/dev/loop3", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5432] <... write resumed>) = 16777216 [pid 5432] munmap(0x7feee4c00000, 138412032) = 0 [pid 5432] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5432] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5432] close(3) = 0 [pid 5432] close(4) = 0 [pid 5432] mkdir("./file1", 0777) = 0 [pid 5432] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5431] <... write resumed>) = 16777216 [ 188.574285][ T5432] loop1: detected capacity change from 0 to 32768 [pid 5431] munmap(0x7feee4c00000, 138412032 [pid 5433] <... write resumed>) = 16777216 [pid 5431] <... munmap resumed>) = 0 [pid 5433] munmap(0x7feee4c00000, 138412032 [pid 5431] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5431] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5433] <... munmap resumed>) = 0 [pid 5433] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5431] close(3 [pid 5433] <... openat resumed>) = 4 [pid 5431] <... close resumed>) = 0 [pid 5433] ioctl(4, LOOP_SET_FD, 3 [pid 5431] close(4) = 0 [pid 5431] mkdir("./file1", 0777 [pid 5433] <... ioctl resumed>) = 0 [pid 5431] <... mkdir resumed>) = 0 [pid 5433] close(3) = 0 [pid 5433] close(4) = 0 [pid 5433] mkdir("./file1", 0777) = 0 [pid 5431] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [ 188.644701][ T5431] loop4: detected capacity change from 0 to 32768 [ 188.664068][ T5433] loop2: detected capacity change from 0 to 32768 [ 188.953931][ T5432] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 188.954281][ T5428] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 188.968068][ T5432] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 188.983476][ T5428] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 189.004711][ T5428] bcachefs (loop3): Version upgrade required: [ 189.004711][ T5428] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 189.004711][ T5428] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 189.004711][ T5428] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 189.084183][ T5431] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 189.116442][ T5431] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 189.119289][ T5433] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 189.145639][ T5428] bcachefs (loop3): dropping and reconstructing all alloc info [ 189.149149][ T5433] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 189.241778][ T5428] bcachefs (loop3): check_topology... done [ 189.264726][ T5432] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5433] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5432] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5432] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5432] ioctl(3, LOOP_CLR_FD) = 0 [ 189.279068][ T5428] bcachefs (loop3): accounting_read... done [ 189.295182][ T5428] bcachefs (loop3): alloc_read... done [ 189.314734][ T5431] bcachefs: bch2_fs_get_tree() error: EINVAL [ 189.315605][ T5428] bcachefs (loop3): stripes_read... [ 189.323223][ T5433] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5432] close(3 [pid 5431] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5433] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5431] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5431] ioctl(3, LOOP_CLR_FD) = 0 [pid 5431] close(3 [pid 5433] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5433] ioctl(3, LOOP_CLR_FD) = 0 [ 189.341310][ T5428] done [ 189.344121][ T5428] bcachefs (loop3): snapshots_read... done [pid 5433] close(3 [pid 5238] <... umount2 resumed>) = 0 [pid 5238] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] newfstatat(AT_FDCWD, "./4/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5238] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5238] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5238] close(4) = 0 [pid 5238] rmdir("./4/file1") = 0 [pid 5238] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5238] close(3) = 0 [pid 5238] rmdir("./4") = 0 [pid 5238] mkdir("./5", 0777) = 0 [pid 5238] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5238] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5238] close(3) = 0 [pid 5238] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55557e1f7650) = 5463 ./strace-static-x86_64: Process 5463 attached [pid 5463] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5463] chdir("./5") = 0 [pid 5463] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5463] setpgid(0, 0 [pid 5428] <... mount resumed>) = 0 [pid 5463] <... setpgid resumed>) = 0 [pid 5428] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5428] chdir("./file1") = 0 [pid 5428] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5463] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5428] ioctl(4, LOOP_CLR_FD) = 0 [pid 5428] close(4) = 0 [pid 5428] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5463] <... openat resumed>) = 3 [pid 5463] write(3, "1000", 4) = 4 [pid 5463] close(3) = 0 [ 189.351643][ T5428] bcachefs (loop3): check_allocations... done [ 189.498053][ T5428] bcachefs (loop3): going read-write [ 189.508625][ T5428] bcachefs (loop3): done starting filesystem [pid 5463] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5428] <... openat resumed>) = 4 executing program [pid 5463] write(1, "executing program\n", 18 [pid 5428] exit_group(0 [pid 5463] <... write resumed>) = 18 [pid 5428] <... exit_group resumed>) = ? [pid 5463] memfd_create("syzkaller", 0) = 3 [pid 5428] +++ exited with 0 +++ [pid 5463] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5241] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5428, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=36 /* 0.36 s */} --- [pid 5241] restart_syscall(<... resuming interrupted clone ...> [pid 5463] <... mmap resumed>) = 0x7feee4c00000 [pid 5241] <... restart_syscall resumed>) = 0 [pid 5241] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5241] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] getdents64(3, 0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5241] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] unlink("./3/binderfs") = 0 [pid 5241] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5432] <... close resumed>) = 0 [pid 5432] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5432] exit_group(0) = ? [pid 5432] +++ exited with 0 +++ [pid 5239] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5432, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=37 /* 0.37 s */} --- [pid 5239] restart_syscall(<... resuming interrupted clone ...> [pid 5431] <... close resumed>) = 0 [pid 5431] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5239] <... restart_syscall resumed>) = 0 [ 189.587719][ T5241] bcachefs (loop3): shutting down [ 189.594727][ T5241] bcachefs (loop3): going read-only [ 189.614400][ T5241] bcachefs (loop3): finished waiting for writes to stop [pid 5239] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5431] <... openat resumed>) = 3 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5431] exit_group(0 [pid 5239] <... openat resumed>) = 3 [pid 5431] <... exit_group resumed>) = ? [pid 5239] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5431] +++ exited with 0 +++ [pid 5239] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5431, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=44 /* 0.44 s */} --- [pid 5239] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5242] restart_syscall(<... resuming interrupted clone ...> [pid 5239] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] unlink("./4/binderfs") = 0 [pid 5239] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./4/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5239] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(4, [pid 5242] <... restart_syscall resumed>) = 0 [pid 5239] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5239] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] close(4 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... close resumed>) = 0 [pid 5242] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5239] rmdir("./4/file1" [pid 5242] <... openat resumed>) = 3 [pid 5242] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] <... rmdir resumed>) = 0 [pid 5242] getdents64(3, [pid 5239] umount2("./4/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] newfstatat(AT_FDCWD, "./4/cpuset.effective_cpus", [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5239] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] unlink("./4/cpuset.effective_cpus" [pid 5242] unlink("./4/binderfs") = 0 [pid 5239] <... unlink resumed>) = 0 [pid 5242] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5433] <... close resumed>) = 0 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] getdents64(3, [pid 5242] newfstatat(AT_FDCWD, "./4/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5433] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5242] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5239] close(3 [pid 5242] newfstatat(4, "", [pid 5433] <... openat resumed>) = 3 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] getdents64(4, [pid 5239] <... close resumed>) = 0 [pid 5433] exit_group(0 [pid 5242] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5239] rmdir("./4" [pid 5242] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] close(4) = 0 [pid 5239] <... rmdir resumed>) = 0 [pid 5433] <... exit_group resumed>) = ? [pid 5242] rmdir("./4/file1") = 0 [pid 5239] mkdir("./5", 0777 [pid 5242] umount2("./4/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./4/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] unlink("./4/cpuset.effective_cpus" [pid 5433] +++ exited with 0 +++ [pid 5242] <... unlink resumed>) = 0 [pid 5242] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5239] <... mkdir resumed>) = 0 [pid 5242] close(3) = 0 [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5433, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=42 /* 0.42 s */} --- [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5242] rmdir("./4" [pid 5240] restart_syscall(<... resuming interrupted clone ...> [pid 5242] <... rmdir resumed>) = 0 [pid 5239] <... openat resumed>) = 3 [pid 5242] mkdir("./5", 0777) = 0 [pid 5239] ioctl(3, LOOP_CLR_FD [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5239] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5242] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5239] close(3 [pid 5242] close(3) = 0 [pid 5240] <... restart_syscall resumed>) = 0 [pid 5239] <... close resumed>) = 0 [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5466 attached [pid 5466] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5466] chdir("./5" [pid 5242] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5466 [pid 5239] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5467 [pid 5466] <... chdir resumed>) = 0 ./strace-static-x86_64: Process 5467 attached [pid 5240] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5466] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5466] setpgid(0, 0) = 0 [pid 5466] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5466] write(3, "1000", 4) = 4 [pid 5466] close(3) = 0 [ 189.653169][ T5241] bcachefs (loop3): flushing journal and stopping allocators, journal seq 11 [pid 5466] symlink("/dev/binderfs", "./binderfs" [pid 5467] set_robust_list(0x55557e1f7660, 24 [pid 5466] <... symlink resumed>) = 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5467] <... set_robust_list resumed>) = 0 [pid 5240] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5467] chdir("./5" [pid 5240] <... openat resumed>) = 3 [pid 5240] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 executing program [pid 5466] write(1, "executing program\n", 18) = 18 [pid 5466] memfd_create("syzkaller", 0 [pid 5467] <... chdir resumed>) = 0 [pid 5240] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5467] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5466] <... memfd_create resumed>) = 3 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5467] <... prctl resumed>) = 0 [pid 5240] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5466] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5467] setpgid(0, 0 [pid 5466] <... mmap resumed>) = 0x7feee4c00000 [pid 5240] unlink("./5/binderfs" [pid 5467] <... setpgid resumed>) = 0 [pid 5240] <... unlink resumed>) = 0 [pid 5467] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5240] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5467] <... openat resumed>) = 3 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5467] write(3, "1000", 4) = 4 [pid 5240] newfstatat(AT_FDCWD, "./5/file1", [pid 5467] close(3 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5467] <... close resumed>) = 0 [pid 5240] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5467] symlink("/dev/binderfs", "./binderfs" [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5467] <... symlink resumed>) = 0 [pid 5240] <... openat resumed>) = 4 [pid 5467] write(1, "executing program\n", 18) = 18 [pid 5240] newfstatat(4, "", [pid 5467] memfd_create("syzkaller", 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5467] <... memfd_create resumed>) = 3 [pid 5240] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5467] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5240] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5467] <... mmap resumed>) = 0x7feee4c00000 [pid 5240] close(4) = 0 [pid 5240] rmdir("./5/file1") = 0 [pid 5240] umount2("./5/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./5/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] unlink("./5/cpuset.effective_cpus") = 0 [pid 5240] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5240] close(3) = 0 [pid 5240] rmdir("./5") = 0 [pid 5240] mkdir("./6", 0777) = 0 [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5240] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 189.792028][ T2931] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [ 189.820959][ T2931] bcachefs (loop3): fatal error - emergency read only [pid 5240] close(3) = 0 [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55557e1f7650) = 5468 ./strace-static-x86_64: Process 5468 attached [pid 5468] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5468] chdir("./6") = 0 [pid 5468] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5468] setpgid(0, 0) = 0 [pid 5468] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5468] write(3, "1000", 4) = 4 [pid 5468] close(3) = 0 [pid 5468] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5468] write(1, "executing program\n", 18) = 18 [pid 5468] memfd_create("syzkaller", 0) = 3 [pid 5468] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [ 189.840289][ T5241] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 13 [ 189.853336][ T5241] bcachefs (loop3): unshutdown complete, journal seq 13 [ 189.873282][ T5241] bcachefs (loop3): done going read-only, filesystem not clean [ 189.924260][ T5241] bcachefs (loop3): shutdown complete [pid 5463] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5466] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5467] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5468] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5463] <... write resumed>) = 16777216 [pid 5463] munmap(0x7feee4c00000, 138412032) = 0 [pid 5463] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5463] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5463] close(3) = 0 [pid 5463] close(4) = 0 [pid 5463] mkdir("./file1", 0777) = 0 [ 190.255806][ T5463] loop0: detected capacity change from 0 to 32768 [pid 5463] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5466] <... write resumed>) = 16777216 [pid 5467] <... write resumed>) = 16777216 [pid 5466] munmap(0x7feee4c00000, 138412032) = 0 [pid 5468] <... write resumed>) = 16777216 [pid 5467] munmap(0x7feee4c00000, 138412032 [pid 5466] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5468] munmap(0x7feee4c00000, 138412032) = 0 [pid 5467] <... munmap resumed>) = 0 [pid 5466] <... openat resumed>) = 4 [pid 5468] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5467] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5466] ioctl(4, LOOP_SET_FD, 3 [pid 5468] <... openat resumed>) = 4 [pid 5467] <... openat resumed>) = 4 [pid 5467] ioctl(4, LOOP_SET_FD, 3 [pid 5468] ioctl(4, LOOP_SET_FD, 3 [pid 5466] <... ioctl resumed>) = 0 [pid 5467] <... ioctl resumed>) = 0 [pid 5466] close(3 [pid 5467] close(3 [pid 5466] <... close resumed>) = 0 [pid 5467] <... close resumed>) = 0 [pid 5466] close(4 [pid 5467] close(4 [pid 5466] <... close resumed>) = 0 [pid 5467] <... close resumed>) = 0 [pid 5467] mkdir("./file1", 0777 [pid 5466] mkdir("./file1", 0777 [pid 5467] <... mkdir resumed>) = 0 [pid 5466] <... mkdir resumed>) = 0 [pid 5466] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5467] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5468] <... ioctl resumed>) = 0 [pid 5468] close(3) = 0 [pid 5468] close(4) = 0 [pid 5468] mkdir("./file1", 0777) = 0 [ 190.460791][ T5466] loop4: detected capacity change from 0 to 32768 [ 190.461664][ T5467] loop1: detected capacity change from 0 to 32768 [ 190.468338][ T5468] loop2: detected capacity change from 0 to 32768 [ 190.755826][ T5463] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 190.758594][ T5466] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 190.781368][ T5463] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 190.809255][ T5463] bcachefs (loop0): Version upgrade required: [ 190.809255][ T5463] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 190.809255][ T5463] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 190.809255][ T5463] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 190.823963][ T5466] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 190.888418][ T5467] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 190.898510][ T5463] bcachefs (loop0): dropping and reconstructing all alloc info [ 190.918345][ T5467] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 190.919140][ T5468] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 190.981110][ T5463] bcachefs (loop0): check_topology... done [ 190.987013][ T5463] bcachefs (loop0): accounting_read... [ 190.999486][ T5468] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5468] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5467] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5467] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5467] ioctl(3, LOOP_CLR_FD) = 0 [ 191.039966][ T5463] done [ 191.042791][ T5463] bcachefs (loop0): alloc_read... done [ 191.048325][ T5463] bcachefs (loop0): stripes_read... done [ 191.075490][ T5467] bcachefs: bch2_fs_get_tree() error: EINVAL [ 191.079391][ T5463] bcachefs (loop0): snapshots_read... done [pid 5467] close(3 [pid 5241] <... umount2 resumed>) = 0 [pid 5241] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./3/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5241] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5241] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5241] close(4) = 0 [pid 5241] rmdir("./3/file1") = 0 [pid 5466] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5241] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5241] close(3) = 0 [pid 5241] rmdir("./3") = 0 [pid 5466] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5241] mkdir("./4", 0777 [pid 5466] <... openat resumed>) = 3 [pid 5241] <... mkdir resumed>) = 0 [pid 5466] ioctl(3, LOOP_CLR_FD [pid 5241] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [ 191.109073][ T5463] bcachefs (loop0): check_allocations... done [ 191.152071][ T5463] bcachefs (loop0): going read-write [ 191.164046][ T5466] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5466] <... ioctl resumed>) = 0 [pid 5241] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5241] close(3) = 0 [pid 5241] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5500 attached [pid 5466] close(3 [pid 5241] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5500 [pid 5500] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5500] chdir("./4") = 0 [pid 5500] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5500] setpgid(0, 0) = 0 [pid 5500] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5463] <... mount resumed>) = 0 [pid 5500] <... openat resumed>) = 3 [pid 5500] write(3, "1000", 4 [pid 5463] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5500] <... write resumed>) = 4 [pid 5463] <... openat resumed>) = 3 [pid 5500] close(3 [pid 5463] chdir("./file1" [pid 5500] <... close resumed>) = 0 [pid 5463] <... chdir resumed>) = 0 [pid 5500] symlink("/dev/binderfs", "./binderfs" [pid 5468] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5463] openat(AT_FDCWD, "/dev/loop0", O_RDWRexecuting program [pid 5500] <... symlink resumed>) = 0 [pid 5468] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5463] <... openat resumed>) = 4 [pid 5468] <... openat resumed>) = 3 [pid 5500] write(1, "executing program\n", 18 [pid 5463] ioctl(4, LOOP_CLR_FD) = 0 [pid 5500] <... write resumed>) = 18 [pid 5500] memfd_create("syzkaller", 0 [pid 5468] ioctl(3, LOOP_CLR_FD [pid 5463] close(4 [pid 5500] <... memfd_create resumed>) = 3 [pid 5468] <... ioctl resumed>) = 0 [pid 5500] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5463] <... close resumed>) = 0 [ 191.217348][ T5463] bcachefs (loop0): done starting filesystem [ 191.226213][ T5468] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5468] close(3 [pid 5463] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5500] <... mmap resumed>) = 0x7feee4c00000 [pid 5463] <... openat resumed>) = 4 [pid 5463] exit_group(0) = ? [pid 5463] +++ exited with 0 +++ [pid 5238] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5463, si_uid=0, si_status=0, si_utime=14 /* 0.14 s */, si_stime=37 /* 0.37 s */} --- [pid 5238] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5238] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5238] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] getdents64(3, 0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5238] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] unlink("./5/binderfs") = 0 [pid 5238] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5467] <... close resumed>) = 0 [pid 5467] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5467] exit_group(0) = ? [pid 5467] +++ exited with 0 +++ [pid 5239] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5467, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=37 /* 0.37 s */} --- [pid 5239] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5239] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(3, 0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5239] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] unlink("./5/binderfs" [pid 5466] <... close resumed>) = 0 [pid 5239] <... unlink resumed>) = 0 [pid 5466] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5239] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5466] <... openat resumed>) = 3 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 191.375874][ T5238] bcachefs (loop0): shutting down [ 191.389135][ T5238] bcachefs (loop0): going read-only [ 191.407923][ T5238] bcachefs (loop0): finished waiting for writes to stop [pid 5239] newfstatat(AT_FDCWD, "./5/file1", [pid 5466] exit_group(0) = ? [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5466] +++ exited with 0 +++ [pid 5242] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5466, si_uid=0, si_status=0, si_utime=14 /* 0.14 s */, si_stime=34 /* 0.34 s */} --- [pid 5239] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5242] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] <... openat resumed>) = 4 [pid 5242] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5239] newfstatat(4, "", [pid 5242] <... openat resumed>) = 3 [pid 5242] newfstatat(3, "", [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(4, [pid 5242] getdents64(3, [pid 5239] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5242] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5239] getdents64(4, [pid 5242] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] close(4 [pid 5242] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... close resumed>) = 0 [pid 5242] unlink("./5/binderfs" [pid 5239] rmdir("./5/file1" [pid 5242] <... unlink resumed>) = 0 [pid 5242] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./5/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... rmdir resumed>) = 0 [pid 5242] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5239] umount2("./5/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] newfstatat(AT_FDCWD, "./5/cpuset.effective_cpus", [pid 5242] getdents64(4, [pid 5239] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5239] unlink("./5/cpuset.effective_cpus" [ 191.445910][ T5238] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [pid 5242] getdents64(4, [pid 5239] <... unlink resumed>) = 0 [pid 5242] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] close(4 [pid 5239] getdents64(3, [pid 5242] <... close resumed>) = 0 [pid 5468] <... close resumed>) = 0 [pid 5242] rmdir("./5/file1" [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5468] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5242] <... rmdir resumed>) = 0 [pid 5242] umount2("./5/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] close(3 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... close resumed>) = 0 [pid 5242] newfstatat(AT_FDCWD, "./5/cpuset.effective_cpus", [pid 5239] rmdir("./5" [pid 5468] <... openat resumed>) = 3 [pid 5242] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... rmdir resumed>) = 0 [pid 5242] unlink("./5/cpuset.effective_cpus" [pid 5239] mkdir("./6", 0777 [pid 5468] exit_group(0 [pid 5242] <... unlink resumed>) = 0 [pid 5239] <... mkdir resumed>) = 0 [pid 5242] getdents64(3, [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5242] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5239] <... openat resumed>) = 3 [pid 5242] close(3 [pid 5239] ioctl(3, LOOP_CLR_FD [pid 5242] <... close resumed>) = 0 [pid 5239] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5242] rmdir("./5" [pid 5239] close(3 [pid 5468] <... exit_group resumed>) = ? [pid 5242] <... rmdir resumed>) = 0 [pid 5239] <... close resumed>) = 0 [pid 5468] +++ exited with 0 +++ [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5501 attached [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5468, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=39 /* 0.39 s */} --- [pid 5239] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5501 [pid 5501] set_robust_list(0x55557e1f7660, 24 [pid 5240] restart_syscall(<... resuming interrupted clone ...> [pid 5501] <... set_robust_list resumed>) = 0 [pid 5501] chdir("./6" [pid 5242] mkdir("./6", 0777 [pid 5240] <... restart_syscall resumed>) = 0 [pid 5501] <... chdir resumed>) = 0 [pid 5501] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5242] <... mkdir resumed>) = 0 [pid 5501] <... prctl resumed>) = 0 [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5501] setpgid(0, 0) = 0 [pid 5242] <... openat resumed>) = 3 [pid 5240] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5501] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5242] ioctl(3, LOOP_CLR_FD [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5501] <... openat resumed>) = 3 [pid 5242] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5240] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5501] write(3, "1000", 4 [pid 5242] close(3 [pid 5240] <... openat resumed>) = 3 [pid 5501] <... write resumed>) = 4 [pid 5242] <... close resumed>) = 0 [pid 5240] newfstatat(3, "", [pid 5501] close(3 [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5502 attached [pid 5501] <... close resumed>) = 0 [pid 5240] getdents64(3, [pid 5501] symlink("/dev/binderfs", "./binderfs" [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 executing program [pid 5502] set_robust_list(0x55557e1f7660, 24 [pid 5501] <... symlink resumed>) = 0 [pid 5500] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5242] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5502 [pid 5240] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5502] <... set_robust_list resumed>) = 0 [pid 5501] write(1, "executing program\n", 18 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5501] <... write resumed>) = 18 [pid 5240] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5502] chdir("./6" [pid 5240] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] unlink("./6/binderfs" [pid 5502] <... chdir resumed>) = 0 [pid 5501] memfd_create("syzkaller", 0 [pid 5240] <... unlink resumed>) = 0 [pid 5502] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5501] <... memfd_create resumed>) = 3 [pid 5240] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5502] <... prctl resumed>) = 0 [pid 5501] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5502] setpgid(0, 0 [pid 5240] newfstatat(AT_FDCWD, "./6/file1", [pid 5502] <... setpgid resumed>) = 0 [pid 5501] <... mmap resumed>) = 0x7feee4c00000 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5502] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5240] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5240] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5240] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5240] close(4) = 0 [pid 5240] rmdir("./6/file1") = 0 [pid 5240] umount2("./6/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./6/cpuset.effective_cpus", [pid 5502] <... openat resumed>) = 3 [pid 5240] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5502] write(3, "1000", 4 [ 191.532886][ T5238] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [pid 5240] unlink("./6/cpuset.effective_cpus" [pid 5502] <... write resumed>) = 4 [pid 5240] <... unlink resumed>) = 0 [pid 5502] close(3 [pid 5240] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5502] <... close resumed>) = 0 [pid 5240] close(3) = 0 [pid 5240] rmdir("./6") = 0 [pid 5240] mkdir("./7", 0777) = 0 [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5240] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5240] close(3) = 0 [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5503 attached [pid 5502] symlink("/dev/binderfs", "./binderfs" [pid 5240] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5503 executing program [pid 5502] <... symlink resumed>) = 0 [pid 5503] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5503] chdir("./7") = 0 [pid 5503] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5503] setpgid(0, 0) = 0 [pid 5503] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5502] write(1, "executing program\n", 18 [pid 5503] write(3, "1000", 4 [pid 5502] <... write resumed>) = 18 [pid 5502] memfd_create("syzkaller", 0 [pid 5503] <... write resumed>) = 4 [pid 5502] <... memfd_create resumed>) = 3 executing program [pid 5503] close(3 [pid 5502] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5503] <... close resumed>) = 0 [pid 5503] symlink("/dev/binderfs", "./binderfs" [pid 5502] <... mmap resumed>) = 0x7feee4c00000 [pid 5503] <... symlink resumed>) = 0 [pid 5503] write(1, "executing program\n", 18) = 18 [pid 5503] memfd_create("syzkaller", 0) = 3 [pid 5503] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [ 191.580529][ T5238] bcachefs (loop0): unshutdown complete, journal seq 16 [ 191.600025][ T5238] bcachefs (loop0): done going read-only, filesystem not clean [ 191.707666][ T5238] bcachefs (loop0): shutdown complete [pid 5503] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5502] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5500] <... write resumed>) = 16777216 [pid 5501] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5500] munmap(0x7feee4c00000, 138412032) = 0 [pid 5500] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5500] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5500] close(3) = 0 [pid 5500] close(4) = 0 [pid 5500] mkdir("./file1", 0777) = 0 [ 191.948700][ T5500] loop3: detected capacity change from 0 to 32768 [pid 5500] mount("/dev/loop3", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5503] <... write resumed>) = 16777216 [pid 5503] munmap(0x7feee4c00000, 138412032) = 0 [pid 5503] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5503] ioctl(4, LOOP_SET_FD, 3 [pid 5502] <... write resumed>) = 16777216 [pid 5503] <... ioctl resumed>) = 0 [pid 5501] <... write resumed>) = 16777216 [pid 5503] close(3 [pid 5502] munmap(0x7feee4c00000, 138412032 [pid 5501] munmap(0x7feee4c00000, 138412032 [pid 5503] <... close resumed>) = 0 [pid 5503] close(4) = 0 [pid 5503] mkdir("./file1", 0777) = 0 [pid 5501] <... munmap resumed>) = 0 [pid 5503] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5502] <... munmap resumed>) = 0 [pid 5501] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5502] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5501] ioctl(4, LOOP_SET_FD, 3 [pid 5502] <... openat resumed>) = 4 [ 192.192859][ T5503] loop2: detected capacity change from 0 to 32768 [pid 5502] ioctl(4, LOOP_SET_FD, 3 [pid 5501] <... ioctl resumed>) = 0 [pid 5502] <... ioctl resumed>) = 0 [pid 5501] close(3) = 0 [pid 5501] close(4 [pid 5502] close(3 [pid 5501] <... close resumed>) = 0 [pid 5501] mkdir("./file1", 0777 [pid 5502] <... close resumed>) = 0 [pid 5501] <... mkdir resumed>) = 0 [pid 5502] close(4) = 0 [pid 5502] mkdir("./file1", 0777 [pid 5501] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5502] <... mkdir resumed>) = 0 [ 192.239291][ T5501] loop1: detected capacity change from 0 to 32768 [ 192.250941][ T5502] loop4: detected capacity change from 0 to 32768 [ 192.303370][ T5500] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 192.324004][ T5500] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 192.332114][ T5500] bcachefs (loop3): Version upgrade required: [ 192.332114][ T5500] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 192.332114][ T5500] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 192.332114][ T5500] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 192.404810][ T5500] bcachefs (loop3): dropping and reconstructing all alloc info [ 192.439703][ T5500] bcachefs (loop3): check_topology... done [ 192.445634][ T5500] bcachefs (loop3): accounting_read... [ 192.446032][ T5503] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 192.463286][ T5500] done [ 192.466086][ T5500] bcachefs (loop3): alloc_read... done [ 192.473731][ T5501] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 192.473775][ T5503] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 192.490377][ T5500] bcachefs (loop3): stripes_read... done [ 192.492991][ T5502] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 192.496806][ T5500] bcachefs (loop3): snapshots_read... done [ 192.512711][ T5501] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 192.539164][ T5500] bcachefs (loop3): check_allocations... [ 192.540203][ T5502] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 192.616356][ T5500] done [ 192.635271][ T5500] bcachefs (loop3): going read-write [pid 5502] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5238] <... umount2 resumed>) = 0 [pid 5238] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5503] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5500] <... mount resumed>) = 0 [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5500] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5238] newfstatat(AT_FDCWD, "./5/file1", [pid 5503] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5500] <... openat resumed>) = 3 [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5500] chdir("./file1" [pid 5503] <... openat resumed>) = 3 [pid 5500] <... chdir resumed>) = 0 [pid 5238] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5503] ioctl(3, LOOP_CLR_FD [pid 5500] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5503] <... ioctl resumed>) = 0 [pid 5500] ioctl(4, LOOP_CLR_FD [pid 5238] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5503] close(3 [pid 5500] <... ioctl resumed>) = 0 [pid 5238] <... openat resumed>) = 4 [pid 5500] close(4 [pid 5238] newfstatat(4, "", [pid 5500] <... close resumed>) = 0 [pid 5500] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5238] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5500] <... openat resumed>) = 4 [ 192.669490][ T5503] bcachefs: bch2_fs_get_tree() error: EINVAL [ 192.679668][ T5500] bcachefs (loop3): done starting filesystem [ 192.703889][ T5501] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5238] getdents64(4, [pid 5501] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5500] exit_group(0 [pid 5238] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5501] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5500] <... exit_group resumed>) = ? [pid 5238] getdents64(4, [pid 5500] +++ exited with 0 +++ [pid 5238] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5238] close(4 [pid 5241] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5500, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=33 /* 0.33 s */} --- [pid 5238] <... close resumed>) = 0 [pid 5241] restart_syscall(<... resuming interrupted clone ...> [pid 5238] rmdir("./5/file1") = 0 [pid 5238] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5238] close(3) = 0 [pid 5238] rmdir("./5") = 0 [pid 5238] mkdir("./6", 0777 [pid 5502] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5501] <... openat resumed>) = 3 [pid 5501] ioctl(3, LOOP_CLR_FD [pid 5241] <... restart_syscall resumed>) = 0 [pid 5238] <... mkdir resumed>) = 0 [pid 5501] <... ioctl resumed>) = 0 [pid 5501] close(3 [pid 5238] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5238] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5238] close(3) = 0 [pid 5238] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5535 attached [pid 5502] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5241] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5502] <... openat resumed>) = 3 [pid 5241] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5502] ioctl(3, LOOP_CLR_FD) = 0 [pid 5238] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5535 [pid 5535] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5535] chdir("./6") = 0 [pid 5535] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5535] setpgid(0, 0) = 0 [pid 5535] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5502] close(3 [pid 5535] <... openat resumed>) = 3 [pid 5241] <... openat resumed>) = 3 [pid 5535] write(3, "1000", 4 [pid 5241] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5535] <... write resumed>) = 4 [pid 5535] close(3) = 0 [pid 5535] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5241] getdents64(3, [pid 5535] write(1, "executing program\n", 18) = 18 [pid 5535] memfd_create("syzkaller", 0) = 3 [ 192.725612][ T5502] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5535] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5241] <... getdents64 resumed>0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5241] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] unlink("./4/binderfs") = 0 [ 192.831290][ T5241] bcachefs (loop3): shutting down [ 192.836382][ T5241] bcachefs (loop3): going read-only [ 192.869122][ T5241] bcachefs (loop3): finished waiting for writes to stop [ 192.932170][ T5241] bcachefs (loop3): flushing journal and stopping allocators, journal seq 11 [pid 5241] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5503] <... close resumed>) = 0 [pid 5503] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5503] exit_group(0) = ? [pid 5535] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5503] +++ exited with 0 +++ [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5503, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=39 /* 0.39 s */} --- [pid 5502] <... close resumed>) = 0 [pid 5502] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5502] exit_group(0) = ? [pid 5502] +++ exited with 0 +++ [ 193.048384][ T80] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [pid 5240] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5502, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=31 /* 0.31 s */} --- [pid 5240] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5242] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... openat resumed>) = 3 [pid 5240] newfstatat(3, "", [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5501] <... close resumed>) = 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] getdents64(3, [pid 5501] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5242] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5501] <... openat resumed>) = 3 [pid 5242] <... openat resumed>) = 3 [pid 5240] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] newfstatat(3, "", [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5501] exit_group(0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5501] <... exit_group resumed>) = ? [pid 5240] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5501] +++ exited with 0 +++ [pid 5242] getdents64(3, [pid 5240] unlink("./7/binderfs" [pid 5242] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5240] <... unlink resumed>) = 0 [pid 5239] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5501, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=53 /* 0.53 s */} --- [ 193.093536][ T80] bcachefs (loop3): fatal error - emergency read only [ 193.117671][ T5241] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 14 [pid 5239] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5242] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] newfstatat(AT_FDCWD, "./7/file1", [pid 5239] <... openat resumed>) = 3 [pid 5242] unlink("./6/binderfs" [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] newfstatat(3, "", [pid 5242] <... unlink resumed>) = 0 [pid 5240] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(3, [pid 5242] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5239] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] newfstatat(AT_FDCWD, "./6/file1", [pid 5240] <... openat resumed>) = 4 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] newfstatat(4, "", [pid 5239] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] unlink("./6/binderfs" [pid 5240] getdents64(4, [pid 5242] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5239] <... unlink resumed>) = 0 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] getdents64(4, [pid 5239] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5240] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] <... openat resumed>) = 4 [pid 5240] close(4 [pid 5239] newfstatat(AT_FDCWD, "./6/file1", [pid 5242] newfstatat(4, "", [pid 5240] <... close resumed>) = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] rmdir("./7/file1" [pid 5242] getdents64(4, [pid 5239] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5240] <... rmdir resumed>) = 0 [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] getdents64(4, [pid 5240] umount2("./7/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5242] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] close(4 [pid 5239] <... openat resumed>) = 4 [pid 5242] <... close resumed>) = 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(4, "", [pid 5242] rmdir("./6/file1" [pid 5240] newfstatat(AT_FDCWD, "./7/cpuset.effective_cpus", [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] <... rmdir resumed>) = 0 [pid 5239] getdents64(4, [pid 5242] umount2("./6/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] unlink("./7/cpuset.effective_cpus" [pid 5239] getdents64(4, [pid 5242] newfstatat(AT_FDCWD, "./6/cpuset.effective_cpus", [pid 5239] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] close(4 [pid 5242] unlink("./6/cpuset.effective_cpus" [pid 5240] <... unlink resumed>) = 0 [pid 5239] <... close resumed>) = 0 [pid 5242] <... unlink resumed>) = 0 [pid 5239] rmdir("./6/file1" [pid 5242] getdents64(3, [pid 5240] getdents64(3, [pid 5242] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5239] <... rmdir resumed>) = 0 [pid 5240] close(3 [pid 5242] close(3 [pid 5239] umount2("./6/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... close resumed>) = 0 [pid 5242] <... close resumed>) = 0 [pid 5240] rmdir("./7" [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] rmdir("./6" [pid 5239] newfstatat(AT_FDCWD, "./6/cpuset.effective_cpus", [pid 5242] <... rmdir resumed>) = 0 [pid 5240] <... rmdir resumed>) = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] unlink("./6/cpuset.effective_cpus" [pid 5242] mkdir("./7", 0777 [pid 5240] mkdir("./8", 0777 [pid 5239] <... unlink resumed>) = 0 [pid 5242] <... mkdir resumed>) = 0 [pid 5239] getdents64(3, [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5240] <... mkdir resumed>) = 0 [pid 5242] <... openat resumed>) = 3 [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5242] ioctl(3, LOOP_CLR_FD [pid 5240] <... openat resumed>) = 3 [pid 5239] close(3 [pid 5242] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5240] ioctl(3, LOOP_CLR_FD [pid 5239] <... close resumed>) = 0 [pid 5242] close(3 [pid 5240] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5239] rmdir("./6" [pid 5242] <... close resumed>) = 0 [pid 5240] close(3 [pid 5239] <... rmdir resumed>) = 0 [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5240] <... close resumed>) = 0 ./strace-static-x86_64: Process 5537 attached [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5538 attached [pid 5537] set_robust_list(0x55557e1f7660, 24 [pid 5242] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5537 [pid 5239] mkdir("./7", 0777 [pid 5538] set_robust_list(0x55557e1f7660, 24 [pid 5537] <... set_robust_list resumed>) = 0 [pid 5538] <... set_robust_list resumed>) = 0 [pid 5537] chdir("./7" [pid 5239] <... mkdir resumed>) = 0 [pid 5538] chdir("./8" [pid 5537] <... chdir resumed>) = 0 [pid 5240] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5538 [pid 5538] <... chdir resumed>) = 0 [pid 5537] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5538] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5538] setpgid(0, 0 [pid 5537] <... prctl resumed>) = 0 [pid 5538] <... setpgid resumed>) = 0 [pid 5538] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5537] setpgid(0, 0 [pid 5538] <... openat resumed>) = 3 [pid 5537] <... setpgid resumed>) = 0 [pid 5538] write(3, "1000", 4) = 4 [pid 5537] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5538] close(3) = 0 [pid 5537] <... openat resumed>) = 3 [pid 5538] symlink("/dev/binderfs", "./binderfs" [ 193.138038][ T5241] bcachefs (loop3): unshutdown complete, journal seq 14 [ 193.147532][ T5241] bcachefs (loop3): done going read-only, filesystem not clean [ 193.176226][ T5241] bcachefs (loop3): shutdown complete [pid 5537] write(3, "1000", 4executing program [pid 5538] <... symlink resumed>) = 0 [pid 5537] <... write resumed>) = 4 [pid 5538] write(1, "executing program\n", 18 [pid 5537] close(3 [pid 5538] <... write resumed>) = 18 [pid 5538] memfd_create("syzkaller", 0 [pid 5537] <... close resumed>) = 0 [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5537] symlink("/dev/binderfs", "./binderfs" [pid 5239] <... openat resumed>) = 3 [pid 5538] <... memfd_create resumed>) = 3 [pid 5537] <... symlink resumed>) = 0 [pid 5538] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5537] write(1, "executing program\n", 18 [pid 5239] ioctl(3, LOOP_CLR_FDexecuting program ) = -1 ENXIO (No such device or address) [pid 5239] close(3 [pid 5537] <... write resumed>) = 18 [pid 5239] <... close resumed>) = 0 [pid 5538] <... mmap resumed>) = 0x7feee4c00000 [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5537] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5539 attached ) = 3 [pid 5239] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5539 [pid 5537] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5539] set_robust_list(0x55557e1f7660, 24 [pid 5537] <... mmap resumed>) = 0x7feee4c00000 [pid 5539] <... set_robust_list resumed>) = 0 [pid 5539] chdir("./7") = 0 [pid 5539] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5539] setpgid(0, 0) = 0 [pid 5539] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5539] write(3, "1000", 4) = 4 [pid 5539] close(3) = 0 [pid 5539] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5539] write(1, "executing program\n", 18executing program ) = 18 [pid 5539] memfd_create("syzkaller", 0) = 3 [pid 5539] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5535] <... write resumed>) = 16777216 [pid 5535] munmap(0x7feee4c00000, 138412032) = 0 [pid 5535] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5535] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5535] close(3) = 0 [pid 5535] close(4) = 0 [pid 5535] mkdir("./file1", 0777) = 0 [ 193.402597][ T5535] loop0: detected capacity change from 0 to 32768 [pid 5535] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5538] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5537] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5539] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5538] <... write resumed>) = 16777216 [pid 5538] munmap(0x7feee4c00000, 138412032) = 0 [pid 5538] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5538] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5538] close(3) = 0 [pid 5538] close(4) = 0 [pid 5538] mkdir("./file1", 0777) = 0 [pid 5538] mount("/dev/loop2", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5539] <... write resumed>) = 16777216 [pid 5537] <... write resumed>) = 16777216 [pid 5539] munmap(0x7feee4c00000, 138412032 [pid 5537] munmap(0x7feee4c00000, 138412032) = 0 [ 193.772742][ T5538] loop2: detected capacity change from 0 to 32768 [pid 5537] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5537] ioctl(4, LOOP_SET_FD, 3 [pid 5539] <... munmap resumed>) = 0 [pid 5537] <... ioctl resumed>) = 0 [pid 5539] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5537] close(3 [pid 5539] ioctl(4, LOOP_SET_FD, 3 [pid 5537] <... close resumed>) = 0 [pid 5539] <... ioctl resumed>) = 0 [pid 5539] close(3 [pid 5537] close(4) = 0 [pid 5537] mkdir("./file1", 0777 [pid 5539] <... close resumed>) = 0 [pid 5537] <... mkdir resumed>) = 0 [pid 5539] close(4 [pid 5537] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5539] <... close resumed>) = 0 [pid 5539] mkdir("./file1", 0777) = 0 [ 193.836006][ T5537] loop4: detected capacity change from 0 to 32768 [ 193.860158][ T5539] loop1: detected capacity change from 0 to 32768 [ 193.958464][ T5535] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc [ 193.979341][ T5535] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 193.987399][ T5535] bcachefs (loop0): Version upgrade required: [ 193.987399][ T5535] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 193.987399][ T5535] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 193.987399][ T5535] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 194.075614][ T5538] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 194.099128][ T5538] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 194.113171][ T5539] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 194.139417][ T5539] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 194.143295][ T5537] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 194.163818][ T5535] bcachefs (loop0): dropping and reconstructing all alloc info [ 194.163992][ T5537] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 194.246651][ T5535] bcachefs (loop0): check_topology... done [ 194.266602][ T5535] bcachefs (loop0): accounting_read... [ 194.270078][ T5538] bcachefs: bch2_fs_get_tree() error: EINVAL [ 194.282728][ T5535] done [ 194.285854][ T5535] bcachefs (loop0): alloc_read... done [pid 5539] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5538] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5539] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5539] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5539] ioctl(3, LOOP_CLR_FD) = 0 [ 194.292414][ T5539] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5539] close(3 [pid 5538] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5241] <... umount2 resumed>) = 0 [pid 5538] <... openat resumed>) = 3 [pid 5538] ioctl(3, LOOP_CLR_FD) = 0 [pid 5538] close(3 [pid 5241] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] newfstatat(AT_FDCWD, "./4/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5241] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5241] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5241] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5241] close(4) = 0 [pid 5241] rmdir("./4/file1") = 0 [pid 5241] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5241] close(3) = 0 [pid 5241] rmdir("./4") = 0 [pid 5241] mkdir("./5", 0777) = 0 [pid 5241] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5241] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5241] close(3) = 0 [pid 5241] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5569 attached , child_tidptr=0x55557e1f7650) = 5569 [pid 5569] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5569] chdir("./5") = 0 [pid 5569] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5569] setpgid(0, 0) = 0 [pid 5569] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 194.329174][ T5535] bcachefs (loop0): stripes_read... done [ 194.334925][ T5535] bcachefs (loop0): snapshots_read... done [pid 5569] write(3, "1000", 4) = 4 [pid 5569] close(3) = 0 [pid 5569] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5569] write(1, "executing program\n", 18) = 18 [pid 5569] memfd_create("syzkaller", 0) = 3 [pid 5569] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5537] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 194.343006][ T5535] bcachefs (loop0): check_allocations... done [ 194.447650][ T5537] bcachefs: bch2_fs_get_tree() error: EINVAL [ 194.455235][ T5535] bcachefs (loop0): going read-write [pid 5537] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5537] ioctl(3, LOOP_CLR_FD) = 0 [ 194.487090][ T5535] bcachefs (loop0): done starting filesystem [pid 5537] close(3 [pid 5535] <... mount resumed>) = 0 [pid 5535] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5535] chdir("./file1") = 0 [pid 5535] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5535] ioctl(4, LOOP_CLR_FD) = 0 [pid 5535] close(4) = 0 [pid 5535] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5535] exit_group(0) = ? [pid 5535] +++ exited with 0 +++ [pid 5238] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5535, si_uid=0, si_status=0, si_utime=15 /* 0.15 s */, si_stime=33 /* 0.33 s */} --- [pid 5238] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5238] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5238] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] getdents64(3, 0x55557e1f86f0 /* 4 entries */, 32768) = 112 [pid 5238] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] unlink("./6/binderfs" [pid 5539] <... close resumed>) = 0 [pid 5238] <... unlink resumed>) = 0 [pid 5539] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5538] <... close resumed>) = 0 [pid 5238] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5539] <... openat resumed>) = 3 [pid 5539] exit_group(0 [pid 5538] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5539] <... exit_group resumed>) = ? [pid 5539] +++ exited with 0 +++ [pid 5538] <... openat resumed>) = 3 [pid 5538] exit_group(0) = ? [pid 5239] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5539, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=41 /* 0.41 s */} --- [pid 5239] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5538] +++ exited with 0 +++ [pid 5240] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5538, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=37 /* 0.37 s */} --- [pid 5239] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5240] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5239] <... openat resumed>) = 3 [pid 5240] <... openat resumed>) = 3 [pid 5239] newfstatat(3, "", [pid 5240] newfstatat(3, "", [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] getdents64(3, [pid 5240] getdents64(3, [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5239] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5240] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5239] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] unlink("./7/binderfs" [pid 5240] unlink("./8/binderfs" [pid 5239] <... unlink resumed>) = 0 [pid 5240] <... unlink resumed>) = 0 [pid 5239] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] newfstatat(AT_FDCWD, "./7/file1", [pid 5240] newfstatat(AT_FDCWD, "./8/file1", [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5537] <... close resumed>) = 0 [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5537] openat(AT_FDCWD, "cpuset.effective_cpus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5240] openat(AT_FDCWD, "./8/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5239] <... openat resumed>) = 4 [pid 5240] <... openat resumed>) = 4 [pid 5240] newfstatat(4, "", [pid 5239] newfstatat(4, "", [pid 5537] exit_group(0 [pid 5240] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5537] <... exit_group resumed>) = ? [pid 5240] getdents64(4, [pid 5239] getdents64(4, [pid 5240] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5239] <... getdents64 resumed>0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5240] getdents64(4, [pid 5239] getdents64(4, [pid 5240] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5239] <... getdents64 resumed>0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5240] close(4 [pid 5239] close(4 [pid 5537] +++ exited with 0 +++ [pid 5240] <... close resumed>) = 0 [pid 5239] <... close resumed>) = 0 [pid 5240] rmdir("./8/file1" [pid 5239] rmdir("./7/file1" [pid 5240] <... rmdir resumed>) = 0 [pid 5239] <... rmdir resumed>) = 0 [pid 5240] umount2("./8/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] umount2("./7/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] newfstatat(AT_FDCWD, "./8/cpuset.effective_cpus", [pid 5239] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5240] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] newfstatat(AT_FDCWD, "./7/cpuset.effective_cpus", [pid 5240] unlink("./8/cpuset.effective_cpus") = 0 [pid 5239] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] getdents64(3, [pid 5239] unlink("./7/cpuset.effective_cpus" [pid 5240] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5239] <... unlink resumed>) = 0 [pid 5240] close(3 [pid 5239] getdents64(3, [pid 5240] <... close resumed>) = 0 [pid 5239] <... getdents64 resumed>0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5240] rmdir("./8" [pid 5239] close(3 [pid 5240] <... rmdir resumed>) = 0 [pid 5239] <... close resumed>) = 0 [pid 5240] mkdir("./9", 0777 [pid 5239] rmdir("./7" [pid 5240] <... mkdir resumed>) = 0 [pid 5239] <... rmdir resumed>) = 0 [pid 5240] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5239] mkdir("./8", 0777 [pid 5240] ioctl(3, LOOP_CLR_FD [pid 5239] <... mkdir resumed>) = 0 [pid 5240] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5240] close(3) = 0 [pid 5240] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5239] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5239] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 5572 attached [pid 5242] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5537, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=40 /* 0.40 s */} --- [pid 5239] close(3 [pid 5572] set_robust_list(0x55557e1f7660, 24 [pid 5240] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5572 [pid 5242] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5572] <... set_robust_list resumed>) = 0 [pid 5242] <... openat resumed>) = 3 [pid 5242] newfstatat(3, "", [pid 5572] chdir("./9" [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] <... close resumed>) = 0 [pid 5239] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5572] <... chdir resumed>) = 0 [pid 5242] getdents64(3, [pid 5572] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5242] <... getdents64 resumed>0x55557e1f86f0 /* 5 entries */, 32768) = 160 [pid 5239] <... clone resumed>, child_tidptr=0x55557e1f7650) = 5573 [pid 5572] setpgid(0, 0 [pid 5242] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5572] <... setpgid resumed>) = 0 [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5573 attached [pid 5572] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5242] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5573] set_robust_list(0x55557e1f7660, 24 [pid 5242] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5573] <... set_robust_list resumed>) = 0 [pid 5572] <... openat resumed>) = 3 [pid 5242] unlink("./7/binderfs" [pid 5573] chdir("./8" [pid 5242] <... unlink resumed>) = 0 [pid 5573] <... chdir resumed>) = 0 [pid 5242] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5573] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5242] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 194.677977][ T5238] bcachefs (loop0): shutting down [ 194.684818][ T5238] bcachefs (loop0): going read-only [ 194.701685][ T5238] bcachefs (loop0): finished waiting for writes to stop [pid 5242] newfstatat(AT_FDCWD, "./7/file1", [pid 5573] <... prctl resumed>) = 0 [pid 5572] write(3, "1000", 4 [pid 5573] setpgid(0, 0) = 0 [pid 5573] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5573] write(3, "1000", 4) = 4 [pid 5573] close(3) = 0 [pid 5573] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5573] write(1, "executing program\n", 18) = 18 [pid 5573] memfd_create("syzkaller", 0) = 3 [pid 5573] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5572] <... write resumed>) = 4 [pid 5242] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5572] close(3) = 0 [pid 5242] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5572] symlink("/dev/binderfs", "./binderfs" [pid 5242] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5572] <... symlink resumed>) = 0 [pid 5572] write(1, "executing program\n", 18executing program ) = 18 [pid 5242] <... openat resumed>) = 4 [pid 5242] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5572] memfd_create("syzkaller", 0 [pid 5242] getdents64(4, 0x55557e200730 /* 2 entries */, 32768) = 48 [pid 5572] <... memfd_create resumed>) = 3 [pid 5242] getdents64(4, 0x55557e200730 /* 0 entries */, 32768) = 0 [pid 5242] close(4) = 0 [pid 5242] rmdir("./7/file1" [ 194.745909][ T5238] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [pid 5572] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [pid 5242] <... rmdir resumed>) = 0 [pid 5242] umount2("./7/cpuset.effective_cpus", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] newfstatat(AT_FDCWD, "./7/cpuset.effective_cpus", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] unlink("./7/cpuset.effective_cpus") = 0 [pid 5242] getdents64(3, 0x55557e1f86f0 /* 0 entries */, 32768) = 0 [pid 5242] close(3) = 0 [pid 5242] rmdir("./7") = 0 [pid 5242] mkdir("./8", 0777) = 0 [pid 5242] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5242] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5242] close(3) = 0 [pid 5242] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55557e1f7650) = 5574 ./strace-static-x86_64: Process 5574 attached [pid 5574] set_robust_list(0x55557e1f7660, 24) = 0 [pid 5574] chdir("./8") = 0 [pid 5574] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5574] setpgid(0, 0) = 0 [pid 5574] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5574] write(3, "1000", 4) = 4 [pid 5574] close(3) = 0 [pid 5574] symlink("/dev/binderfs", "./binderfs") = 0 [ 194.825498][ T5238] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 executing program [pid 5574] write(1, "executing program\n", 18) = 18 [pid 5574] memfd_create("syzkaller", 0) = 3 [pid 5574] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feee4c00000 [ 194.897059][ T5238] bcachefs (loop0): unshutdown complete, journal seq 14 [ 194.929104][ T80] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 194.969805][ T80] bcachefs (loop0): fatal error - emergency read only [ 194.977127][ T80] ------------[ cut here ]------------ [ 194.982876][ T80] kernel BUG at fs/bcachefs/journal.h:375! [ 195.029431][ T80] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 195.036430][ T80] CPU: 0 UID: 0 PID: 80 Comm: kworker/u8:4 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 [ 195.047133][ T80] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 195.057203][ T80] Workqueue: btree_update btree_interior_update_work [ 195.063924][ T80] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 195.070009][ T80] Code: fd 90 0f 0b e8 bf b5 78 fd 90 0f 0b e8 b7 b5 78 fd 90 0f 0b e8 af b5 78 fd 90 0f 0b e8 a7 b5 78 fd 90 0f 0b e8 9f b5 78 fd 90 <0f> 0b e8 97 b5 78 fd 90 0f 0b e8 8f b5 78 fd 90 0f 0b e8 87 b5 78 [ 195.089640][ T80] RSP: 0018:ffffc900015c76c0 EFLAGS: 00010293 [ 195.095721][ T80] RAX: ffffffff841c21f1 RBX: 0000000000000000 RCX: ffff88801cbbda00 [ 195.103702][ T80] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 195.111679][ T80] RBP: ffffc900015c7890 R08: ffffffff841bc528 R09: 1ffff1100da794a8 [ 195.119661][ T80] R10: dffffc0000000000 R11: ffffed100da794a9 R12: ffff88806d380000 [ 195.127641][ T80] R13: ffff88806d3ca500 R14: 0000000000000044 R15: ffff8880297fc0d0 [ 195.135620][ T80] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 195.144562][ T80] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 195.151155][ T80] CR2: 00007feee53a6000 CR3: 000000000e734000 CR4: 00000000003526f0 [ 195.159137][ T80] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 195.167114][ T80] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 195.175095][ T80] Call Trace: [pid 5569] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 195.178380][ T80] [ 195.181315][ T80] ? __die_body+0x5f/0xb0 [ 195.185654][ T80] ? die+0x9e/0xc0 [ 195.189380][ T80] ? do_trap+0x15a/0x3a0 [ 195.193637][ T80] ? __bch2_trans_commit+0x9232/0x93c0 [ 195.199115][ T80] ? do_error_trap+0x1dc/0x2c0 [ 195.203896][ T80] ? __bch2_trans_commit+0x9232/0x93c0 [ 195.209366][ T80] ? __pfx_do_error_trap+0x10/0x10 [ 195.214493][ T80] ? report_bug+0x3e8/0x500 [ 195.219026][ T80] ? handle_invalid_op+0x34/0x40 [ 195.223973][ T80] ? __bch2_trans_commit+0x9232/0x93c0 [pid 5573] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 195.229444][ T80] ? exc_invalid_op+0x38/0x50 [ 195.234130][ T80] ? asm_exc_invalid_op+0x1a/0x20 [ 195.239172][ T80] ? __bch2_trans_commit+0x3568/0x93c0 [ 195.244640][ T80] ? __bch2_trans_commit+0x9231/0x93c0 [ 195.250114][ T80] ? __bch2_trans_commit+0x9232/0x93c0 [ 195.255597][ T80] ? __pfx___bch2_trans_commit+0x10/0x10 [ 195.261247][ T80] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 195.267258][ T80] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 195.273431][ T80] ? btree_interior_update_work+0x117a/0x2b10 [ 195.279507][ T80] btree_interior_update_work+0x1492/0x2b10 [ 195.285428][ T80] ? __pfx_btree_interior_update_work+0x10/0x10 [ 195.291688][ T80] ? __pfx_lock_acquire+0x10/0x10 [ 195.296726][ T80] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 195.302716][ T80] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 195.309064][ T80] ? process_scheduled_works+0x976/0x1850 [ 195.314797][ T80] process_scheduled_works+0xa63/0x1850 [ 195.320369][ T80] ? __pfx_process_scheduled_works+0x10/0x10 [ 195.326368][ T80] ? assign_work+0x364/0x3d0 [ 195.330969][ T80] worker_thread+0x870/0xd30 [ 195.335579][ T80] ? __kthread_parkme+0x169/0x1d0 [ 195.340621][ T80] ? __pfx_worker_thread+0x10/0x10 [ 195.345750][ T80] kthread+0x2f0/0x390 [ 195.349827][ T80] ? __pfx_worker_thread+0x10/0x10 [ 195.354953][ T80] ? __pfx_kthread+0x10/0x10 [ 195.359556][ T80] ret_from_fork+0x4b/0x80 [ 195.363983][ T80] ? __pfx_kthread+0x10/0x10 [ 195.368583][ T80] ret_from_fork_asm+0x1a/0x30 [ 195.373368][ T80] [ 195.376391][ T80] Modules linked in: [pid 5574] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5573] <... write resumed>) = 16777216 [pid 5573] munmap(0x7feee4c00000, 138412032) = 0 [ 195.380497][ T80] ---[ end trace 0000000000000000 ]--- [pid 5573] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5573] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5573] close(3) = 0 [ 195.430900][ T5573] loop1: detected capacity change from 0 to 32768 [ 195.442790][ T80] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 195.449145][ T80] Code: fd 90 0f 0b e8 bf b5 78 fd 90 0f 0b e8 b7 b5 78 fd 90 0f 0b e8 af b5 78 fd 90 0f 0b e8 a7 b5 78 fd 90 0f 0b e8 9f b5 78 fd 90 <0f> 0b e8 97 b5 78 fd 90 0f 0b e8 8f b5 78 fd 90 0f 0b e8 87 b5 78 [ 195.468841][ T80] RSP: 0018:ffffc900015c76c0 EFLAGS: 00010293 [pid 5573] close(4 [pid 5574] <... write resumed>) = 16777216 [pid 5573] <... close resumed>) = 0 [pid 5572] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5573] mkdir("./file1", 0777) = 0 [pid 5573] mount("/dev/loop1", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5574] munmap(0x7feee4c00000, 138412032) = 0 [pid 5574] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5574] ioctl(4, LOOP_SET_FD, 3 [pid 5569] <... write resumed>) = 16777216 [pid 5574] <... ioctl resumed>) = 0 [pid 5574] close(3) = 0 [pid 5574] close(4) = 0 [pid 5574] mkdir("./file1", 0777) = 0 [pid 5574] mount("/dev/loop4", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [ 195.475112][ T80] RAX: ffffffff841c21f1 RBX: 0000000000000000 RCX: ffff88801cbbda00 [ 195.487615][ T80] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 195.505855][ T80] RBP: ffffc900015c7890 R08: ffffffff841bc528 R09: 1ffff1100da794a8 [ 195.516290][ T5574] loop4: detected capacity change from 0 to 32768 [pid 5569] munmap(0x7feee4c00000, 138412032) = 0 [pid 5569] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5569] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5569] close(3) = 0 [pid 5569] close(4) = 0 [ 195.546222][ T80] R10: dffffc0000000000 R11: ffffed100da794a9 R12: ffff88806d380000 [ 195.557520][ T5569] loop3: detected capacity change from 0 to 32768 [ 195.564298][ T80] R13: ffff88806d3ca500 R14: 0000000000000044 R15: ffff8880297fc0d0 [pid 5569] mkdir("./file1", 0777) = 0 [pid 5569] mount("/dev/loop3", "./file1", "bcachefs", MS_I_VERSION, "data_checksum=xxhash,direct_io,norecovery,fsck,journal_flush_disabled,norecovery,btree_node_imizatio"... [pid 5572] <... write resumed>) = 16777216 [ 195.595108][ T80] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 195.610120][ T5573] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 195.622434][ T80] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 195.625024][ T5573] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 195.629094][ T80] CR2: 00007feee5bff000 CR3: 00000000297f6000 CR4: 00000000003526f0 [pid 5572] munmap(0x7feee4c00000, 138412032) = 0 [ 195.629115][ T80] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 195.653276][ T80] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 195.661336][ T80] Kernel panic - not syncing: Fatal exception [ 195.667676][ T80] Kernel Offset: disabled [ 195.671986][ T80] Rebooting in 86400 seconds..