./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor609586367 <...> Warning: Permanently added '10.128.0.89' (ED25519) to the list of known hosts. execve("./syz-executor609586367", ["./syz-executor609586367"], 0x7fff5b9cd800 /* 10 vars */) = 0 brk(NULL) = 0x555569aa3000 brk(0x555569aa3d00) = 0x555569aa3d00 arch_prctl(ARCH_SET_FS, 0x555569aa3380) = 0 set_tid_address(0x555569aa3650) = 5794 set_robust_list(0x555569aa3660, 24) = 0 rseq(0x555569aa3ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor609586367", 4096) = 27 getrandom("\x99\x74\x16\x0b\x06\xad\x4c\xd5", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555569aa3d00 brk(0x555569ac4d00) = 0x555569ac4d00 brk(0x555569ac5000) = 0x555569ac5000 mprotect(0x7f21ca157000, 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=0x555569aa3650) = 5795 ./strace-static-x86_64: Process 5795 attached [pid 5795] set_robust_list(0x555569aa3660, 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] memfd_create("syzkaller", 0) = 3 [pid 5795] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f21c1c00000 [pid 5795] 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 5795] munmap(0x7f21c1c00000, 138412032) = 0 [pid 5795] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5795] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5795] close(3) = 0 [pid 5795] close(4) = 0 [pid 5795] mkdir("./file2", 0777) = 0 [ 180.734952][ T5795] loop0: detected capacity change from 0 to 32768 [ 180.884606][ T5795] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 180.908026][ T5795] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 180.917695][ T5795] bcachefs (loop0): Version upgrade required: [ 180.917695][ T5795] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 180.917695][ T5795] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 180.917695][ T5795] 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 [ 180.993509][ T5795] bcachefs (loop0): dropping and reconstructing all alloc info [ 181.032425][ T5795] bcachefs (loop0): error validating btree node on loop0 at btree snapshots level 0/0 [ 181.032492][ T5795] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0 [ 181.032554][ T5795] node offset 0/16 bset u64s 0: unknown checksum type 9, fixing [ 181.066734][ T5795] bcachefs (loop0): error validating btree node on loop0 at btree snapshots level 0/0 [ 181.066797][ T5795] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0 [ 181.066861][ T5795] node offset 8/16: btree node data missing: expected 16 sectors, found 8, fixing [ 181.100784][ T5795] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=snapshots level=0 SPOS_MAX due to error [ 181.121637][ T5795] bcachefs (loop0): accounting_read... done [ 181.128425][ T5795] bcachefs (loop0): alloc_read... done [ 181.134351][ T5795] bcachefs (loop0): stripes_read... done [ 181.140365][ T5795] bcachefs (loop0): snapshots_read... done [ 181.146636][ T5795] bcachefs (loop0): check_allocations... done [ 181.226561][ T5795] bcachefs (loop0): going read-write [ 181.241022][ T5795] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 181.260014][ T5795] bcachefs (loop0): done starting filesystem [pid 5795] mount("/dev/loop0", "./file2", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x4a\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5795] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5795] chdir("./file2") = 0 [pid 5795] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5795] ioctl(4, LOOP_CLR_FD) = 0 [pid 5795] close(4) = 0 [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=150 /* 1.50 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=0x555569aa3650) = 5807 ./strace-static-x86_64: Process 5807 attached [pid 5807] set_robust_list(0x555569aa3660, 24) = 0 [pid 5807] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5807] setpgid(0, 0) = 0 [pid 5807] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5807] write(3, "1000", 4) = 4 [pid 5807] close(3) = 0 [pid 5807] write(1, "executing program\n", 18) = 18 executing program [pid 5807] memfd_create("syzkaller", 0) = 3 [pid 5807] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f21c1c00000 [ 181.365365][ T13] ===================================================== [ 181.372718][ T13] BUG: KMSAN: uninit-value in rw_aux_tree_set+0x4d2/0x580 [ 181.380065][ T13] rw_aux_tree_set+0x4d2/0x580 [ 181.385211][ T13] rw_aux_tree_insert_entry+0x6c3/0x970 [ 181.390983][ T13] bch2_bset_fix_lookup_table+0xecc/0x13e0 [ 181.397137][ T13] bch2_bset_insert+0x1621/0x19f0 [ 181.402482][ T13] bch2_btree_bset_insert_key+0xf4e/0x2b60 [ 181.408469][ T13] bch2_btree_insert_key_leaf+0x276/0x1050 [ 181.414639][ T13] __bch2_trans_commit+0xaf5e/0xd190 [ 181.420106][ T13] btree_interior_update_work+0x2080/0x4870 [ 181.426327][ T13] process_scheduled_works+0xae0/0x1c40 [ 181.432086][ T13] worker_thread+0xea7/0x14f0 [ 181.437075][ T13] kthread+0x3e2/0x540 [ 181.441304][ T13] ret_from_fork+0x6d/0x90 [ 181.446001][ T13] ret_from_fork_asm+0x1a/0x30 [ 181.450967][ T13] [ 181.453570][ T13] Uninit was created at: [ 181.458036][ T13] ___kmalloc_large_node+0x22c/0x370 [ 181.463608][ T13] __kmalloc_large_node_noprof+0x3f/0x1e0 [ 181.469529][ T13] __kmalloc_node_noprof+0x9d6/0xf50 [ 181.475172][ T13] __kvmalloc_node_noprof+0xc0/0x2d0 [ 181.480663][ T13] __bch2_btree_node_mem_alloc+0x2be/0xa80 [ 181.486795][ T13] bch2_fs_btree_cache_init+0x4e4/0xb50 [ 181.492734][ T13] bch2_fs_open+0x4d3a/0x5b40 [ 181.497615][ T13] bch2_fs_get_tree+0x983/0x22d0 [ 181.502852][ T13] vfs_get_tree+0xb1/0x5a0 [ 181.507442][ T13] do_new_mount+0x71f/0x15e0 [ 181.513240][ T13] path_mount+0x742/0x1f10 [ 181.517832][ T13] __se_sys_mount+0x722/0x810 [ 181.522800][ T13] __x64_sys_mount+0xe4/0x150 [ 181.527663][ T13] x64_sys_call+0x39bf/0x3c30 [ 181.532693][ T13] do_syscall_64+0xcd/0x1e0 [ 181.537388][ T13] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 181.543598][ T13] [ 181.546036][ T13] CPU: 0 UID: 0 PID: 13 Comm: kworker/u8:1 Not tainted 6.12.0-syzkaller-05676-gfc39fb56917b #0 [ 181.556665][ T13] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 181.566994][ T13] Workqueue: btree_update btree_interior_update_work [ 181.574012][ T13] ===================================================== [ 181.581119][ T13] Disabling lock debugging due to kernel taint [ 181.587492][ T13] Kernel panic - not syncing: kmsan.panic set ... [ 181.594044][ T13] CPU: 0 UID: 0 PID: 13 Comm: kworker/u8:1 Tainted: G B 6.12.0-syzkaller-05676-gfc39fb56917b #0 [ 181.606062][ T13] Tainted: [B]=BAD_PAGE [ 181.610324][ T13] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 181.620533][ T13] Workqueue: btree_update btree_interior_update_work [ 181.627457][ T13] Call Trace: [ 181.630855][ T13] [ 181.633907][ T13] dump_stack_lvl+0x216/0x2d0 [ 181.638763][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.644797][ T13] dump_stack+0x1e/0x30 [ 181.649127][ T13] panic+0x4e2/0xcf0 [ 181.653189][ T13] ? kmsan_get_metadata+0xc1/0x1c0 [ 181.658526][ T13] kmsan_report+0x2c7/0x2d0 [ 181.663242][ T13] ? __msan_warning+0x95/0x120 [ 181.668202][ T13] ? rw_aux_tree_set+0x4d2/0x580 [ 181.673354][ T13] ? rw_aux_tree_insert_entry+0x6c3/0x970 [ 181.679297][ T13] ? bch2_bset_fix_lookup_table+0xecc/0x13e0 [ 181.685519][ T13] ? bch2_bset_insert+0x1621/0x19f0 [ 181.690931][ T13] ? bch2_btree_bset_insert_key+0xf4e/0x2b60 [ 181.697101][ T13] ? bch2_btree_insert_key_leaf+0x276/0x1050 [ 181.703268][ T13] ? __bch2_trans_commit+0xaf5e/0xd190 [ 181.708988][ T13] ? btree_interior_update_work+0x2080/0x4870 [ 181.715271][ T13] ? process_scheduled_works+0xae0/0x1c40 [ 181.721216][ T13] ? worker_thread+0xea7/0x14f0 [ 181.726271][ T13] ? kthread+0x3e2/0x540 [ 181.730672][ T13] ? ret_from_fork+0x6d/0x90 [ 181.735440][ T13] ? ret_from_fork_asm+0x1a/0x30 [ 181.740580][ T13] ? bch2_btree_bset_insert_key+0xf4e/0x2b60 [ 181.746743][ T13] ? bch2_btree_insert_key_leaf+0x276/0x1050 [ 181.752921][ T13] ? __bch2_trans_commit+0xaf5e/0xd190 [ 181.758556][ T13] ? btree_interior_update_work+0x2080/0x4870 [ 181.764850][ T13] ? process_scheduled_works+0xae0/0x1c40 [ 181.770788][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 181.776205][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.782223][ T13] ? rw_aux_tree_set+0x3f/0x580 [ 181.787292][ T13] ? filter_irq_stacks+0x164/0x1a0 [ 181.792590][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 181.797992][ T13] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 181.804524][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 181.809934][ T13] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.815960][ T13] __msan_warning+0x95/0x120 [ 181.820736][ T13] rw_aux_tree_set+0x4d2/0x580 [ 181.825720][ T13] ? bset_aux_tree_verify+0x44d/0x4a0 [ 181.831323][ T13] rw_aux_tree_insert_entry+0x6c3/0x970 [ 181.837116][ T13] bch2_bset_fix_lookup_table+0xecc/0x13e0 [ 181.843147][ T13] ? bch2_bkey_pack_key+0x1745/0x1860 [ 181.848729][ T13] bch2_bset_insert+0x1621/0x19f0 [ 181.853974][ T13] ? kmsan_get_metadata+0x13e/0x1c0 [ 181.859410][ T13] bch2_btree_bset_insert_key+0xf4e/0x2b60 [ 181.865453][ T13] bch2_btree_insert_key_leaf+0x276/0x1050 [ 181.871478][ T13] __bch2_trans_commit+0xaf5e/0xd190 [ 181.877012][ T13] btree_interior_update_work+0x2080/0x4870 [ 181.883178][ T13] ? __pfx_btree_interior_update_work+0x10/0x10 [ 181.889645][ T13] process_scheduled_works+0xae0/0x1c40 [ 181.895448][ T13] worker_thread+0xea7/0x14f0 [ 181.900361][ T13] kthread+0x3e2/0x540 [ 181.904596][ T13] ? __pfx_worker_thread+0x10/0x10 [ 181.909930][ T13] ? __pfx_kthread+0x10/0x10 [ 181.914683][ T13] ret_from_fork+0x6d/0x90 [ 181.919282][ T13] ? __pfx_kthread+0x10/0x10 [ 181.924036][ T13] ret_from_fork_asm+0x1a/0x30 [ 181.929021][ T13] [ 181.932367][ T13] Kernel Offset: disabled [ 181.936760][ T13] Rebooting in 86400 seconds..