bcachefs (loop4): stripes_read... done bcachefs (loop4): snapshots_read... done bcachefs (loop4): scanning for old btree nodes: min_version 0.24: unwritten_extents bcachefs (loop4): going read-write ===================================================== BUG: KMSAN: uninit-value in __extent_entry_type fs/bcachefs/extents.h:53 [inline] BUG: KMSAN: uninit-value in bch2_bkey_ptrs_validate+0x9f2/0x3840 fs/bcachefs/extents.c:1291 __extent_entry_type fs/bcachefs/extents.h:53 [inline] bch2_bkey_ptrs_validate+0x9f2/0x3840 fs/bcachefs/extents.c:1291 bch2_bkey_val_validate+0x357/0x530 fs/bcachefs/bkey_methods.c:143 btree_node_bkey_val_validate fs/bcachefs/btree_io.c:838 [inline] bset_key_validate fs/bcachefs/btree_io.c:859 [inline] validate_bset_keys+0x2048/0x22b0 fs/bcachefs/btree_io.c:942 validate_bset_for_write+0x2b3/0x410 fs/bcachefs/btree_io.c:1987 __bch2_btree_node_write+0x5436/0x6870 fs/bcachefs/btree_io.c:2197 bch2_btree_node_write_trans+0xd7/0x890 fs/bcachefs/btree_io.c:2357 bch2_btree_node_rewrite+0x1529/0x1ae0 fs/bcachefs/btree_update_interior.c:2175 bch2_move_btree+0xc3f/0x1410 fs/bcachefs/move.c:923 bch2_scan_old_btree_nodes+0x15f/0x580 fs/bcachefs/move.c:1053 bch2_fs_recovery+0x5ccf/0x6230 fs/bcachefs/recovery.c:1050 bch2_fs_start+0x7ca/0xc20 fs/bcachefs/super.c:1041 bch2_fs_get_tree+0x1564/0x24e0 fs/bcachefs/fs.c:2203 vfs_get_tree+0xb1/0x5a0 fs/super.c:1814 do_new_mount+0x71f/0x15e0 fs/namespace.c:3560 path_mount+0x742/0x1f10 fs/namespace.c:3887 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4088 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4088 x64_sys_call+0x39bf/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: memcpy_u64s_small fs/bcachefs/util.h:416 [inline] bkey_p_copy fs/bcachefs/bkey.h:40 [inline] bch2_sort_keys_keep_unwritten_whiteouts+0x10e3/0x1840 fs/bcachefs/bkey_sort.c:187 __bch2_btree_node_write+0x3b3f/0x6870 fs/bcachefs/btree_io.c:2140 bch2_btree_node_write_trans+0xd7/0x890 fs/bcachefs/btree_io.c:2357 bch2_btree_node_rewrite+0x1529/0x1ae0 fs/bcachefs/btree_update_interior.c:2175 bch2_move_btree+0xc3f/0x1410 fs/bcachefs/move.c:923 bch2_scan_old_btree_nodes+0x15f/0x580 fs/bcachefs/move.c:1053 bch2_fs_recovery+0x5ccf/0x6230 fs/bcachefs/recovery.c:1050 bch2_fs_start+0x7ca/0xc20 fs/bcachefs/super.c:1041 bch2_fs_get_tree+0x1564/0x24e0 fs/bcachefs/fs.c:2203 vfs_get_tree+0xb1/0x5a0 fs/super.c:1814 do_new_mount+0x71f/0x15e0 fs/namespace.c:3560 path_mount+0x742/0x1f10 fs/namespace.c:3887 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4088 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4088 x64_sys_call+0x39bf/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: ___kmalloc_large_node+0x22c/0x370 mm/slub.c:4249 __kmalloc_large_node_noprof+0x3f/0x1e0 mm/slub.c:4266 __do_kmalloc_node mm/slub.c:4282 [inline] __kmalloc_node_noprof+0xc96/0x1250 mm/slub.c:4300 __kvmalloc_node_noprof+0xc0/0x2d0 mm/util.c:662 btree_node_data_alloc fs/bcachefs/btree_cache.c:156 [inline] __bch2_btree_node_mem_alloc+0x2be/0xa80 fs/bcachefs/btree_cache.c:201 bch2_fs_btree_cache_init+0x4f0/0xb60 fs/bcachefs/btree_cache.c:655 bch2_fs_alloc fs/bcachefs/super.c:919 [inline] bch2_fs_open+0x4d84/0x5ba0 fs/bcachefs/super.c:2064 bch2_fs_get_tree+0x98a/0x24e0 fs/bcachefs/fs.c:2190 vfs_get_tree+0xb1/0x5a0 fs/super.c:1814 do_new_mount+0x71f/0x15e0 fs/namespace.c:3560 path_mount+0x742/0x1f10 fs/namespace.c:3887 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4088 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4088 x64_sys_call+0x39bf/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 6140 Comm: syz.4.46 Not tainted 6.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================