bcachefs (loop3): done starting filesystem ===================================================== BUG: KMSAN: uninit-value in __writepoint_find fs/bcachefs/alloc_foreground.c:1091 [inline] BUG: KMSAN: uninit-value in writepoint_find fs/bcachefs/alloc_foreground.c:1165 [inline] BUG: KMSAN: uninit-value in bch2_alloc_sectors_start_trans+0x750/0x3560 fs/bcachefs/alloc_foreground.c:1273 __writepoint_find fs/bcachefs/alloc_foreground.c:1091 [inline] writepoint_find fs/bcachefs/alloc_foreground.c:1165 [inline] bch2_alloc_sectors_start_trans+0x750/0x3560 fs/bcachefs/alloc_foreground.c:1273 __bch2_write+0x7ff/0x6bc0 fs/bcachefs/io_write.c:1533 bch2_write+0xcc5/0x1860 fs/bcachefs/io_write.c:1722 closure_queue include/linux/closure.h:270 [inline] closure_call include/linux/closure.h:432 [inline] bch2_writepage_do_io fs/bcachefs/fs-io-buffered.c:486 [inline] bch2_writepages+0x26b/0x570 fs/bcachefs/fs-io-buffered.c:668 do_writepages+0x3f2/0x860 mm/page-writeback.c:2634 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] filemap_write_and_wait_range+0x5bb/0x840 mm/filemap.c:691 bchfs_truncate+0xc85/0x1550 fs/bcachefs/fs-io.c:-1 bch2_setattr+0x298/0x300 fs/bcachefs/fs.c:1241 notify_change+0x1990/0x1aa0 fs/attr.c:552 do_truncate+0x28f/0x310 fs/open.c:68 vfs_truncate+0x921/0x9d0 fs/open.c:118 do_sys_truncate+0x103/0x240 fs/open.c:141 __do_sys_truncate fs/open.c:153 [inline] __se_sys_truncate fs/open.c:151 [inline] __x64_sys_truncate+0x74/0xb0 fs/open.c:151 x64_sys_call+0x1f47/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:77 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: bch2_writepage_io_alloc fs/bcachefs/fs-io-buffered.c:514 [inline] __bch2_writepage+0x2b40/0x3c90 fs/bcachefs/fs-io-buffered.c:636 write_cache_pages+0xc5/0x270 mm/page-writeback.c:2612 bch2_writepages+0x153/0x570 fs/bcachefs/fs-io-buffered.c:666 do_writepages+0x3f2/0x860 mm/page-writeback.c:2634 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] filemap_write_and_wait_range+0x5bb/0x840 mm/filemap.c:691 bchfs_truncate+0xc85/0x1550 fs/bcachefs/fs-io.c:-1 bch2_setattr+0x298/0x300 fs/bcachefs/fs.c:1241 notify_change+0x1990/0x1aa0 fs/attr.c:552 do_truncate+0x28f/0x310 fs/open.c:68 vfs_truncate+0x921/0x9d0 fs/open.c:118 do_sys_truncate+0x103/0x240 fs/open.c:141 __do_sys_truncate fs/open.c:153 [inline] __se_sys_truncate fs/open.c:151 [inline] __x64_sys_truncate+0x74/0xb0 fs/open.c:151 x64_sys_call+0x1f47/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:77 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4186 [inline] slab_alloc_node mm/slub.c:4229 [inline] kmem_cache_alloc_lru_noprof+0x822/0xed0 mm/slub.c:4248 __bch2_new_inode+0x9b/0x4b0 fs/bcachefs/fs.c:455 bch2_new_inode fs/bcachefs/fs.c:481 [inline] bch2_inode_hash_init_insert+0x82/0x3c0 fs/bcachefs/fs.c:501 bch2_lookup_trans fs/bcachefs/fs.c:691 [inline] bch2_lookup+0x1fbf/0x2540 fs/bcachefs/fs.c:719 __lookup_slow+0x560/0x760 fs/namei.c:1808 lookup_slow+0x6a/0xd0 fs/namei.c:1825 walk_component+0x444/0x650 fs/namei.c:2129 lookup_last fs/namei.c:2630 [inline] path_lookupat+0x251/0x6b0 fs/namei.c:2654 filename_lookup+0x2bd/0x800 fs/namei.c:2683 user_path_at+0x91/0x3d0 fs/namei.c:3127 do_sys_truncate+0x82/0x240 fs/open.c:139 __do_sys_truncate fs/open.c:153 [inline] __se_sys_truncate fs/open.c:151 [inline] __x64_sys_truncate+0x74/0xb0 fs/open.c:151 x64_sys_call+0x1f47/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:77 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 6675 Comm: syz.3.189 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================