XFS (loop2): metadata I/O error in "xfs_btree_read_buf_block+0x28e/0x460" at daddr 0x14 len 4 error 74 ===================================================== BUG: KMSAN: uninit-value in crc32_body lib/crc32.c:112 [inline] BUG: KMSAN: uninit-value in crc32_le_generic lib/crc32.c:179 [inline] BUG: KMSAN: uninit-value in __crc32c_le_base+0x467/0xd80 lib/crc32.c:201 crc32_body lib/crc32.c:112 [inline] crc32_le_generic lib/crc32.c:179 [inline] __crc32c_le_base+0x467/0xd80 lib/crc32.c:201 chksum_update+0x5b/0xd0 crypto/crc32c_generic.c:88 crypto_shash_update+0x75/0xa0 crypto/shash.c:74 crc32c+0xba/0x170 lib/libcrc32c.c:47 xlog_cksum fs/xfs/xfs_log.c:1833 [inline] xlog_sync+0xf66/0x11e0 fs/xfs/xfs_log.c:2078 xlog_state_release_iclog+0x3d0/0x7e0 fs/xfs/xfs_log.c:619 xlog_force_iclog fs/xfs/xfs_log.c:854 [inline] xlog_force_and_check_iclog fs/xfs/xfs_log.c:3139 [inline] xfs_log_force+0x9d3/0xf20 fs/xfs/xfs_log.c:3216 xlog_force_shutdown+0x111/0x4c0 fs/xfs/xfs_log.c:3748 xfs_do_force_shutdown+0x35f/0x7f0 fs/xfs/xfs_fsops.c:537 xfs_defer_finish_noroll+0x26bd/0x2f30 fs/xfs/libxfs/xfs_defer.c:582 xfs_defer_finish+0x38/0x2b0 fs/xfs/libxfs/xfs_defer.c:599 xfs_itruncate_extents_flags+0x3f0/0xc00 fs/xfs/xfs_inode.c:1383 xfs_itruncate_extents fs/xfs/xfs_inode.h:559 [inline] xfs_setattr_size+0xc08/0x12a0 fs/xfs/xfs_iops.c:945 xfs_vn_setattr_size+0x292/0x470 fs/xfs/xfs_iops.c:996 xfs_vn_setattr+0x379/0x630 fs/xfs/xfs_iops.c:1021 notify_change+0x19fd/0x1af0 fs/attr.c:499 do_truncate+0x22a/0x2a0 fs/open.c:66 handle_truncate fs/namei.c:3280 [inline] do_open fs/namei.c:3626 [inline] path_openat+0x50ad/0x5ac0 fs/namei.c:3779 do_filp_open+0x20d/0x590 fs/namei.c:3806 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_open fs/open.c:1427 [inline] __se_sys_open fs/open.c:1423 [inline] __x64_sys_open+0x275/0x2d0 fs/open.c:1423 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was stored to memory at: xlog_write_iovec fs/xfs/xfs_log.c:2226 [inline] xlog_write_full fs/xfs/xfs_log.c:2261 [inline] xlog_write+0x1bcf/0x2110 fs/xfs/xfs_log.c:2530 xlog_cil_write_chain fs/xfs/xfs_log_cil.c:918 [inline] xlog_cil_push_work+0x2db7/0x3ff0 fs/xfs/xfs_log_cil.c:1263 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x104e/0x1e70 kernel/workqueue.c:2706 worker_thread+0xf45/0x1490 kernel/workqueue.c:2787 kthread+0x3ed/0x540 kernel/kthread.c:388 ret_from_fork+0x66/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Uninit was created at: slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] __kmem_cache_alloc_node+0x5c9/0x970 mm/slub.c:3517 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc+0x121/0x3c0 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] xlog_kvmalloc fs/xfs/xfs_log_priv.h:704 [inline] xlog_cil_alloc_shadow_bufs fs/xfs/xfs_log_cil.c:343 [inline] xlog_cil_commit+0x44a/0x4850 fs/xfs/xfs_log_cil.c:1574 __xfs_trans_commit+0x777/0x16e0 fs/xfs/xfs_trans.c:1017 xfs_trans_roll+0x10a/0x6e0 fs/xfs/xfs_trans.c:1165 xfs_defer_trans_roll+0x102/0x570 fs/xfs/libxfs/xfs_defer.c:373 xfs_defer_finish_noroll+0x4c1/0x2f30 fs/xfs/libxfs/xfs_defer.c:560 xfs_defer_finish+0x38/0x2b0 fs/xfs/libxfs/xfs_defer.c:599 xfs_itruncate_extents_flags+0x3f0/0xc00 fs/xfs/xfs_inode.c:1383 xfs_itruncate_extents fs/xfs/xfs_inode.h:559 [inline] xfs_setattr_size+0xc08/0x12a0 fs/xfs/xfs_iops.c:945 xfs_vn_setattr_size+0x292/0x470 fs/xfs/xfs_iops.c:996 xfs_vn_setattr+0x379/0x630 fs/xfs/xfs_iops.c:1021 notify_change+0x19fd/0x1af0 fs/attr.c:499 do_truncate+0x22a/0x2a0 fs/open.c:66 handle_truncate fs/namei.c:3280 [inline] do_open fs/namei.c:3626 [inline] path_openat+0x50ad/0x5ac0 fs/namei.c:3779 do_filp_open+0x20d/0x590 fs/namei.c:3806 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_open fs/open.c:1427 [inline] __se_sys_open fs/open.c:1423 [inline] __x64_sys_open+0x275/0x2d0 fs/open.c:1423 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 1 PID: 6097 Comm: syz-executor.2 Not tainted 6.7.0-syzkaller-00562-g9f8413c4a66f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 =====================================================