===================================================== BUG: KMSAN: uninit-value in __writepoint_find include/linux/rcupdate.h:-1 [inline] BUG: KMSAN: uninit-value in writepoint_find fs/bcachefs/alloc_foreground.c:1248 [inline] BUG: KMSAN: uninit-value in bch2_alloc_sectors_start_trans+0x44a/0x32d0 fs/bcachefs/alloc_foreground.c:1348 __writepoint_find include/linux/rcupdate.h:-1 [inline] writepoint_find fs/bcachefs/alloc_foreground.c:1248 [inline] bch2_alloc_sectors_start_trans+0x44a/0x32d0 fs/bcachefs/alloc_foreground.c:1348 __bch2_write+0x7bd/0x6a10 fs/bcachefs/io_write.c:1494 bch2_write+0xdfe/0x1b30 fs/bcachefs/io_write.c:1681 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:494 [inline] bch2_writepages+0x24a/0x3c0 fs/bcachefs/fs-io-buffered.c:677 do_writepages+0x427/0xc30 mm/page-writeback.c:2656 __writeback_single_inode+0x103/0x1290 fs/fs-writeback.c:1680 writeback_sb_inodes+0xac4/0x1c90 fs/fs-writeback.c:1976 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x40b/0x1970 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xc1d/0x1e80 kernel/workqueue.c:3319 worker_thread+0xea3/0x1500 kernel/workqueue.c:3400 kthread+0x6ce/0xf10 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Uninit was stored to memory at: bch2_writepage_io_alloc fs/bcachefs/fs-io-buffered.c:522 [inline] __bch2_writepage+0x3754/0x3ab0 fs/bcachefs/fs-io-buffered.c:644 write_cache_pages+0xc9/0x280 mm/page-writeback.c:2613 bch2_writepages+0x11f/0x3c0 fs/bcachefs/fs-io-buffered.c:675 do_writepages+0x427/0xc30 mm/page-writeback.c:2656 __writeback_single_inode+0x103/0x1290 fs/fs-writeback.c:1680 writeback_sb_inodes+0xac4/0x1c90 fs/fs-writeback.c:1976 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x40b/0x1970 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xc1d/0x1e80 kernel/workqueue.c:3319 worker_thread+0xea3/0x1500 kernel/workqueue.c:3400 kthread+0x6ce/0xf10 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Uninit was created at: __alloc_frozen_pages_noprof+0x6a0/0xe30 mm/page_alloc.c:4957 alloc_pages_mpol+0x4cd/0x890 mm/mempolicy.c:2301 alloc_frozen_pages_noprof+0x1bf/0x1e0 mm/mempolicy.c:2372 alloc_slab_page mm/slub.c:2459 [inline] allocate_slab+0x23a/0x1110 mm/slub.c:2623 new_slab mm/slub.c:2676 [inline] ___slab_alloc+0x128a/0x3550 mm/slub.c:3862 __slab_alloc mm/slub.c:3952 [inline] __slab_alloc_node mm/slub.c:4027 [inline] slab_alloc_node mm/slub.c:4188 [inline] kmem_cache_alloc_lru_noprof+0x866/0xe30 mm/slub.c:4219 __bch2_new_inode+0x98/0x450 fs/bcachefs/fs.c:438 bch2_new_inode fs/bcachefs/fs.c:464 [inline] bch2_inode_hash_init_insert+0x7d/0x3a0 fs/bcachefs/fs.c:484 bch2_vfs_inode_get+0x565/0x6f0 fs/bcachefs/fs.c:507 bch2_fs_get_tree+0x1f53/0x25e0 fs/bcachefs/fs.c:2257 vfs_get_tree+0xb1/0x5a0 fs/super.c:1759 do_new_mount+0x71f/0x15e0 fs/namespace.c:3881 path_mount+0x742/0x1f10 fs/namespace.c:4208 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4409 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4409 x64_sys_call+0xed5/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 3569 Comm: kworker/u8:10 Not tainted 6.15.0-rc2-syzkaller-00048-gc62f4b82d571 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-bcachefs-5) =====================================================