./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2700628056 <...> Warning: Permanently added '10.128.0.244' (ED25519) to the list of known hosts. execve("./syz-executor2700628056", ["./syz-executor2700628056"], 0x7fff7446f280 /* 10 vars */) = 0 brk(NULL) = 0x55557952e000 brk(0x55557952ed00) = 0x55557952ed00 arch_prctl(ARCH_SET_FS, 0x55557952e380) = 0 set_tid_address(0x55557952e650) = 5051 set_robust_list(0x55557952e660, 24) = 0 rseq(0x55557952eca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2700628056", 4096) = 28 getrandom("\xc3\x4d\x8f\xd4\x88\x49\xfd\xd4", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557952ed00 brk(0x55557954fd00) = 0x55557954fd00 brk(0x555579550000) = 0x555579550000 mprotect(0x7ff65ea3a000, 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=0x55557952e650) = 5052 ./strace-static-x86_64: Process 5052 attached [pid 5052] set_robust_list(0x55557952e660, 24) = 0 [pid 5052] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5052] setpgid(0, 0) = 0 [pid 5052] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5052] write(3, "1000", 4executing program ) = 4 [pid 5052] close(3) = 0 [pid 5052] write(1, "executing program\n", 18) = 18 [pid 5052] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [pid 5052] sched_setscheduler(0, SCHED_FIFO, [5]) = 0 [pid 5052] memfd_create("syzkaller", 0) = 3 [pid 5052] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff656400000 [pid 5052] 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 5052] munmap(0x7ff656400000, 138412032) = 0 [pid 5052] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5052] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5052] close(3) = 0 [pid 5052] close(4) = 0 [pid 5052] mkdir("./file0", 0777) = 0 [ 160.850672][ T5052] loop0: detected capacity change from 0 to 32768 [ 160.974926][ T5052] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,nojournal_transaction_names [ 160.989505][ T5052] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 161.106846][ T5052] bcachefs (loop0): alloc_read... done [ 161.112915][ T5052] bcachefs (loop0): stripes_read... done [ 161.118949][ T5052] bcachefs (loop0): snapshots_read... done [ 161.135850][ T5052] bcachefs (loop0): journal_replay... done [ 161.142168][ T5052] bcachefs (loop0): resume_logged_ops... done [ 161.148741][ T5052] bcachefs (loop0): going read-write [pid 5052] mount("/dev/loop0", "./file0", "bcachefs", 0, "") = 0 [pid 5052] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5052] chdir("./file0") = 0 [pid 5052] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5052] ioctl(4, LOOP_CLR_FD) = 0 [pid 5052] close(4) = 0 [ 161.161196][ T5052] bcachefs (loop0): done starting filesystem [ 161.198235][ T5061] ===================================================== [pid 5052] openat(AT_FDCWD, "blkio.bfq.io_service_time_recursive", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5052] exit_group(0) = ? [ 161.205546][ T5061] BUG: KMSAN: uninit-value in bch2_dirent_invalid+0x1ea/0xa30 [ 161.212366][ T5052] syz-executor270 (5052) used greatest stack depth: 5224 bytes left [ 161.213257][ T5061] bch2_dirent_invalid+0x1ea/0xa30 [ 161.226573][ T5061] bch2_bkey_val_invalid+0x24f/0x380 [ 161.232058][ T5061] validate_bset_keys+0x12d8/0x25d0 [ 161.237459][ T5061] validate_bset_for_write+0x1dd/0x340 [ 161.243202][ T5061] __bch2_btree_node_write+0x4777/0x67c0 [ 161.249043][ T5061] bch2_btree_node_write+0xa5/0x2e0 [ 161.254683][ T5061] __btree_node_flush+0x4d0/0x640 [pid 5052] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5052, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=83 /* 0.83 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, child_tidptr=0x55557952e650) = 5065 [ 161.259880][ T5061] bch2_btree_node_flush0+0x35/0x60 [ 161.265619][ T5061] journal_flush_pins+0xce6/0x1780 [ 161.270984][ T5061] __bch2_journal_reclaim+0xd88/0x1610 [ 161.276633][ T5061] bch2_journal_reclaim_thread+0x18e/0x760 [ 161.282759][ T5061] kthread+0x3e2/0x540 [ 161.287021][ T5061] ret_from_fork+0x6d/0x90 [ 161.291674][ T5061] ret_from_fork_asm+0x1a/0x30 [ 161.296640][ T5061] [ 161.299054][ T5061] Uninit was stored to memory at: [ 161.304414][ T5061] bch2_sort_keys+0x2051/0x2cb0 ./strace-static-x86_64: Process 5065 attached [ 161.309475][ T5061] __bch2_btree_node_write+0x3acd/0x67c0 [ 161.315398][ T5061] bch2_btree_node_write+0xa5/0x2e0 [ 161.320905][ T5061] __btree_node_flush+0x4d0/0x640 [ 161.326107][ T5061] bch2_btree_node_flush0+0x35/0x60 [ 161.331551][ T5061] journal_flush_pins+0xce6/0x1780 [ 161.336941][ T5061] __bch2_journal_reclaim+0xd88/0x1610 [ 161.342729][ T5061] bch2_journal_reclaim_thread+0x18e/0x760 [ 161.348744][ T5061] kthread+0x3e2/0x540 [ 161.353077][ T5061] ret_from_fork+0x6d/0x90 [ 161.357661][ T5061] ret_from_fork_asm+0x1a/0x30 [pid 5065] set_robust_list(0x55557952e660, 24) = 0 [pid 5065] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5065] setpgid(0, 0) = 0 [pid 5065] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5065] write(3, "1000", 4) = 4 [pid 5065] close(3executing program ) = 0 [pid 5065] write(1, "executing program\n", 18) = 18 [pid 5065] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [ 161.362765][ T5061] [ 161.365177][ T5061] Uninit was created at: [ 161.369643][ T5061] __kmalloc_large_node+0x231/0x370 [ 161.375079][ T5061] __kmalloc_node+0xb10/0x10c0 [ 161.380008][ T5061] kvmalloc_node+0xc0/0x2d0 [ 161.384760][ T5061] bch2_btree_node_read_done+0x4e68/0x75e0 [ 161.390785][ T5061] btree_node_read_work+0x8a5/0x1eb0 [ 161.396355][ T5061] bch2_btree_node_read+0x3d42/0x4b50 [ 161.402069][ T5061] bch2_btree_root_read+0xa6c/0x13d0 [ 161.407612][ T5061] read_btree_roots+0x454/0xee0 [ 161.412935][ T5061] bch2_fs_recovery+0x7b6a/0x93e0 [ 161.418271][ T5061] bch2_fs_start+0x7b2/0xbd0 [ 161.423269][ T5061] bch2_fs_open+0x152a/0x15f0 [ 161.428419][ T5061] bch2_mount+0x90d/0x1d90 [ 161.433387][ T5061] legacy_get_tree+0x114/0x290 [ 161.438443][ T5061] vfs_get_tree+0xa7/0x570 [ 161.443152][ T5061] do_new_mount+0x71f/0x15e0 [ 161.447935][ T5061] path_mount+0x742/0x1f20 [ 161.452613][ T5061] __se_sys_mount+0x725/0x810 [ 161.457507][ T5061] __x64_sys_mount+0xe4/0x150 [ 161.462748][ T5061] x64_sys_call+0x2bf4/0x3b50 [ 161.467629][ T5061] do_syscall_64+0xcf/0x1e0 [ 161.472424][ T5061] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 161.478622][ T5061] [ 161.481109][ T5061] CPU: 1 PID: 5061 Comm: bch-reclaim/loo Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 161.491464][ T5061] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 161.501722][ T5061] ===================================================== [ 161.508754][ T5061] Disabling lock debugging due to kernel taint [ 161.515073][ T5061] Kernel panic - not syncing: kmsan.panic set ... [ 161.521603][ T5061] CPU: 1 PID: 5061 Comm: bch-reclaim/loo Tainted: G B 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 161.533412][ T5061] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 161.543609][ T5061] Call Trace: [ 161.546993][ T5061] [ 161.550021][ T5061] dump_stack_lvl+0x216/0x2d0 [ 161.554910][ T5061] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.560910][ T5061] dump_stack+0x1e/0x30 [ 161.565253][ T5061] panic+0x4e2/0xcd0 [ 161.569337][ T5061] ? kmsan_get_metadata+0xf1/0x1d0 [ 161.574642][ T5061] kmsan_report+0x2d5/0x2e0 [ 161.579320][ T5061] ? kmsan_get_metadata+0x146/0x1d0 [ 161.584697][ T5061] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.590681][ T5061] ? __msan_warning+0x95/0x120 [ 161.595601][ T5061] ? bch2_dirent_invalid+0x1ea/0xa30 [ 161.601092][ T5061] ? bch2_bkey_val_invalid+0x24f/0x380 [ 161.606766][ T5061] ? validate_bset_keys+0x12d8/0x25d0 [ 161.612352][ T5061] ? validate_bset_for_write+0x1dd/0x340 [ 161.618207][ T5061] ? __bch2_btree_node_write+0x4777/0x67c0 [ 161.624351][ T5061] ? bch2_btree_node_write+0xa5/0x2e0 [ 161.629933][ T5061] ? __btree_node_flush+0x4d0/0x640 [ 161.635318][ T5061] ? bch2_btree_node_flush0+0x35/0x60 [ 161.641054][ T5061] ? journal_flush_pins+0xce6/0x1780 [ 161.646529][ T5061] ? __bch2_journal_reclaim+0xd88/0x1610 [ 161.652360][ T5061] ? bch2_journal_reclaim_thread+0x18e/0x760 [ 161.658562][ T5061] ? kthread+0x3e2/0x540 [ 161.662997][ T5061] ? ret_from_fork+0x6d/0x90 [ 161.667763][ T5061] ? ret_from_fork_asm+0x1a/0x30 [ 161.672906][ T5061] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.678908][ T5061] ? kmsan_get_metadata+0x146/0x1d0 [ 161.684353][ T5061] ? kmsan_get_metadata+0x146/0x1d0 [ 161.689838][ T5061] ? kmsan_internal_set_shadow_origin+0x66/0xe0 [ 161.696332][ T5061] ? kmsan_get_metadata+0x146/0x1d0 [ 161.701735][ T5061] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.707742][ T5061] ? bch2_bkey_ptrs_invalid+0x250d/0x2d40 [ 161.713725][ T5061] ? kmsan_get_metadata+0x146/0x1d0 [ 161.719108][ T5061] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.725112][ T5061] __msan_warning+0x95/0x120 [ 161.729952][ T5061] bch2_dirent_invalid+0x1ea/0xa30 [ 161.735243][ T5061] ? kmsan_get_metadata+0x146/0x1d0 [ 161.741794][ T5061] ? __pfx_bch2_dirent_invalid+0x10/0x10 [ 161.747730][ T5061] bch2_bkey_val_invalid+0x24f/0x380 [ 161.753280][ T5061] validate_bset_keys+0x12d8/0x25d0 [ 161.758756][ T5061] validate_bset_for_write+0x1dd/0x340 [ 161.764452][ T5061] __bch2_btree_node_write+0x4777/0x67c0 [ 161.770314][ T5061] ? stack_depot_save_flags+0x2c/0x6e0 [ 161.775977][ T5061] ? mempool_kmalloc+0x36/0x50 [ 161.780926][ T5061] ? kmsan_get_metadata+0x146/0x1d0 [ 161.786386][ T5061] bch2_btree_node_write+0xa5/0x2e0 [ 161.791987][ T5061] __btree_node_flush+0x4d0/0x640 [ 161.797200][ T5061] ? __btree_node_flush+0xd1/0x640 [ 161.802497][ T5061] ? __pfx_bch2_btree_node_flush0+0x10/0x10 [ 161.808582][ T5061] bch2_btree_node_flush0+0x35/0x60 [ 161.813975][ T5061] journal_flush_pins+0xce6/0x1780 [ 161.819321][ T5061] __bch2_journal_reclaim+0xd88/0x1610 [ 161.824992][ T5061] ? kmsan_get_metadata+0x146/0x1d0 [ 161.830408][ T5061] bch2_journal_reclaim_thread+0x18e/0x760 [ 161.836441][ T5061] kthread+0x3e2/0x540 [ 161.840707][ T5061] ? __pfx_bch2_journal_reclaim_thread+0x10/0x10 [ 161.847227][ T5061] ? __pfx_kthread+0x10/0x10 [ 161.852022][ T5061] ret_from_fork+0x6d/0x90 [ 161.856611][ T5061] ? __pfx_kthread+0x10/0x10 [ 161.861403][ T5061] ret_from_fork_asm+0x1a/0x30 [ 161.866385][ T5061] [ 161.869741][ T5061] Kernel Offset: disabled [ 161.874126][ T5061] Rebooting in 86400 seconds..