===================================================== BUG: KMSAN: uninit-value in subshift lib/crypto/aes.c:149 [inline] BUG: KMSAN: uninit-value in aes_encrypt+0x15cc/0x1db0 lib/crypto/aes.c:282 subshift lib/crypto/aes.c:149 [inline] aes_encrypt+0x15cc/0x1db0 lib/crypto/aes.c:282 aesti_encrypt+0x7d/0xf0 crypto/aes_ti.c:31 crypto_ecb_crypt crypto/ecb.c:32 [inline] crypto_ecb_encrypt+0x1e7/0x380 crypto/ecb.c:49 crypto_skcipher_encrypt+0xe0/0x150 crypto/skcipher.c:653 xts_encrypt+0x3c4/0x540 crypto/xts.c:269 crypto_skcipher_encrypt+0xe0/0x150 crypto/skcipher.c:653 fscrypt_crypt_block+0x52c/0x900 fs/crypto/crypto.c:137 fscrypt_encrypt_pagecache_blocks+0x3e7/0x8b0 fs/crypto/crypto.c:198 ext4_bio_write_folio+0x122d/0x2ab0 fs/ext4/page-io.c:526 mpage_submit_folio fs/ext4/inode.c:1865 [inline] mpage_process_page_bufs+0xf16/0x1320 fs/ext4/inode.c:1978 mpage_prepare_extent_to_map+0x19c9/0x2710 fs/ext4/inode.c:2487 ext4_do_writepages+0x1c19/0x6990 fs/ext4/inode.c:2675 ext4_writepages+0x30c/0x810 fs/ext4/inode.c:2766 do_writepages+0x426/0x870 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0x1d8/0x270 mm/filemap.c:393 __filemap_fdatawrite_range mm/filemap.c:426 [inline] file_write_and_wait_range+0x202/0x3a0 mm/filemap.c:784 generic_buffers_fsync_noflush+0x84/0x3d0 fs/buffer.c:609 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x59d/0x1380 fs/ext4/fsync.c:152 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2624 [inline] ext4_buffered_write_iter+0x9a9/0xaa0 fs/ext4/file.c:305 ext4_file_write_iter+0x20f/0x36b0 do_iter_write+0x60c/0x1420 fs/read_write.c:860 vfs_writev+0x329/0x7b0 fs/read_write.c:933 do_pwritev fs/read_write.c:1030 [inline] __do_compat_sys_pwritev2 fs/read_write.c:1176 [inline] __se_compat_sys_pwritev2+0x2a8/0x490 fs/read_write.c:1168 __ia32_compat_sys_pwritev2+0x119/0x1a0 fs/read_write.c:1168 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: le128_xor include/crypto/b128ops.h:69 [inline] xts_xor_tweak+0x4ae/0xbe0 crypto/xts.c:123 xts_xor_tweak_pre crypto/xts.c:135 [inline] xts_encrypt+0x296/0x540 crypto/xts.c:268 crypto_skcipher_encrypt+0xe0/0x150 crypto/skcipher.c:653 fscrypt_crypt_block+0x52c/0x900 fs/crypto/crypto.c:137 fscrypt_encrypt_pagecache_blocks+0x3e7/0x8b0 fs/crypto/crypto.c:198 ext4_bio_write_folio+0x122d/0x2ab0 fs/ext4/page-io.c:526 mpage_submit_folio fs/ext4/inode.c:1865 [inline] mpage_process_page_bufs+0xf16/0x1320 fs/ext4/inode.c:1978 mpage_prepare_extent_to_map+0x19c9/0x2710 fs/ext4/inode.c:2487 ext4_do_writepages+0x1c19/0x6990 fs/ext4/inode.c:2675 ext4_writepages+0x30c/0x810 fs/ext4/inode.c:2766 do_writepages+0x426/0x870 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0x1d8/0x270 mm/filemap.c:393 __filemap_fdatawrite_range mm/filemap.c:426 [inline] file_write_and_wait_range+0x202/0x3a0 mm/filemap.c:784 generic_buffers_fsync_noflush+0x84/0x3d0 fs/buffer.c:609 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x59d/0x1380 fs/ext4/fsync.c:152 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2624 [inline] ext4_buffered_write_iter+0x9a9/0xaa0 fs/ext4/file.c:305 ext4_file_write_iter+0x20f/0x36b0 do_iter_write+0x60c/0x1420 fs/read_write.c:860 vfs_writev+0x329/0x7b0 fs/read_write.c:933 do_pwritev fs/read_write.c:1030 [inline] __do_compat_sys_pwritev2 fs/read_write.c:1176 [inline] __se_compat_sys_pwritev2+0x2a8/0x490 fs/read_write.c:1168 __ia32_compat_sys_pwritev2+0x119/0x1a0 fs/read_write.c:1168 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 created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4462 alloc_pages+0xd01/0x1040 folio_alloc+0x42/0x120 mm/mempolicy.c:2308 filemap_alloc_folio+0xa5/0x430 mm/filemap.c:979 __filemap_get_folio+0xa76/0x1450 mm/filemap.c:1939 ext4_write_begin+0x3e5/0x2220 fs/ext4/inode.c:1147 ext4_da_write_begin+0x4cd/0xec0 fs/ext4/inode.c:2867 generic_perform_write+0x3f5/0xc40 mm/filemap.c:3945 ext4_buffered_write_iter+0x564/0xaa0 fs/ext4/file.c:299 ext4_file_write_iter+0x20f/0x36b0 do_iter_write+0x60c/0x1420 fs/read_write.c:860 vfs_writev+0x329/0x7b0 fs/read_write.c:933 do_pwritev fs/read_write.c:1030 [inline] __do_compat_sys_pwritev2 fs/read_write.c:1176 [inline] __se_compat_sys_pwritev2+0x2a8/0x490 fs/read_write.c:1168 __ia32_compat_sys_pwritev2+0x119/0x1a0 fs/read_write.c:1168 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: 12962 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller-08894-gb97d64c72259 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 =====================================================