./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1444817344 <...> Warning: Permanently added '10.128.1.125' (ED25519) to the list of known hosts. execve("./syz-executor1444817344", ["./syz-executor1444817344"], 0x7ffe3f376610 /* 10 vars */) = 0 brk(NULL) = 0x55556337f000 brk(0x55556337fe00) = 0x55556337fe00 arch_prctl(ARCH_SET_FS, 0x55556337f480) = 0 set_tid_address(0x55556337f750) = 5777 set_robust_list(0x55556337f760, 24) = 0 rseq(0x55556337fda0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1444817344", 4096) = 28 getrandom("\xb9\x3e\x08\xfc\xf2\x1b\x76\xaa", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556337fe00 brk(0x5555633a0e00) = 0x5555633a0e00 brk(0x5555633a1000) = 0x5555633a1000 mprotect(0x7f726bc10000, 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 rt_sigaction(SIGRTMIN, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {sa_handler=0x7f726bb61a50, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f726bb6a1f0}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x7f726bb61a50, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f726bb6a1f0}, NULL, 8) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556337f750) = 5778 ./strace-static-x86_64: Process 5778 attached [pid 5778] set_robust_list(0x55556337f760, 24) = 0 [pid 5778] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5778] setpgid(0, 0) = 0 [pid 5778] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5778] write(3, "1000", 4) = 4 executing program [pid 5778] close(3) = 0 [pid 5778] write(1, "executing program\n", 18) = 18 [pid 5778] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=16777355}, NULL) = 0 [pid 5778] socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 [pid 5778] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [pid 5778] memfd_create("syzkaller", 0) = 4 [pid 5778] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7263600000 [pid 5778] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5778] munmap(0x7f7263600000, 138412032) = 0 [pid 5778] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [pid 5778] ioctl(5, LOOP_SET_FD, 4) = 0 [pid 5778] close(4) = 0 [pid 5778] close(5) = 0 [pid 5778] mkdir("./file1", 0777) = 0 [ 181.366990][ T5778] loop0: detected capacity change from 0 to 32768 [ 181.501174][ T5778] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 181.523049][ T5778] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 181.532009][ T5778] bcachefs (loop0): Version upgrade required: [ 181.532009][ T5778] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 181.532009][ T5778] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 181.532009][ T5778] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 181.607070][ T5778] bcachefs (loop0): dropping and reconstructing all alloc info [ 181.652358][ T5778] bcachefs (loop0): check_topology... done [ 181.658645][ T5778] bcachefs (loop0): accounting_read... done [ 181.665909][ T5778] bcachefs (loop0): alloc_read... done [ 181.671995][ T5778] bcachefs (loop0): stripes_read... done [ 181.678014][ T5778] bcachefs (loop0): snapshots_read... done [pid 5778] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5778] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 4 [pid 5778] chdir("./file1") = 0 [pid 5778] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [pid 5778] ioctl(5, LOOP_CLR_FD) = 0 [pid 5778] close(5) = 0 [ 181.684513][ T5778] bcachefs (loop0): check_allocations... done [ 181.764713][ T5778] bcachefs (loop0): going read-write [ 181.781518][ T5778] bcachefs (loop0): done starting filesystem [pid 5778] openat(AT_FDCWD, "./file0/file0", O_RDWR|O_CREAT|O_SYNC|O_DIRECT, 0777) = 5 [pid 5778] fallocate(5, FALLOC_FL_ZERO_RANGE, 2, 5) = 0 [pid 5778] exit_group(0) = ? [pid 5778] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5778, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=73 /* 0.73 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 [ 181.816241][ T29] audit: type=1800 audit(1735736945.987:2): pid=5778 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor144" name="file0" dev="loop0" ino=4099 res=0 errno=0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556337f750) = 5790 ./strace-static-x86_64: Process 5790 attached [pid 5790] set_robust_list(0x55556337f760, 24) = 0 [pid 5790] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5790] setpgid(0, 0) = 0 [pid 5790] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5790] write(3, "1000", 4) = 4 [pid 5790] close(3executing program ) = 0 [pid 5790] write(1, "executing program\n", 18) = 18 [pid 5790] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=16777355}, NULL) = 0 [pid 5790] socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 [pid 5790] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [pid 5790] memfd_create("syzkaller", 0) = 4 [pid 5790] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7263600000 [pid 5790] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5790] munmap(0x7f7263600000, 138412032) = 0 [pid 5790] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [pid 5790] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5790] ioctl(5, LOOP_CLR_FD) = 0 [pid 5790] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5790] close(5) = 0 [pid 5790] close(4) = 0 [pid 5790] openat(AT_FDCWD, "./file0/file0", O_RDWR|O_CREAT|O_SYNC|O_DIRECT, 0777) = -1 ENOENT (No such file or directory) [pid 5790] fallocate(-1, FALLOC_FL_ZERO_RANGE, 2, 5) = -1 EBADF (Bad file descriptor) [pid 5790] exit_group(0) = ? [pid 5790] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5790, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=71 /* 0.71 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5791 attached , child_tidptr=0x55556337f750) = 5791 [pid 5791] set_robust_list(0x55556337f760, 24) = 0 [pid 5791] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5791] setpgid(0, 0) = 0 [pid 5791] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5791] write(3, "1000", 4) = 4 executing program [pid 5791] close(3) = 0 [pid 5791] write(1, "executing program\n", 18) = 18 [pid 5791] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=16777355}, NULL) = 0 [pid 5791] socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 [pid 5791] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [pid 5791] memfd_create("syzkaller", 0) = 4 [pid 5791] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7263600000 [pid 5791] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5791] munmap(0x7f7263600000, 138412032) = 0 [pid 5791] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [pid 5791] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5791] ioctl(5, LOOP_CLR_FD) = 0 [pid 5791] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5791] close(5) = 0 [pid 5791] close(4) = 0 [pid 5791] openat(AT_FDCWD, "./file0/file0", O_RDWR|O_CREAT|O_SYNC|O_DIRECT, 0777) = -1 ENOENT (No such file or directory) [pid 5791] fallocate(-1, FALLOC_FL_ZERO_RANGE, 2, 5) = -1 EBADF (Bad file descriptor) [pid 5791] exit_group(0) = ? [pid 5791] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5791, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=69 /* 0.69 s */} --- openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5792 attached , child_tidptr=0x55556337f750) = 5792 [pid 5792] set_robust_list(0x55556337f760, 24) = 0 [pid 5792] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5792] setpgid(0, 0) = 0 [pid 5792] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 5792] write(3, "1000", 4) = 4 [pid 5792] close(3) = 0 [pid 5792] write(1, "executing program\n", 18) = 18 [pid 5792] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=16777355}, NULL) = 0 [pid 5792] socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 [pid 5792] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [pid 5792] memfd_create("syzkaller", 0) = 4 [pid 5792] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7263600000 [pid 5792] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5792] munmap(0x7f7263600000, 138412032) = 0 [pid 5792] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [pid 5792] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5792] ioctl(5, LOOP_CLR_FD) = 0 [pid 5792] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5792] close(5) = 0 [pid 5792] close(4) = 0 [pid 5792] openat(AT_FDCWD, "./file0/file0", O_RDWR|O_CREAT|O_SYNC|O_DIRECT, 0777) = -1 ENOENT (No such file or directory) [pid 5792] fallocate(-1, FALLOC_FL_ZERO_RANGE, 2, 5) = -1 EBADF (Bad file descriptor) [pid 5792] exit_group(0) = ? [pid 5792] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5792, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=69 /* 0.69 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5793 attached , child_tidptr=0x55556337f750) = 5793 [pid 5793] set_robust_list(0x55556337f760, 24) = 0 [pid 5793] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5793] setpgid(0, 0) = 0 [pid 5793] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5793] write(3, "1000", 4executing program ) = 4 [pid 5793] close(3) = 0 [pid 5793] write(1, "executing program\n", 18) = 18 [pid 5793] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=16777355}, NULL) = 0 [pid 5793] socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 [pid 5793] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [pid 5793] memfd_create("syzkaller", 0) = 4 [pid 5793] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7263600000 [pid 5793] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5793] munmap(0x7f7263600000, 138412032) = 0 [pid 5793] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [pid 5793] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5793] ioctl(5, LOOP_CLR_FD) = 0 [pid 5793] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5793] close(5) = 0 [pid 5793] close(4) = 0 [pid 5793] openat(AT_FDCWD, "./file0/file0", O_RDWR|O_CREAT|O_SYNC|O_DIRECT, 0777) = -1 ENOENT (No such file or directory) [pid 5793] fallocate(-1, FALLOC_FL_ZERO_RANGE, 2, 5) = -1 EBADF (Bad file descriptor) [pid 5793] exit_group(0) = ? [pid 5793] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5793, si_uid=0, si_status=0, si_utime=0, si_stime=72 /* 0.72 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5794 attached , child_tidptr=0x55556337f750) = 5794 [pid 5794] set_robust_list(0x55556337f760, 24) = 0 [pid 5794] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5794] setpgid(0, 0) = 0 [pid 5794] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5794] write(3, "1000", 4executing program ) = 4 [pid 5794] close(3) = 0 [pid 5794] write(1, "executing program\n", 18) = 18 [pid 5794] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=16777355}, NULL) = 0 [pid 5794] socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 [pid 5794] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [pid 5794] memfd_create("syzkaller", 0) = 4 [pid 5794] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7263600000 [pid 5794] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5794] munmap(0x7f7263600000, 138412032) = 0 [pid 5794] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [pid 5794] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5794] ioctl(5, LOOP_CLR_FD) = 0 [pid 5794] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5794] close(5) = 0 [pid 5794] close(4) = 0 [pid 5794] openat(AT_FDCWD, "./file0/file0", O_RDWR|O_CREAT|O_SYNC|O_DIRECT, 0777) = -1 ENOENT (No such file or directory) [pid 5794] fallocate(-1, FALLOC_FL_ZERO_RANGE, 2, 5) = -1 EBADF (Bad file descriptor) [pid 5794] exit_group(0) = ? [pid 5794] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5794, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=69 /* 0.69 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5795 attached , child_tidptr=0x55556337f750) = 5795 [pid 5795] set_robust_list(0x55556337f760, 24) = 0 [pid 5795] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5795] setpgid(0, 0) = 0 [pid 5795] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5795] write(3, "1000", 4) = 4 executing program [pid 5795] close(3) = 0 [pid 5795] write(1, "executing program\n", 18) = 18 [pid 5795] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=16777355}, NULL) = 0 [pid 5795] socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 [pid 5795] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [pid 5795] memfd_create("syzkaller", 0) = 4 [pid 5795] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7263600000 [pid 5795] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5795] munmap(0x7f7263600000, 138412032) = 0 [pid 5795] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [pid 5795] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5795] ioctl(5, LOOP_CLR_FD) = 0 [pid 5795] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5795] close(5) = 0 [pid 5795] close(4) = 0 [pid 5795] openat(AT_FDCWD, "./file0/file0", O_RDWR|O_CREAT|O_SYNC|O_DIRECT, 0777) = -1 ENOENT (No such file or directory) [pid 5795] fallocate(-1, FALLOC_FL_ZERO_RANGE, 2, 5) = -1 EBADF (Bad file descriptor) [pid 5795] exit_group(0) = ? [pid 5795] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5795, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=71 /* 0.71 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556337f750) = 5796 ./strace-static-x86_64: Process 5796 attached [pid 5796] set_robust_list(0x55556337f760, 24) = 0 [pid 5796] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5796] setpgid(0, 0) = 0 [pid 5796] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5796] write(3, "1000", 4) = 4 executing program [pid 5796] close(3) = 0 [pid 5796] write(1, "executing program\n", 18) = 18 [pid 5796] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=16777355}, NULL) = 0 [pid 5796] socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 [pid 5796] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [pid 5796] memfd_create("syzkaller", 0) = 4 [pid 5796] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7263600000 [ 186.854340][ T13] ===================================================== [ 186.861571][ T13] BUG: KMSAN: uninit-value in bch2_alloc_sectors_start_trans+0x44a/0x32b0 [ 186.870479][ T13] bch2_alloc_sectors_start_trans+0x44a/0x32b0 [ 186.876899][ T13] __bch2_write+0x7f8/0x8540 [ 186.881661][ T13] bch2_write+0xec0/0x1d10 [ 186.886369][ T13] bch2_writepages+0x24a/0x3c0 [ 186.891337][ T13] do_writepages+0x427/0xc30 [ 186.896157][ T13] __writeback_single_inode+0x103/0x1290 [ 186.901992][ T13] writeback_sb_inodes+0xa34/0x1c20 [ 186.907532][ T13] __writeback_inodes_wb+0x14c/0x440 [ 186.913121][ T13] wb_writeback+0x50b/0xcb0 [ 186.917805][ T13] wb_workfn+0x122c/0x1940 [ 186.922385][ T13] process_scheduled_works+0xae0/0x1c40 [ 186.928211][ T13] worker_thread+0xea7/0x14f0 [ 186.933209][ T13] kthread+0x3e2/0x540 [ 186.937442][ T13] ret_from_fork+0x6d/0x90 [ 186.942049][ T13] ret_from_fork_asm+0x1a/0x30 [ 186.947083][ T13] [ 186.949528][ T13] Uninit was stored to memory at: [ 186.954880][ T13] __bch2_writepage+0x39d9/0x3f10 [ 186.960113][ T13] write_cache_pages+0xc9/0x280 [ 186.965195][ T13] bch2_writepages+0x11f/0x3c0 [ 186.970154][ T13] do_writepages+0x427/0xc30 [ 186.975032][ T13] __writeback_single_inode+0x103/0x1290 [ 186.980876][ T13] writeback_sb_inodes+0xa34/0x1c20 [ 186.987252][ T13] __writeback_inodes_wb+0x14c/0x440 [ 186.992739][ T13] wb_writeback+0x50b/0xcb0 [ 186.997498][ T13] wb_workfn+0x122c/0x1940 [ 187.002076][ T13] process_scheduled_works+0xae0/0x1c40 [ 187.007935][ T13] worker_thread+0xea7/0x14f0 [ 187.012900][ T13] kthread+0x3e2/0x540 [ 187.017134][ T13] ret_from_fork+0x6d/0x90 [ 187.021730][ T13] ret_from_fork_asm+0x1a/0x30 [ 187.026792][ T13] [ 187.029210][ T13] Uninit was created at: [ 187.033952][ T13] kmem_cache_alloc_lru_noprof+0x91c/0xe20 [ 187.039972][ T13] __bch2_new_inode+0x98/0x450 [ 187.045075][ T13] bch2_inode_hash_init_insert+0x7d/0x3a0 [ 187.051036][ T13] bch2_lookup+0x1605/0x2360 [ 187.055953][ T13] path_openat+0x292f/0x6200 [ 187.060746][ T13] do_filp_open+0x268/0x600 [ 187.065630][ T13] do_sys_openat2+0x1bf/0x2f0 [ 187.070490][ T13] __x64_sys_openat+0x2a1/0x310 [ 187.075647][ T13] x64_sys_call+0x36f5/0x3c30 [ 187.080542][ T13] do_syscall_64+0xcd/0x1e0 [ 187.085369][ T13] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 187.091481][ T13] [ 187.094060][ T13] CPU: 0 UID: 0 PID: 13 Comm: kworker/u8:1 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 [ 187.104999][ T13] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 187.115388][ T13] Workqueue: writeback wb_workfn (flush-bcachefs-1) [ 187.122212][ T13] ===================================================== [ 187.129433][ T13] Disabling lock debugging due to kernel taint [ 187.135770][ T13] Kernel panic - not syncing: kmsan.panic set ... [ 187.142334][ T13] CPU: 0 UID: 0 PID: 13 Comm: kworker/u8:1 Tainted: G B 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 [ 187.154714][ T13] Tainted: [B]=BAD_PAGE [ 187.159021][ T13] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 187.169235][ T13] Workqueue: writeback wb_workfn (flush-bcachefs-1) [ 187.176064][ T13] Call Trace: [ 187.179457][ T13] [ 187.182500][ T13] dump_stack_lvl+0x216/0x2d0 [ 187.187384][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.193733][ T13] dump_stack+0x1e/0x24 [ 187.198088][ T13] panic+0x4e2/0xcf0 [ 187.202179][ T13] ? kmsan_get_metadata+0x111/0x1c0 [ 187.207574][ T13] kmsan_report+0x2c7/0x2d0 [ 187.212260][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.217637][ T13] ? __msan_warning+0x95/0x120 [ 187.222631][ T13] ? bch2_alloc_sectors_start_trans+0x44a/0x32b0 [ 187.229157][ T13] ? __bch2_write+0x7f8/0x8540 [ 187.234100][ T13] ? bch2_write+0xec0/0x1d10 [ 187.238868][ T13] ? bch2_writepages+0x24a/0x3c0 [ 187.244012][ T13] ? do_writepages+0x427/0xc30 [ 187.248938][ T13] ? __writeback_single_inode+0x103/0x1290 [ 187.254951][ T13] ? writeback_sb_inodes+0xa34/0x1c20 [ 187.260531][ T13] ? __writeback_inodes_wb+0x14c/0x440 [ 187.266192][ T13] ? wb_writeback+0x50b/0xcb0 [ 187.271064][ T13] ? wb_workfn+0x122c/0x1940 [ 187.275839][ T13] ? process_scheduled_works+0xae0/0x1c40 [ 187.281786][ T13] ? worker_thread+0xea7/0x14f0 [ 187.286864][ T13] ? kthread+0x3e2/0x540 [ 187.291295][ T13] ? ret_from_fork+0x6d/0x90 [ 187.296083][ T13] ? ret_from_fork_asm+0x1a/0x30 [ 187.301238][ T13] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 187.307850][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.313228][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.319240][ T13] ? _raw_spin_unlock_irqrestore+0x3f/0x60 [ 187.325261][ T13] ? stack_depot_save_flags+0x6db/0x750 [ 187.331018][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.336411][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.341808][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.347831][ T13] __msan_warning+0x95/0x120 [ 187.352637][ T13] bch2_alloc_sectors_start_trans+0x44a/0x32b0 [ 187.359001][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.364416][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.369801][ T13] __bch2_write+0x7f8/0x8540 [ 187.374569][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.380590][ T13] ? kmsan_internal_chain_origin+0x57/0xd0 [ 187.386627][ T13] ? do_writepages+0x427/0xc30 [ 187.391565][ T13] ? worker_thread+0xea7/0x14f0 [ 187.396631][ T13] ? ret_from_fork+0x6d/0x90 [ 187.401422][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.406804][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.412800][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.418203][ T13] ? kmsan_get_metadata+0x110/0x1c0 [ 187.423596][ T13] bch2_write+0xec0/0x1d10 [ 187.428219][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.434243][ T13] bch2_writepages+0x24a/0x3c0 [ 187.439232][ T13] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 187.445802][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.451191][ T13] ? __pfx_bch2_writepages+0x10/0x10 [ 187.456692][ T13] do_writepages+0x427/0xc30 [ 187.461457][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 187.466841][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.472838][ T13] ? writeback_sb_inodes+0x58/0x1c20 [ 187.478341][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.484341][ T13] __writeback_single_inode+0x103/0x1290 [ 187.490185][ T13] ? _raw_spin_unlock+0x30/0x50 [ 187.495277][ T13] writeback_sb_inodes+0xa34/0x1c20 [ 187.500731][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [pid 5796] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5796] munmap(0x7f7263600000, 138412032) = 0 [pid 5796] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 [ 187.506116][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 187.512138][ T13] __writeback_inodes_wb+0x14c/0x440 [ 187.517644][ T13] wb_writeback+0x50b/0xcb0 [ 187.522366][ T13] ? queue_io+0x4c1/0x780 [ 187.526897][ T13] wb_workfn+0x122c/0x1940 [ 187.531502][ T13] ? wake_up_process+0x2a/0x40 [ 187.536499][ T13] ? __pfx_wb_workfn+0x10/0x10 [ 187.541434][ T13] process_scheduled_works+0xae0/0x1c40 [ 187.547244][ T13] worker_thread+0xea7/0x14f0 [ 187.552160][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [pid 5796] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5796] ioctl(5, LOOP_CLR_FD) = 0 [pid 5796] ioctl(5, LOOP_SET_FD, 4) = -1 EBUSY (Device or resource busy) [pid 5796] close(5) = 0 [ 187.558174][ T13] kthread+0x3e2/0x540 [ 187.562424][ T13] ? __pfx_worker_thread+0x10/0x10 [ 187.567790][ T13] ? __pfx_kthread+0x10/0x10 [ 187.572560][ T13] ret_from_fork+0x6d/0x90 [ 187.577168][ T13] ? __pfx_kthread+0x10/0x10 [ 187.581935][ T13] ret_from_fork_asm+0x1a/0x30 [ 187.586932][ T13] [ 187.590321][ T13] Kernel Offset: disabled [ 187.594705][ T13] Rebooting in 86400 seconds..