./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2607954968 <...> Warning: Permanently added '10.128.10.47' (ED25519) to the list of known hosts. execve("./syz-executor2607954968", ["./syz-executor2607954968"], 0x7fff51b0e8b0 /* 10 vars */) = 0 brk(NULL) = 0x55555e0af000 brk(0x55555e0afd00) = 0x55555e0afd00 arch_prctl(ARCH_SET_FS, 0x55555e0af380) = 0 set_tid_address(0x55555e0af650) = 5773 set_robust_list(0x55555e0af660, 24) = 0 rseq(0x55555e0afca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2607954968", 4096) = 28 getrandom("\x3c\x6a\x41\x38\x89\x89\x38\xac", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555e0afd00 brk(0x55555e0d0d00) = 0x55555e0d0d00 brk(0x55555e0d1000) = 0x55555e0d1000 mprotect(0x7fbe17947000, 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 5774 attached , child_tidptr=0x55555e0af650) = 5774 [pid 5774] set_robust_list(0x55555e0af660, 24) = 0 [pid 5774] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5773] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5774] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5775 attached [pid 5773] <... clone resumed>, child_tidptr=0x55555e0af650) = 5775 [pid 5774] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5774] close(3 [pid 5773] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5775] set_robust_list(0x55555e0af660, 24 [pid 5774] <... close resumed>) = 0 ./strace-static-x86_64: Process 5776 attached [pid 5775] <... set_robust_list resumed>) = 0 [pid 5775] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5776] set_robust_list(0x55555e0af660, 24 [pid 5774] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5776] <... set_robust_list resumed>) = 0 [pid 5775] <... openat resumed>) = 3 [pid 5773] <... clone resumed>, child_tidptr=0x55555e0af650) = 5776 ./strace-static-x86_64: Process 5777 attached [pid 5773] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5776] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5774] <... clone resumed>, child_tidptr=0x55555e0af650) = 5777 [pid 5777] set_robust_list(0x55555e0af660, 24 [pid 5776] <... openat resumed>) = 3 [pid 5777] <... set_robust_list resumed>) = 0 [pid 5777] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5775] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5778 attached [pid 5777] <... prctl resumed>) = 0 [pid 5777] setpgid(0, 0) = 0 [pid 5777] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5776] ioctl(3, LOOP_CLR_FDexecuting program [pid 5778] set_robust_list(0x55555e0af660, 24 [pid 5777] <... openat resumed>) = 3 [pid 5776] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5775] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5773] <... clone resumed>, child_tidptr=0x55555e0af650) = 5778 [pid 5778] <... set_robust_list resumed>) = 0 [pid 5775] close(3 [pid 5773] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5777] write(3, "1000", 4 [pid 5778] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5777] <... write resumed>) = 4 [pid 5777] close(3 [pid 5776] close(3 [pid 5777] <... close resumed>) = 0 [pid 5776] <... close resumed>) = 0 [pid 5777] write(1, "executing program\n", 18 [pid 5776] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5779 attached [pid 5777] <... write resumed>) = 18 [pid 5775] <... close resumed>) = 0 [pid 5778] <... openat resumed>) = 3 [pid 5777] memfd_create("syzkaller", 0 [pid 5775] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5780 attached [pid 5780] set_robust_list(0x55555e0af660, 24 [pid 5779] set_robust_list(0x55555e0af660, 24 [pid 5780] <... set_robust_list resumed>) = 0 [pid 5779] <... set_robust_list resumed>) = 0 [pid 5777] <... memfd_create resumed>) = 3 [pid 5780] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5779] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5778] ioctl(3, LOOP_CLR_FD [pid 5777] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5776] <... clone resumed>, child_tidptr=0x55555e0af650) = 5780 [pid 5773] <... clone resumed>, child_tidptr=0x55555e0af650) = 5779 [pid 5780] <... prctl resumed>) = 0 [pid 5777] <... mmap resumed>) = 0x7fbe0f400000 [pid 5780] setpgid(0, 0 [pid 5778] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 5781 attached [pid 5780] <... setpgid resumed>) = 0 [pid 5779] <... openat resumed>) = 3 [pid 5778] close(3 [pid 5775] <... clone resumed>, child_tidptr=0x55555e0af650) = 5781 [pid 5781] set_robust_list(0x55555e0af660, 24 [pid 5780] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5778] <... close resumed>) = 0 [pid 5781] <... set_robust_list resumed>) = 0 [pid 5778] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5781] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5780] <... openat resumed>) = 3 [pid 5780] write(3, "1000", 4) = 4 [pid 5780] close(3./strace-static-x86_64: Process 5782 attached [pid 5781] <... prctl resumed>) = 0 [pid 5781] setpgid(0, 0 [pid 5780] <... close resumed>) = 0 [pid 5779] ioctl(3, LOOP_CLR_FD [pid 5782] set_robust_list(0x55555e0af660, 24 [pid 5781] <... setpgid resumed>) = 0 [pid 5780] write(1, "executing program\n", 18 [pid 5779] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5778] <... clone resumed>, child_tidptr=0x55555e0af650) = 5782 [pid 5782] <... set_robust_list resumed>) = 0 [pid 5781] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program [pid 5782] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5781] <... openat resumed>) = 3 [pid 5780] <... write resumed>) = 18 [pid 5782] <... prctl resumed>) = 0 [pid 5781] write(3, "1000", 4 [pid 5780] memfd_create("syzkaller", 0 [pid 5782] setpgid(0, 0 [pid 5781] <... write resumed>) = 4 [pid 5781] close(3 [pid 5782] <... setpgid resumed>) = 0 [pid 5781] <... close resumed>) = 0 [pid 5780] <... memfd_create resumed>) = 3 [pid 5779] close(3 [pid 5780] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5779] <... close resumed>) = 0 [pid 5780] <... mmap resumed>) = 0x7fbe0f400000 [pid 5779] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5782] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5781] write(1, "executing program\n", 18executing program ) = 18 [pid 5782] <... openat resumed>) = 3 [pid 5781] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5784 attached [pid 5782] write(3, "1000", 4 [pid 5781] <... memfd_create resumed>) = 3 [pid 5779] <... clone resumed>, child_tidptr=0x55555e0af650) = 5784 [pid 5784] set_robust_list(0x55555e0af660, 24 [pid 5782] <... write resumed>) = 4 [pid 5781] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5784] <... set_robust_list resumed>) = 0 [pid 5782] close(3 [pid 5781] <... mmap resumed>) = 0x7fbe0f400000 [pid 5782] <... close resumed>) = 0 executing program [pid 5784] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5782] write(1, "executing program\n", 18) = 18 [pid 5784] <... prctl resumed>) = 0 [pid 5784] setpgid(0, 0 [pid 5782] memfd_create("syzkaller", 0 [pid 5784] <... setpgid resumed>) = 0 [pid 5782] <... memfd_create resumed>) = 3 [pid 5784] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5782] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5784] <... openat resumed>) = 3 [pid 5784] write(3, "1000", 4 [pid 5782] <... mmap resumed>) = 0x7fbe0f400000 [pid 5784] <... write resumed>) = 4 [pid 5784] close(3) = 0 executing program [pid 5784] write(1, "executing program\n", 18) = 18 [pid 5784] memfd_create("syzkaller", 0) = 3 [pid 5784] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbe0f400000 [pid 5777] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5780] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5781] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5782] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5784] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5777] <... write resumed>) = 16777216 [pid 5777] munmap(0x7fbe0f400000, 138412032) = 0 [pid 5777] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5777] ioctl(4, LOOP_SET_FD, 3 [pid 5780] <... write resumed>) = 16777216 [pid 5780] munmap(0x7fbe0f400000, 138412032 [pid 5777] <... ioctl resumed>) = 0 [pid 5777] close(3) = 0 [pid 5777] close(4) = 0 [ 218.210298][ T5777] loop0: detected capacity change from 0 to 32768 [pid 5777] mkdir("./file0", 0777 [pid 5780] <... munmap resumed>) = 0 [pid 5777] <... mkdir resumed>) = 0 [pid 5777] mount("/dev/loop0", "./file0", "bcachefs", MS_I_VERSION, "str_hash=crc32c,inodes_use_key_cache,norecovery,inline_data,journal_flush_disabled,direct_io,backgro"... [pid 5780] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5780] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5780] close(3 [pid 5781] <... write resumed>) = 16777216 [pid 5781] munmap(0x7fbe0f400000, 138412032 [pid 5780] <... close resumed>) = 0 [pid 5780] close(4) = 0 [pid 5780] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 218.313998][ T5780] loop2: detected capacity change from 0 to 32768 [pid 5780] mount("/dev/loop2", "./file0", "bcachefs", MS_I_VERSION, "str_hash=crc32c,inodes_use_key_cache,norecovery,inline_data,journal_flush_disabled,direct_io,backgro"... [pid 5781] <... munmap resumed>) = 0 [pid 5784] <... write resumed>) = 16777216 [pid 5781] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5784] munmap(0x7fbe0f400000, 138412032 [pid 5781] <... openat resumed>) = 4 [pid 5781] ioctl(4, LOOP_SET_FD, 3 [pid 5782] <... write resumed>) = 16777216 [pid 5784] <... munmap resumed>) = 0 [pid 5784] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5784] ioctl(4, LOOP_SET_FD, 3 [pid 5782] munmap(0x7fbe0f400000, 138412032 [pid 5781] <... ioctl resumed>) = 0 [pid 5781] close(3) = 0 [pid 5781] close(4) = 0 [ 218.435994][ T5781] loop1: detected capacity change from 0 to 32768 [pid 5781] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 218.546383][ T5784] loop4: detected capacity change from 0 to 32768 [pid 5781] mount("/dev/loop1", "./file0", "bcachefs", MS_I_VERSION, "str_hash=crc32c,inodes_use_key_cache,norecovery,inline_data,journal_flush_disabled,direct_io,backgro"... [pid 5782] <... munmap resumed>) = 0 [pid 5784] <... ioctl resumed>) = 0 [pid 5782] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5784] close(3 [pid 5782] <... openat resumed>) = 4 [pid 5784] <... close resumed>) = 0 [pid 5782] ioctl(4, LOOP_SET_FD, 3 [pid 5784] close(4) = 0 [pid 5784] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5784] mount("/dev/loop4", "./file0", "bcachefs", MS_I_VERSION, "str_hash=crc32c,inodes_use_key_cache,norecovery,inline_data,journal_flush_disabled,direct_io,backgro"... [pid 5782] <... ioctl resumed>) = 0 [pid 5782] close(3) = 0 [ 218.654145][ T5782] loop3: detected capacity change from 0 to 32768 [pid 5782] close(4) = 0 [pid 5782] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 218.796784][ T5780] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 218.799247][ T5777] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,background_compression=gzip,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 218.806555][ T5780] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 218.832614][ T5777] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 218.849589][ T5777] bcachefs (loop0): Version upgrade required: [ 218.849589][ T5777] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 218.849589][ T5777] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 218.849589][ T5777] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 218.995217][ T5777] bcachefs (loop0): dropping and reconstructing all alloc info [ 219.061191][ T5784] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 219.071168][ T5784] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 219.174634][ C0] hrtimer: interrupt took 227161 ns [ 219.188137][ T5781] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 219.197898][ T5781] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 219.235833][ T5777] bcachefs (loop0): accounting_read... [ 219.251949][ T5782] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 219.267493][ T5782] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 219.282438][ T5777] done [ 219.285523][ T5777] bcachefs (loop0): alloc_read... done [ 219.291774][ T5777] bcachefs (loop0): stripes_read... done [ 219.299277][ T5777] bcachefs (loop0): snapshots_read... done [ 219.306078][ T5777] bcachefs (loop0): check_allocations... done [ 219.663536][ T5777] bcachefs (loop0): going read-write [ 219.729187][ T5777] bcachefs (loop0): done starting filesystem [pid 5782] mount("/dev/loop3", "./file0", "bcachefs", MS_I_VERSION, "str_hash=crc32c,inodes_use_key_cache,norecovery,inline_data,journal_flush_disabled,direct_io,backgro"... [pid 5777] <... mount resumed>) = 0 [pid 5777] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5777] chdir("./file0") = 0 [pid 5777] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5777] ioctl(4, LOOP_CLR_FD) = 0 [pid 5777] close(4) = 0 [pid 5777] renameat2(AT_FDCWD, "./file1", AT_FDCWD, "./file5", 0) = 0 [pid 5777] exit_group(0) = ? [pid 5777] +++ exited with 0 +++ [pid 5774] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5777, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=117 /* 1.17 s */} --- [pid 5774] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5774] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5774] ioctl(3, LOOP_CLR_FD) = 0 [pid 5774] close(3) = 0 [pid 5774] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5825 attached [pid 5825] set_robust_list(0x55555e0af660, 24 [pid 5774] <... clone resumed>, child_tidptr=0x55555e0af650) = 5825 [pid 5825] <... set_robust_list resumed>) = 0 [pid 5825] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5825] setpgid(0, 0) = 0 [pid 5825] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5825] write(3, "1000", 4executing program ) = 4 [pid 5825] close(3) = 0 [pid 5825] write(1, "executing program\n", 18) = 18 [pid 5825] memfd_create("syzkaller", 0 [pid 5780] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5825] <... memfd_create resumed>) = 3 [ 220.065403][ T5780] bcachefs: bch2_fs_get_tree() error: EINVAL [ 220.101428][ T5782] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5825] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbe0f400000 [pid 5780] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5780] ioctl(3, LOOP_CLR_FD) = 0 [pid 5780] close(3 [pid 5782] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5782] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5782] ioctl(3, LOOP_CLR_FD) = 0 [ 220.314035][ T5784] bcachefs: bch2_fs_get_tree() error: EINVAL [ 220.325797][ T5781] bcachefs: bch2_fs_get_tree() error: EINVAL [ 220.329286][ T5819] ===================================================== [ 220.339918][ T5819] BUG: KMSAN: uninit-value in bch2_inode_v3_validate+0x481/0x5a0 [ 220.348081][ T5819] bch2_inode_v3_validate+0x481/0x5a0 [ 220.353766][ T5819] bch2_bkey_val_validate+0x2b5/0x440 [ 220.359704][ T5819] validate_bset_keys+0x1531/0x2080 [ 220.365195][ T5819] validate_bset_for_write+0x142/0x290 [ 220.371170][ T5819] __bch2_btree_node_write+0x53df/0x6830 [ 220.377117][ T5819] bch2_btree_node_write+0xa5/0x2e0 [ 220.382800][ T5819] __btree_node_flush+0x606/0x680 [ 220.388169][ T5819] bch2_btree_node_flush1+0x38/0x60 [ 220.393637][ T5819] journal_flush_pins+0xce6/0x1780 [ 220.399154][ T5819] __bch2_journal_reclaim+0xda8/0x1670 [ 220.404877][ T5819] bch2_journal_reclaim_thread+0x18e/0x760 [pid 5782] close(3 [pid 5781] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5784] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5784] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5784] ioctl(3, LOOP_CLR_FD) = 0 [pid 5784] close(3 [pid 5781] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 220.411125][ T5819] kthread+0x3e2/0x540 [ 220.415434][ T5819] ret_from_fork+0x6d/0x90 [ 220.420232][ T5819] ret_from_fork_asm+0x1a/0x30 [ 220.426090][ T5819] [ 220.428780][ T5819] Uninit was stored to memory at: [ 220.434927][ T5819] bch2_sort_keys_keep_unwritten_whiteouts+0x12d5/0x19d0 [ 220.442487][ T5819] __bch2_btree_node_write+0x3ae8/0x6830 [ 220.449432][ T5819] bch2_btree_node_write+0xa5/0x2e0 [ 220.454936][ T5819] __btree_node_flush+0x606/0x680 [ 220.460530][ T5819] bch2_btree_node_flush1+0x38/0x60 [ 220.467184][ T5819] journal_flush_pins+0xce6/0x1780 [ 220.472740][ T5819] __bch2_journal_reclaim+0xda8/0x1670 [ 220.478574][ T5819] bch2_journal_reclaim_thread+0x18e/0x760 [ 220.484642][ T5819] kthread+0x3e2/0x540 [ 220.489324][ T5819] ret_from_fork+0x6d/0x90 [ 220.493994][ T5819] ret_from_fork_asm+0x1a/0x30 [ 220.499224][ T5819] [ 220.501803][ T5819] Uninit was created at: [ 220.506402][ T5819] ___kmalloc_large_node+0x22c/0x370 [pid 5781] ioctl(3, LOOP_CLR_FD) = 0 [ 220.526454][ T5819] __kmalloc_large_node_noprof+0x3f/0x1e0 [ 220.540844][ T5819] __kmalloc_node_noprof+0xc96/0x1250 [ 220.546537][ T5819] __kvmalloc_node_noprof+0xc0/0x2d0 [ 220.553862][ T5819] btree_node_sort+0x78a/0x1d30 [ 220.559215][ T5819] bch2_btree_post_write_cleanup+0x1b0/0xf20 [ 220.565522][ T5819] bch2_btree_node_write+0x21c/0x2e0 [ 220.571408][ T5819] __btree_node_flush+0x606/0x680 [ 220.576691][ T5819] bch2_btree_node_flush0+0x35/0x60 [ 220.582395][ T5819] journal_flush_pins+0xce6/0x1780 [ 220.587867][ T5819] __bch2_journal_reclaim+0xda8/0x1670 [ 220.593574][ T5819] bch2_journal_reclaim_thread+0x18e/0x760 [ 220.599773][ T5819] kthread+0x3e2/0x540 [ 220.604080][ T5819] ret_from_fork+0x6d/0x90 [ 220.608949][ T5819] ret_from_fork_asm+0x1a/0x30 [ 220.614001][ T5819] [ 220.616491][ T5819] CPU: 1 UID: 0 PID: 5819 Comm: bch-reclaim/loo Not tainted 6.13.0-rc5-syzkaller-00161-g63676eefb7a0 #0 [ 220.628034][ T5819] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 220.638528][ T5819] ===================================================== [ 220.645623][ T5819] Disabling lock debugging due to kernel taint [ 220.652116][ T5819] Kernel panic - not syncing: kmsan.panic set ... [ 220.658732][ T5819] CPU: 1 UID: 0 PID: 5819 Comm: bch-reclaim/loo Tainted: G B 6.13.0-rc5-syzkaller-00161-g63676eefb7a0 #0 [ 220.671620][ T5819] Tainted: [B]=BAD_PAGE [pid 5781] close(3 [pid 5778] kill(-5782, SIGKILL [pid 5776] kill(-5780, SIGKILL [pid 5775] kill(-5781, SIGKILL [pid 5778] <... kill resumed>) = 0 [pid 5776] <... kill resumed>) = 0 [pid 5775] <... kill resumed>) = 0 [pid 5778] kill(5782, SIGKILL [pid 5776] kill(5780, SIGKILL [pid 5775] kill(5781, SIGKILL [pid 5778] <... kill resumed>) = 0 [pid 5776] <... kill resumed>) = 0 [pid 5775] <... kill resumed>) = 0 [pid 5779] kill(-5784, SIGKILL) = 0 [pid 5779] kill(5784, SIGKILL) = 0 [ 220.675939][ T5819] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 220.686219][ T5819] Call Trace: [ 220.689694][ T5819] [ 220.692789][ T5819] dump_stack_lvl+0x216/0x2d0 [ 220.697795][ T5819] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 220.703872][ T5819] dump_stack+0x1e/0x24 [ 220.708318][ T5819] panic+0x4e2/0xcf0 [ 220.712485][ T5819] ? kmsan_get_metadata+0xb1/0x1c0 [ 220.717866][ T5819] kmsan_report+0x2c7/0x2d0 [ 220.722604][ T5819] ? kmsan_get_metadata+0x13e/0x1c0 [ 220.728065][ T5819] ? kmsan_get_metadata+0x13e/0x1c0 [ 220.733516][ T5819] ? __msan_warning+0x95/0x120 [ 220.738582][ T5819] ? bch2_inode_v3_validate+0x481/0x5a0 [ 220.744427][ T5819] ? bch2_bkey_val_validate+0x2b5/0x440 [ 220.750322][ T5819] ? validate_bset_keys+0x1531/0x2080 [ 220.755998][ T5819] ? validate_bset_for_write+0x142/0x290 [ 220.761955][ T5819] ? __bch2_btree_node_write+0x53df/0x6830 [ 220.768097][ T5819] ? bch2_btree_node_write+0xa5/0x2e0 [ 220.773785][ T5819] ? __btree_node_flush+0x606/0x680 [ 220.779262][ T5819] ? bch2_btree_node_flush1+0x38/0x60 [ 220.784912][ T5819] ? journal_flush_pins+0xce6/0x1780 [ 220.790472][ T5819] ? __bch2_journal_reclaim+0xda8/0x1670 [ 220.796370][ T5819] ? bch2_journal_reclaim_thread+0x18e/0x760 [ 220.802622][ T5819] ? kthread+0x3e2/0x540 [ 220.807111][ T5819] ? ret_from_fork+0x6d/0x90 [ 220.811960][ T5819] ? ret_from_fork_asm+0x1a/0x30 [ 220.817210][ T5819] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 220.823285][ T5819] ? kmsan_get_metadata+0x13e/0x1c0 [ 220.828739][ T5819] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 220.835400][ T5819] ? kmsan_get_metadata+0x13e/0x1c0 [ 220.840849][ T5819] ? kmsan_get_metadata+0x13e/0x1c0 [ 220.846316][ T5819] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 220.852396][ T5819] ? kmsan_get_metadata+0x13e/0x1c0 [ 220.857847][ T5819] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 220.863935][ T5819] ? kmsan_get_metadata+0x13e/0x1c0 [ 220.869398][ T5819] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 220.875481][ T5819] __msan_warning+0x95/0x120 [ 220.880365][ T5819] bch2_inode_v3_validate+0x481/0x5a0 [ 220.886058][ T5819] ? __pfx_bch2_inode_v3_validate+0x10/0x10 [ 220.892249][ T5819] bch2_bkey_val_validate+0x2b5/0x440 [ 220.897968][ T5819] validate_bset_keys+0x1531/0x2080 [ 220.903580][ T5819] validate_bset_for_write+0x142/0x290 [ 220.909405][ T5819] __bch2_btree_node_write+0x53df/0x6830 [ 220.915366][ T5819] ? __update_load_avg_se+0x933/0x11a0 [ 220.921198][ T5819] bch2_btree_node_write+0xa5/0x2e0 [ 220.926708][ T5819] __btree_node_flush+0x606/0x680 [ 220.931990][ T5819] ? __btree_node_flush+0xd3/0x680 [ 220.937386][ T5819] ? __pfx_bch2_btree_node_flush1+0x10/0x10 [ 220.943558][ T5819] bch2_btree_node_flush1+0x38/0x60 [ 220.949046][ T5819] journal_flush_pins+0xce6/0x1780 [ 220.954470][ T5819] __bch2_journal_reclaim+0xda8/0x1670 [ 220.960198][ T5819] ? __try_to_del_timer_sync+0x3d3/0x420 [ 220.966176][ T5819] bch2_journal_reclaim_thread+0x18e/0x760 [ 220.972285][ T5819] kthread+0x3e2/0x540 [ 220.976644][ T5819] ? __pfx_bch2_journal_reclaim_thread+0x10/0x10 [ 220.983278][ T5819] ? __pfx_kthread+0x10/0x10 [ 220.988128][ T5819] ret_from_fork+0x6d/0x90 [ 220.992806][ T5819] ? __pfx_kthread+0x10/0x10 [ 220.997641][ T5819] ret_from_fork_asm+0x1a/0x30 [ 221.002724][ T5819] [ 221.006635][ T5819] Kernel Offset: disabled [ 221.011081][ T5819] Rebooting in 86400 seconds..