===================================================== 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+0x28f/0x400 crypto/shash.c:121 crc32c+0xd9/0x1a0 lib/libcrc32c.c:47 xlog_cksum fs/xfs/xfs_log.c:1867 [inline] xlog_sync+0xf66/0x11e0 fs/xfs/xfs_log.c:2111 xlog_state_release_iclog+0x3d0/0x7e0 fs/xfs/xfs_log.c:619 xlog_force_iclog fs/xfs/xfs_log.c:888 [inline] xlog_force_and_check_iclog fs/xfs/xfs_log.c:3172 [inline] xfs_log_force+0x9d3/0xf20 fs/xfs/xfs_log.c:3249 xfs_fs_sync_fs+0xa0/0x420 fs/xfs/xfs_super.c:769 sync_filesystem+0x2d3/0x3b0 fs/sync.c:66 generic_shutdown_super+0x8b/0x5c0 fs/super.c:473 kill_block_super+0x91/0x180 fs/super.c:1398 deactivate_locked_super+0xc0/0x150 fs/super.c:331 deactivate_super+0x14b/0x160 fs/super.c:362 cleanup_mnt+0x6c4/0x730 fs/namespace.c:1177 __cleanup_mnt+0x22/0x30 fs/namespace.c:1184 task_work_run+0x263/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x2a9/0x320 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x16e/0x230 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x2a/0x140 kernel/entry/common.c:296 __do_fast_syscall_32+0xb1/0x100 arch/x86/entry/common.c:181 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was stored to memory at: xlog_write_iovec fs/xfs/xfs_log.c:2259 [inline] xlog_write_full fs/xfs/xfs_log.c:2294 [inline] xlog_write+0x1c3c/0x21a0 fs/xfs/xfs_log.c:2563 xlog_cil_write_chain fs/xfs/xfs_log_cil.c:973 [inline] xlog_cil_push_work+0x30c7/0x4430 fs/xfs/xfs_log_cil.c:1318 process_one_work+0xb0d/0x1410 kernel/workqueue.c:2390 worker_thread+0x107e/0x1d60 kernel/workqueue.c:2537 kthread+0x31f/0x430 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Uninit was created at: slab_post_alloc_hook+0x12d/0xb60 mm/slab.h:774 slab_alloc_node mm/slub.c:3452 [inline] __kmem_cache_alloc_node+0x518/0x920 mm/slub.c:3491 __do_kmalloc_node mm/slab_common.c:966 [inline] __kmalloc+0x121/0x3c0 mm/slab_common.c:980 kmalloc include/linux/slab.h:584 [inline] xlog_kvmalloc fs/xfs/xfs_log_priv.h:700 [inline] xlog_cil_alloc_shadow_bufs fs/xfs/xfs_log_cil.c:338 [inline] xlog_cil_commit+0x493/0x4c80 fs/xfs/xfs_log_cil.c:1629 __xfs_trans_commit+0x78e/0x13d0 fs/xfs/xfs_trans.c:1005 xfs_trans_roll+0x10a/0x6e0 fs/xfs/xfs_trans.c:1153 xfs_defer_trans_roll+0x10f/0x590 fs/xfs/libxfs/xfs_defer.c:366 xfs_defer_finish_noroll+0x49d/0x2d40 fs/xfs/libxfs/xfs_defer.c:551 __xfs_trans_commit+0x979/0x13d0 fs/xfs/xfs_trans.c:970 xfs_trans_commit+0x2f/0x40 fs/xfs/xfs_trans.c:1049 xfs_attr_set+0x1f80/0x2100 fs/xfs/libxfs/xfs_attr.c:1083 xfs_attr_change fs/xfs/xfs_xattr.c:106 [inline] xfs_xattr_set+0x20f/0x360 fs/xfs/xfs_xattr.c:151 __vfs_setxattr+0x7aa/0x8b0 fs/xattr.c:203 __vfs_setxattr_noperm+0x24f/0xa30 fs/xattr.c:237 __vfs_setxattr_locked+0x441/0x480 fs/xattr.c:298 vfs_setxattr+0x2a5/0x680 fs/xattr.c:324 do_setxattr fs/xattr.c:609 [inline] setxattr+0x4ee/0x5e0 fs/xattr.c:632 path_setxattr+0x202/0x3f0 fs/xattr.c:651 __do_sys_lsetxattr fs/xattr.c:674 [inline] __se_sys_lsetxattr fs/xattr.c:670 [inline] __ia32_sys_lsetxattr+0xed/0x170 fs/xattr.c:670 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 5020 Comm: syz-executor.0 Not tainted 6.3.0-rc3-syzkaller-g90ea0df61c98 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 =====================================================