===================================================== 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] xlog_force_lsn+0x952/0xbf0 fs/xfs/xfs_log.c:3344 xfs_log_force_seq+0x235/0x6d0 fs/xfs/xfs_log.c:3409 xfs_fsync_flush_log fs/xfs/xfs_file.c:126 [inline] xfs_file_fsync+0x76a/0xfe0 fs/xfs/xfs_file.c:178 vfs_fsync_range+0x1fd/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2452 [inline] iomap_dio_complete+0xd2c/0xef0 fs/iomap/direct-io.c:128 iomap_dio_rw+0x134/0x170 fs/iomap/direct-io.c:687 xfs_file_dio_write_aligned+0x30b/0x540 fs/xfs/xfs_file.c:543 xfs_file_dio_write fs/xfs/xfs_file.c:655 [inline] xfs_file_write_iter+0x867/0x920 fs/xfs/xfs_file.c:797 do_iter_write+0xc70/0x1310 fs/read_write.c:861 vfs_iter_write+0x88/0xe0 fs/read_write.c:902 iter_file_splice_write+0xcb8/0x1830 fs/splice.c:778 do_splice_from fs/splice.c:856 [inline] direct_splice_actor+0x130/0x1e0 fs/splice.c:1022 splice_direct_to_actor+0x883/0x1180 fs/splice.c:977 do_splice_direct+0x256/0x3d0 fs/splice.c:1065 do_sendfile+0xbe9/0x1ba0 fs/read_write.c:1255 __do_compat_sys_sendfile fs/read_write.c:1344 [inline] __se_compat_sys_sendfile+0x251/0x2f0 fs/read_write.c:1327 __ia32_compat_sys_sendfile+0xbd/0x110 fs/read_write.c:1327 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 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_commit+0x2f/0x40 fs/xfs/xfs_trans.c:1049 xfs_create+0x17b7/0x2100 fs/xfs/xfs_inode.c:1070 xfs_generic_create+0x4c2/0x14b0 fs/xfs/xfs_iops.c:199 xfs_vn_create+0x4b/0x60 fs/xfs/xfs_iops.c:275 lookup_open fs/namei.c:3416 [inline] open_last_lookups fs/namei.c:3484 [inline] path_openat+0x2d2a/0x5b40 fs/namei.c:3712 do_filp_open+0x24d/0x660 fs/namei.c:3742 do_sys_openat2+0x1f0/0x910 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_compat_sys_open fs/open.c:1415 [inline] __se_compat_sys_open fs/open.c:1413 [inline] __ia32_compat_sys_open+0x279/0x2f0 fs/open.c:1413 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: 1 PID: 5303 Comm: syz-executor.4 Not tainted 6.3.0-rc3-syzkaller-g90ea0df61c98 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 =====================================================