===================================================== 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_writepage+0x197a/0x3c90 fs/bcachefs/fs-io-buffered.c:633 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 bch2_write_invalidate_inode_pages_range+0xae/0x220 fs/bcachefs/fs-io-pagecache.c:61 bchfs_fcollapse_finsert+0x303/0x700 fs/bcachefs/fs-io.c:614 bch2_fallocate_dispatch+0x404/0x740 fs/bcachefs/fs-io.c:-1 vfs_fallocate+0x949/0xaa0 fs/open.c:342 ksys_fallocate fs/open.c:366 [inline] __do_sys_fallocate fs/open.c:371 [inline] __se_sys_fallocate fs/open.c:369 [inline] __x64_sys_fallocate+0x14f/0x290 fs/open.c:369 x64_sys_call+0x2cff/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:286 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 bch2_write_invalidate_inode_pages_range+0xae/0x220 fs/bcachefs/fs-io-pagecache.c:61 bchfs_fcollapse_finsert+0x303/0x700 fs/bcachefs/fs-io.c:614 bch2_fallocate_dispatch+0x404/0x740 fs/bcachefs/fs-io.c:-1 vfs_fallocate+0x949/0xaa0 fs/open.c:342 ksys_fallocate fs/open.c:366 [inline] __do_sys_fallocate fs/open.c:371 [inline] __se_sys_fallocate fs/open.c:369 [inline] __x64_sys_fallocate+0x14f/0x290 fs/open.c:369 x64_sys_call+0x2cff/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:286 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: __alloc_frozen_pages_noprof+0x689/0xf00 mm/page_alloc.c:5171 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2416 alloc_frozen_pages_noprof+0xf7/0x200 mm/mempolicy.c:2487 alloc_slab_page mm/slub.c:2492 [inline] allocate_slab+0x24d/0x1220 mm/slub.c:2660 new_slab mm/slub.c:2714 [inline] ___slab_alloc+0xff3/0x3470 mm/slub.c:3901 __slab_alloc mm/slub.c:3992 [inline] __slab_alloc_node mm/slub.c:4067 [inline] slab_alloc_node mm/slub.c:4228 [inline] kmem_cache_alloc_lru_noprof+0x922/0xed0 mm/slub.c:4259 __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_vfs_inode_get+0x565/0x710 fs/bcachefs/fs.c:524 bch2_fs_get_tree+0x1f68/0x2b50 fs/bcachefs/fs.c:2572 vfs_get_tree+0xb0/0x5c0 fs/super.c:1815 do_new_mount+0x733/0x1420 fs/namespace.c:3808 path_mount+0x6db/0x1e90 fs/namespace.c:4123 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount+0x6eb/0x7d0 fs/namespace.c:4324 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4324 x64_sys_call+0x3604/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:166 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: 6791 Comm: syz.5.222 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 =====================================================