./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4129424898 <...> Warning: Permanently added '10.128.10.24' (ED25519) to the list of known hosts. execve("./syz-executor4129424898", ["./syz-executor4129424898"], 0x7fff901bb630 /* 10 vars */) = 0 brk(NULL) = 0x5555676d2000 brk(0x5555676d2d00) = 0x5555676d2d00 arch_prctl(ARCH_SET_FS, 0x5555676d2380) = 0 set_tid_address(0x5555676d2650) = 5044 set_robust_list(0x5555676d2660, 24) = 0 rseq(0x5555676d2ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor4129424898", 4096) = 28 getrandom("\x42\x18\x7f\xde\x26\x61\x1c\xaa", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555676d2d00 brk(0x5555676f3d00) = 0x5555676f3d00 brk(0x5555676f4000) = 0x5555676f4000 mprotect(0x7f030ba78000, 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=0x5555676d2650) = 5045 ./strace-static-x86_64: Process 5045 attached [pid 5045] set_robust_list(0x5555676d2660, 24) = 0 [pid 5045] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5045] setpgid(0, 0) = 0 [pid 5045] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5045] write(3, "1000", 4executing program ) = 4 [pid 5045] close(3) = 0 [pid 5045] write(1, "executing program\n", 18) = 18 [pid 5045] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [pid 5045] sched_setscheduler(0, SCHED_FIFO, [7]) = 0 [pid 5045] memfd_create("syzkaller", 0) = 3 [pid 5045] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0303400000 [pid 5045] 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 5045] munmap(0x7f0303400000, 138412032) = 0 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5045] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5045] close(3) = 0 [pid 5045] close(4) = 0 [pid 5045] mkdir("./file0", 0777) = 0 [ 183.610312][ T5045] loop0: detected capacity change from 0 to 32768 [ 183.752087][ T5045] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,nojournal_transaction_names [ 183.766767][ T5045] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 183.895540][ T5045] bcachefs (loop0): alloc_read... done [ 183.901976][ T5045] bcachefs (loop0): stripes_read... done [ 183.908444][ T5045] bcachefs (loop0): snapshots_read... done [ 183.927983][ T5045] bcachefs (loop0): journal_replay... done [ 183.934394][ T5045] bcachefs (loop0): resume_logged_ops... done [ 183.941011][ T5045] bcachefs (loop0): going read-write [pid 5045] mount("/dev/loop0", "./file0", "bcachefs", 0, "\x73\x74\x72\x68\x61\x73\x68\x3d\x73\x69\x70\x51\x05") = 0 [pid 5045] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5045] chdir("./file0") = 0 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5045] ioctl(4, LOOP_CLR_FD) = 0 [pid 5045] close(4) = 0 [ 183.954537][ T5045] bcachefs (loop0): done starting filesystem [pid 5045] open("./bus", O_RDWR|O_CREAT|O_NOCTTY|O_NOFOLLOW|O_NOATIME, 000) = 4 [ 184.014049][ T5053] ===================================================== [ 184.023328][ T5053] BUG: KMSAN: uninit-value in bch2_dirent_invalid+0x1ea/0xa30 [ 184.031216][ T5053] bch2_dirent_invalid+0x1ea/0xa30 [ 184.036734][ T5053] bch2_bkey_val_invalid+0x24f/0x380 [ 184.042290][ T5053] validate_bset_keys+0x12d8/0x25d0 [ 184.048109][ T5053] validate_bset_for_write+0x1dd/0x340 [ 184.053969][ T5053] __bch2_btree_node_write+0x4777/0x67c0 [ 184.059889][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 184.065467][ T5053] __btree_node_flush+0x4d0/0x640 [ 184.070718][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 184.076485][ T5053] journal_flush_pins+0xce6/0x1780 [ 184.081843][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 184.087752][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 184.093884][ T5053] kthread+0x3e2/0x540 [ 184.098198][ T5053] ret_from_fork+0x6d/0x90 [ 184.102832][ T5053] ret_from_fork_asm+0x1a/0x30 [ 184.108068][ T5053] [ 184.110513][ T5053] Uninit was stored to memory at: [ 184.115921][ T5053] bch2_sort_keys+0x1b4d/0x2cb0 [ 184.121059][ T5053] __bch2_btree_node_write+0x3acd/0x67c0 [ 184.127105][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 184.132665][ T5053] __btree_node_flush+0x4d0/0x640 [ 184.138019][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 184.143561][ T5053] journal_flush_pins+0xce6/0x1780 [ 184.148954][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 184.154741][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 184.160815][ T5053] kthread+0x3e2/0x540 [ 184.165398][ T5053] ret_from_fork+0x6d/0x90 [ 184.170019][ T5053] ret_from_fork_asm+0x1a/0x30 [ 184.175073][ T5053] [ 184.177515][ T5053] Uninit was created at: [ 184.182053][ T5053] __kmalloc_large_node+0x231/0x370 [ 184.187636][ T5053] __kmalloc_node+0xb10/0x10c0 [ 184.192609][ T5053] kvmalloc_node+0xc0/0x2d0 [ 184.197487][ T5053] bch2_btree_node_read_done+0x4e68/0x75e0 [ 184.203664][ T5053] btree_node_read_work+0x8a5/0x1eb0 [ 184.209216][ T5053] bch2_btree_node_read+0x3d42/0x4b50 [ 184.215022][ T5053] bch2_btree_root_read+0xa6c/0x13d0 [ 184.220583][ T5053] read_btree_roots+0x454/0xee0 [ 184.225853][ T5053] bch2_fs_recovery+0x7b6a/0x93e0 [ 184.231100][ T5053] bch2_fs_start+0x7b2/0xbd0 [ 184.236715][ T5053] bch2_fs_open+0x152a/0x15f0 [ 184.242017][ T5053] bch2_mount+0x90d/0x1d90 [ 184.247084][ T5053] legacy_get_tree+0x114/0x290 [ 184.252191][ T5053] vfs_get_tree+0xa7/0x570 [ 184.257121][ T5053] do_new_mount+0x71f/0x15e0 [ 184.262060][ T5053] path_mount+0x742/0x1f20 [ 184.267024][ T5053] __se_sys_mount+0x725/0x810 [ 184.271982][ T5053] __x64_sys_mount+0xe4/0x150 [ 184.277407][ T5053] x64_sys_call+0x2bf4/0x3b50 [ 184.282433][ T5053] do_syscall_64+0xcf/0x1e0 [ 184.287677][ T5053] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 184.294059][ T5053] [ 184.296615][ T5053] CPU: 0 PID: 5053 Comm: bch-reclaim/loo Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 184.306988][ T5053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 184.317379][ T5053] ===================================================== [ 184.324632][ T5053] Disabling lock debugging due to kernel taint [ 184.330945][ T5053] Kernel panic - not syncing: kmsan.panic set ... [ 184.337507][ T5053] CPU: 0 PID: 5053 Comm: bch-reclaim/loo Tainted: G B 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 184.349356][ T5053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 184.359581][ T5053] Call Trace: [ 184.363016][ T5053] [ 184.366062][ T5053] dump_stack_lvl+0x216/0x2d0 [ 184.370903][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 184.376990][ T5053] dump_stack+0x1e/0x30 [ 184.381407][ T5053] panic+0x4e2/0xcd0 [ 184.385532][ T5053] ? kmsan_get_metadata+0xf1/0x1d0 [ 184.390842][ T5053] kmsan_report+0x2d5/0x2e0 [ 184.395489][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 184.400860][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 184.406850][ T5053] ? __msan_warning+0x95/0x120 [ 184.411826][ T5053] ? bch2_dirent_invalid+0x1ea/0xa30 [ 184.417525][ T5053] ? bch2_bkey_val_invalid+0x24f/0x380 [ 184.423343][ T5053] ? validate_bset_keys+0x12d8/0x25d0 [ 184.428975][ T5053] ? validate_bset_for_write+0x1dd/0x340 [ 184.434890][ T5053] ? __bch2_btree_node_write+0x4777/0x67c0 [ 184.441153][ T5053] ? bch2_btree_node_write+0xa5/0x2e0 [ 184.446806][ T5053] ? __btree_node_flush+0x4d0/0x640 [ 184.452434][ T5053] ? bch2_btree_node_flush0+0x35/0x60 [ 184.458057][ T5053] ? journal_flush_pins+0xce6/0x1780 [ 184.463518][ T5053] ? __bch2_journal_reclaim+0xd88/0x1610 [ 184.469484][ T5053] ? bch2_journal_reclaim_thread+0x18e/0x760 [ 184.475704][ T5053] ? kthread+0x3e2/0x540 [ 184.480129][ T5053] ? ret_from_fork+0x6d/0x90 [ 184.485062][ T5053] ? ret_from_fork_asm+0x1a/0x30 [ 184.490350][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 184.496517][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 184.502321][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 184.507775][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 184.513914][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 184.519368][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 184.525416][ T5053] ? bch2_bkey_ptrs_invalid+0x250d/0x2d40 [ 184.531357][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 184.536809][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 184.542850][ T5053] __msan_warning+0x95/0x120 [ 184.547647][ T5053] bch2_dirent_invalid+0x1ea/0xa30 [ 184.552930][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 184.558301][ T5053] ? __pfx_bch2_dirent_invalid+0x10/0x10 [ 184.564108][ T5053] bch2_bkey_val_invalid+0x24f/0x380 [ 184.569705][ T5053] validate_bset_keys+0x12d8/0x25d0 [ 184.575212][ T5053] validate_bset_for_write+0x1dd/0x340 [ 184.580856][ T5053] __bch2_btree_node_write+0x4777/0x67c0 [ 184.586769][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 184.592213][ T5053] ? kmsan_internal_set_shadow_origin+0x66/0xe0 [ 184.599444][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 184.604963][ T5053] __btree_node_flush+0x4d0/0x640 [ 184.610294][ T5053] ? __btree_node_flush+0xd1/0x640 [ 184.616436][ T5053] ? __pfx_bch2_btree_node_flush0+0x10/0x10 [ 184.622615][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 184.628244][ T5053] journal_flush_pins+0xce6/0x1780 [ 184.633820][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 184.639688][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 184.645176][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 184.651424][ T5053] kthread+0x3e2/0x540 [ 184.655678][ T5053] ? __pfx_bch2_journal_reclaim_thread+0x10/0x10 [ 184.662205][ T5053] ? __pfx_kthread+0x10/0x10 [ 184.667062][ T5053] ret_from_fork+0x6d/0x90 [ 184.671711][ T5053] ? __pfx_kthread+0x10/0x10 [ 184.676565][ T5053] ret_from_fork_asm+0x1a/0x30 [ 184.681611][ T5053] [ 184.684930][ T5053] Kernel Offset: disabled [ 184.689338][ T5053] Rebooting in 86400 seconds..