./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1874764830 <...> Warning: Permanently added '10.128.1.130' (ED25519) to the list of known hosts. execve("./syz-executor1874764830", ["./syz-executor1874764830"], 0x7fffe42eb5a0 /* 10 vars */) = 0 brk(NULL) = 0x555590bcb000 brk(0x555590bcbd00) = 0x555590bcbd00 arch_prctl(ARCH_SET_FS, 0x555590bcb380) = 0 set_tid_address(0x555590bcb650) = 5042 set_robust_list(0x555590bcb660, 24) = 0 rseq(0x555590bcbca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1874764830", 4096) = 28 getrandom("\xf4\xf1\xbc\xe7\xee\x29\x1a\xe9", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555590bcbd00 brk(0x555590becd00) = 0x555590becd00 brk(0x555590bed000) = 0x555590bed000 mprotect(0x7fdd325ea000, 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 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=0x555590bcb650) = 5043 ./strace-static-x86_64: Process 5043 attached [pid 5043] set_robust_list(0x555590bcb660, 24) = 0 [pid 5043] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5043] setpgid(0, 0) = 0 [pid 5043] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5043] write(3, "1000", 4) = 4 [pid 5043] close(3) = 0 [pid 5043] write(1, "executing program\n", 18executing program ) = 18 [pid 5043] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [pid 5043] sched_setscheduler(0, SCHED_FIFO, [7]) = 0 [pid 5043] memfd_create("syzkaller", 0) = 3 [pid 5043] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdd2a000000 [pid 5043] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5043] munmap(0x7fdd2a000000, 138412032) = 0 [pid 5043] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5043] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5043] close(3) = 0 [pid 5043] close(4) = 0 [pid 5043] mkdir("./file0", 0777) = 0 [ 158.220317][ T5043] loop0: detected capacity change from 0 to 32768 [ 158.347289][ T5043] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,nojournal_transaction_names [ 158.361853][ T5043] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 158.484993][ T5043] bcachefs (loop0): alloc_read... done [ 158.491089][ T5043] bcachefs (loop0): stripes_read... done [ 158.497346][ T5043] bcachefs (loop0): snapshots_read... done [ 158.514553][ T5043] bcachefs (loop0): journal_replay... done [ 158.520756][ T5043] bcachefs (loop0): resume_logged_ops... done [ 158.527507][ T5043] bcachefs (loop0): going read-write [pid 5043] mount("/dev/loop0", "./file0", "bcachefs", 0, "") = 0 [pid 5043] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5043] chdir("./file0") = 0 [pid 5043] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5043] ioctl(4, LOOP_CLR_FD) = 0 [pid 5043] close(4) = 0 [pid 5043] openat(AT_FDCWD, "cpuacct.usage_all", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5043] exit_group(0) = ? [ 158.539901][ T5043] bcachefs (loop0): done starting filesystem [pid 5043] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5043, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=79 /* 0.79 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 5056 attached [pid 5056] set_robust_list(0x555590bcb660, 24) = 0 [pid 5056] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5042] <... clone resumed>, child_tidptr=0x555590bcb650) = 5056 [pid 5056] setpgid(0, 0) = 0 [ 158.592211][ T5043] syz-executor187 (5043) used greatest stack depth: 5224 bytes left executing program [pid 5056] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5056] write(3, "1000", 4) = 4 [pid 5056] close(3) = 0 [pid 5056] write(1, "executing program\n", 18) = 18 [pid 5056] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [pid 5056] sched_setscheduler(0, SCHED_FIFO, [7]) = 0 [pid 5056] memfd_create("syzkaller", 0) = 3 [pid 5056] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdd2a000000 [ 158.710777][ T5052] ===================================================== [ 158.718329][ T5052] BUG: KMSAN: uninit-value in bch2_dirent_invalid+0x1ea/0xa30 [ 158.726273][ T5052] bch2_dirent_invalid+0x1ea/0xa30 [ 158.731556][ T5052] bch2_bkey_val_invalid+0x24f/0x380 [ 158.737140][ T5052] validate_bset_keys+0x12d8/0x25d0 [ 158.742538][ T5052] validate_bset_for_write+0x1dd/0x340 [ 158.748304][ T5052] __bch2_btree_node_write+0x4777/0x67c0 [ 158.754273][ T5052] bch2_btree_node_write+0xa5/0x2e0 [ 158.759666][ T5052] __btree_node_flush+0x4d0/0x640 [ 158.764951][ T5052] bch2_btree_node_flush0+0x35/0x60 [ 158.770319][ T5052] journal_flush_pins+0xce6/0x1780 [ 158.775949][ T5052] __bch2_journal_reclaim+0xd88/0x1610 [ 158.781589][ T5052] bch2_journal_reclaim_thread+0x18e/0x760 [ 158.788016][ T5052] kthread+0x3e2/0x540 [ 158.792285][ T5052] ret_from_fork+0x6d/0x90 [ 158.796960][ T5052] ret_from_fork_asm+0x1a/0x30 [ 158.801919][ T5052] [ 158.804485][ T5052] Uninit was stored to memory at: [ 158.809741][ T5052] bch2_sort_keys+0x1b4d/0x2cb0 [ 158.814880][ T5052] __bch2_btree_node_write+0x3acd/0x67c0 [ 158.820722][ T5052] bch2_btree_node_write+0xa5/0x2e0 [ 158.826209][ T5052] __btree_node_flush+0x4d0/0x640 [ 158.831420][ T5052] bch2_btree_node_flush0+0x35/0x60 [ 158.836955][ T5052] journal_flush_pins+0xce6/0x1780 [ 158.842260][ T5052] __bch2_journal_reclaim+0xd88/0x1610 [ 158.847995][ T5052] bch2_journal_reclaim_thread+0x18e/0x760 [ 158.854086][ T5052] kthread+0x3e2/0x540 [ 158.858356][ T5052] ret_from_fork+0x6d/0x90 [ 158.862959][ T5052] ret_from_fork_asm+0x1a/0x30 [ 158.869163][ T5052] [ 158.871584][ T5052] Uninit was created at: [ 158.876824][ T5052] __kmalloc_large_node+0x231/0x370 [ 158.882201][ T5052] __kmalloc_node+0xb10/0x10c0 [ 158.887257][ T5052] kvmalloc_node+0xc0/0x2d0 [ 158.891932][ T5052] bch2_btree_node_read_done+0x4e68/0x75e0 [ 158.898350][ T5052] btree_node_read_work+0x8a5/0x1eb0 [ 158.903952][ T5052] bch2_btree_node_read+0x3d42/0x4b50 [ 158.909537][ T5052] bch2_btree_root_read+0xa6c/0x13d0 [ 158.915145][ T5052] read_btree_roots+0x454/0xee0 [ 158.920174][ T5052] bch2_fs_recovery+0x7b6a/0x93e0 [ 158.925534][ T5052] bch2_fs_start+0x7b2/0xbd0 [ 158.930324][ T5052] bch2_fs_open+0x152a/0x15f0 [ 158.935311][ T5052] bch2_mount+0x90d/0x1d90 [ 158.939910][ T5052] legacy_get_tree+0x114/0x290 [ 158.944967][ T5052] vfs_get_tree+0xa7/0x570 [ 158.949587][ T5052] do_new_mount+0x71f/0x15e0 [ 158.954474][ T5052] path_mount+0x742/0x1f20 [ 158.959077][ T5052] __se_sys_mount+0x725/0x810 [ 158.964066][ T5052] __x64_sys_mount+0xe4/0x150 [ 158.968947][ T5052] x64_sys_call+0x2bf4/0x3b50 [ 158.973989][ T5052] do_syscall_64+0xcf/0x1e0 [ 158.978716][ T5052] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 158.985008][ T5052] [ 158.987439][ T5052] CPU: 1 PID: 5052 Comm: bch-reclaim/loo Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 158.997797][ T5052] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 159.008132][ T5052] ===================================================== [ 159.015278][ T5052] Disabling lock debugging due to kernel taint [ 159.021544][ T5052] Kernel panic - not syncing: kmsan.panic set ... [ 159.028072][ T5052] CPU: 1 PID: 5052 Comm: bch-reclaim/loo Tainted: G B 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 159.039806][ T5052] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 159.050019][ T5052] Call Trace: [ 159.053408][ T5052] [ 159.056439][ T5052] dump_stack_lvl+0x216/0x2d0 [ 159.061329][ T5052] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 159.067334][ T5052] dump_stack+0x1e/0x30 [ 159.071685][ T5052] panic+0x4e2/0xcd0 [ 159.075784][ T5052] ? kmsan_get_metadata+0xf1/0x1d0 [ 159.081189][ T5052] kmsan_report+0x2d5/0x2e0 [ 159.085868][ T5052] ? kmsan_get_metadata+0x146/0x1d0 [ 159.091255][ T5052] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 159.097250][ T5052] ? __msan_warning+0x95/0x120 [ 159.102186][ T5052] ? bch2_dirent_invalid+0x1ea/0xa30 [ 159.107671][ T5052] ? bch2_bkey_val_invalid+0x24f/0x380 [ 159.113428][ T5052] ? validate_bset_keys+0x12d8/0x25d0 [ 159.119006][ T5052] ? validate_bset_for_write+0x1dd/0x340 [ 159.124857][ T5052] ? __bch2_btree_node_write+0x4777/0x67c0 [ 159.130901][ T5052] ? bch2_btree_node_write+0xa5/0x2e0 [ 159.136476][ T5052] ? __btree_node_flush+0x4d0/0x640 [ 159.141848][ T5052] ? bch2_btree_node_flush0+0x35/0x60 [ 159.147419][ T5052] ? journal_flush_pins+0xce6/0x1780 [ 159.152890][ T5052] ? __bch2_journal_reclaim+0xd88/0x1610 [ 159.158709][ T5052] ? bch2_journal_reclaim_thread+0x18e/0x760 [ 159.164889][ T5052] ? kthread+0x3e2/0x540 [ 159.169319][ T5052] ? ret_from_fork+0x6d/0x90 [ 159.174080][ T5052] ? ret_from_fork_asm+0x1a/0x30 [ 159.179218][ T5052] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 159.185213][ T5052] ? kmsan_get_metadata+0x146/0x1d0 [ 159.190591][ T5052] ? kmsan_get_metadata+0x146/0x1d0 [ 159.195980][ T5052] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 159.201988][ T5052] ? kmsan_get_metadata+0x146/0x1d0 [ 159.207368][ T5052] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 159.213368][ T5052] ? bch2_bkey_ptrs_invalid+0x250d/0x2d40 [ 159.219325][ T5052] ? kmsan_get_metadata+0x146/0x1d0 [ 159.224708][ T5052] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 159.230711][ T5052] __msan_warning+0x95/0x120 [ 159.235460][ T5052] bch2_dirent_invalid+0x1ea/0xa30 [ 159.240751][ T5052] ? kmsan_get_metadata+0x146/0x1d0 [ 159.246143][ T5052] ? __pfx_bch2_dirent_invalid+0x10/0x10 [ 159.251957][ T5052] bch2_bkey_val_invalid+0x24f/0x380 [ 159.257474][ T5052] validate_bset_keys+0x12d8/0x25d0 [ 159.262940][ T5052] validate_bset_for_write+0x1dd/0x340 [ 159.268627][ T5052] __bch2_btree_node_write+0x4777/0x67c0 [ 159.274481][ T5052] ? __update_load_avg_cfs_rq+0x121/0x10e0 [ 159.280571][ T5052] bch2_btree_node_write+0xa5/0x2e0 [ 159.285988][ T5052] __btree_node_flush+0x4d0/0x640 [ 159.291195][ T5052] ? __btree_node_flush+0xd1/0x640 [ 159.296491][ T5052] ? __pfx_bch2_btree_node_flush0+0x10/0x10 [ 159.302570][ T5052] bch2_btree_node_flush0+0x35/0x60 [ 159.307955][ T5052] journal_flush_pins+0xce6/0x1780 [ 159.313304][ T5052] __bch2_journal_reclaim+0xd88/0x1610 [ 159.318979][ T5052] ? __try_to_del_timer_sync+0x3d3/0x420 [ 159.324893][ T5052] bch2_journal_reclaim_thread+0x18e/0x760 [ 159.330926][ T5052] kthread+0x3e2/0x540 [ 159.335194][ T5052] ? __pfx_bch2_journal_reclaim_thread+0x10/0x10 [ 159.341729][ T5052] ? __pfx_kthread+0x10/0x10 [ 159.346540][ T5052] ret_from_fork+0x6d/0x90 [ 159.351133][ T5052] ? __pfx_kthread+0x10/0x10 [ 159.355929][ T5052] ret_from_fork_asm+0x1a/0x30 [ 159.360920][ T5052] [ 159.364452][ T5052] Kernel Offset: disabled [ 159.368847][ T5052] Rebooting in 86400 seconds..