bcachefs (loop2): shutting down bcachefs (loop2): going read-only bcachefs (loop2): finished waiting for writes to stop bcachefs (loop2): flushing journal and stopping allocators, journal seq 11 ===================================================== BUG: KMSAN: uninit-value in bkey_unpack_pos fs/bcachefs/bkey.h:456 [inline] BUG: KMSAN: uninit-value in rw_aux_tree_set+0x4d8/0x580 fs/bcachefs/bset.c:494 bkey_unpack_pos fs/bcachefs/bkey.h:456 [inline] rw_aux_tree_set+0x4d8/0x580 fs/bcachefs/bset.c:494 rw_aux_tree_insert_entry+0x74e/0xa30 fs/bcachefs/bset.c:913 bch2_bset_fix_lookup_table+0xf25/0x1470 bch2_bset_insert+0x1641/0x1a10 fs/bcachefs/bset.c:1015 bch2_btree_bset_insert_key+0xf5d/0x2ba0 fs/bcachefs/btree_trans_commit.c:217 bch2_btree_insert_key_leaf+0x27c/0x1050 fs/bcachefs/btree_trans_commit.c:300 bch2_trans_commit_write_locked fs/bcachefs/btree_trans_commit.c:790 [inline] do_bch2_trans_commit fs/bcachefs/btree_trans_commit.c:866 [inline] __bch2_trans_commit+0xbc5d/0xd3c0 fs/bcachefs/btree_trans_commit.c:1070 bch2_trans_commit fs/bcachefs/btree_update.h:191 [inline] btree_key_cache_flush_pos fs/bcachefs/btree_key_cache.c:459 [inline] bch2_btree_key_cache_journal_flush+0x11f9/0x19f0 fs/bcachefs/btree_key_cache.c:539 journal_flush_pins+0x1335/0x1fa0 fs/bcachefs/journal_reclaim.c:589 journal_flush_pins_or_still_flushing fs/bcachefs/journal_reclaim.c:861 [inline] journal_flush_done+0x157/0xe60 fs/bcachefs/journal_reclaim.c:879 bch2_journal_flush_pins+0xdb/0x3b0 fs/bcachefs/journal_reclaim.c:911 bch2_journal_flush_all_pins fs/bcachefs/journal_reclaim.h:76 [inline] __bch2_fs_read_only+0x210/0xb40 fs/bcachefs/super.c:276 bch2_fs_read_only+0xef3/0x1810 fs/bcachefs/super.c:356 __bch2_fs_stop+0xf6/0xee0 fs/bcachefs/super.c:634 bch2_put_super+0x3c/0x50 fs/bcachefs/fs.c:2083 generic_shutdown_super+0x197/0x4c0 fs/super.c:642 bch2_kill_sb+0x3d/0x70 fs/bcachefs/fs.c:2312 deactivate_locked_super+0xe0/0x3f0 fs/super.c:473 deactivate_super+0x14f/0x160 fs/super.c:506 cleanup_mnt+0x6c2/0x740 fs/namespace.c:1435 __cleanup_mnt+0x22/0x30 fs/namespace.c:1442 task_work_run+0x268/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbf/0x160 kernel/entry/common.c:218 do_syscall_64+0xda/0x1e0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: ___kmalloc_large_node+0x365/0x420 mm/slub.c:4273 __kmalloc_large_node_noprof+0x3f/0x1e0 mm/slub.c:4290 __do_kmalloc_node mm/slub.c:4306 [inline] __kvmalloc_node_noprof+0xa2/0x13d0 mm/slub.c:5003 btree_bounce_alloc fs/bcachefs/btree_io.c:123 [inline] btree_node_sort+0x793/0x1d80 fs/bcachefs/btree_io.c:322 bch2_btree_post_write_cleanup+0x1b0/0xfa0 fs/bcachefs/btree_io.c:2293 bch2_btree_node_write_trans+0x27f/0x8a0 fs/bcachefs/btree_io.c:2362 btree_node_write_if_need fs/bcachefs/btree_io.h:153 [inline] __btree_node_flush+0x5e6/0x660 fs/bcachefs/btree_trans_commit.c:252 bch2_btree_node_flush0+0x35/0x60 fs/bcachefs/btree_trans_commit.c:261 journal_flush_pins+0x1335/0x1fa0 fs/bcachefs/journal_reclaim.c:589 __bch2_journal_reclaim+0xdab/0x1680 fs/bcachefs/journal_reclaim.c:722 bch2_journal_reclaim_thread+0x17f/0x750 fs/bcachefs/journal_reclaim.c:764 kthread+0x6b9/0xef0 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 CPU: 0 UID: 0 PID: 5796 Comm: syz-executor Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================