===================================================== 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:23 [inline] crypto_ecb_encrypt2+0x15d/0x2c0 crypto/ecb.c:40 crypto_lskcipher_crypt_sg crypto/lskcipher.c:212 [inline] crypto_lskcipher_encrypt_sg+0x28d/0x410 crypto/lskcipher.c:226 crypto_skcipher_encrypt+0x10d/0x1c0 crypto/skcipher.c:669 xts_encrypt+0x3c4/0x540 crypto/xts.c:269 crypto_skcipher_encrypt+0x189/0x1c0 crypto/skcipher.c:671 fscrypt_crypt_data_unit+0x4ea/0x8d0 fs/crypto/crypto.c:144 fscrypt_encrypt_pagecache_blocks+0x422/0x8f0 fs/crypto/crypto.c:207 ext4_bio_write_folio+0x13d9/0x2db0 fs/ext4/page-io.c:526 mpage_submit_folio fs/ext4/inode.c:1875 [inline] mpage_process_page_bufs+0xf16/0x1320 fs/ext4/inode.c:1988 mpage_prepare_extent_to_map+0x19c9/0x2710 fs/ext4/inode.c:2496 ext4_do_writepages+0x111e/0x67e0 fs/ext4/inode.c:2638 ext4_writepages+0x30c/0x810 fs/ext4/inode.c:2774 do_writepages+0x426/0x870 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0x1d8/0x270 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] file_write_and_wait_range+0x202/0x3a0 mm/filemap.c:778 generic_buffers_fsync_noflush+0x84/0x3d0 fs/buffer.c:603 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x5b4/0x1390 fs/ext4/fsync.c:151 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2653 [inline] ext4_buffered_write_iter+0x9a9/0xaa0 fs/ext4/file.c:305 ext4_file_write_iter+0x20f/0x3460 do_iter_write+0xceb/0x1340 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:165 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:321 do_fast_syscall_32+0x37/0x70 arch/x86/entry/common.c:346 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:384 entry_SYSENTER_compat_after_hwframe+0x70/0x7a 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+0x189/0x1c0 crypto/skcipher.c:671 fscrypt_crypt_data_unit+0x4ea/0x8d0 fs/crypto/crypto.c:144 fscrypt_encrypt_pagecache_blocks+0x422/0x8f0 fs/crypto/crypto.c:207 ext4_bio_write_folio+0x13d9/0x2db0 fs/ext4/page-io.c:526 mpage_submit_folio fs/ext4/inode.c:1875 [inline] mpage_process_page_bufs+0xf16/0x1320 fs/ext4/inode.c:1988 mpage_prepare_extent_to_map+0x19c9/0x2710 fs/ext4/inode.c:2496 ext4_do_writepages+0x111e/0x67e0 fs/ext4/inode.c:2638 ext4_writepages+0x30c/0x810 fs/ext4/inode.c:2774 do_writepages+0x426/0x870 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0x1d8/0x270 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] file_write_and_wait_range+0x202/0x3a0 mm/filemap.c:778 generic_buffers_fsync_noflush+0x84/0x3d0 fs/buffer.c:603 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x5b4/0x1390 fs/ext4/fsync.c:151 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2653 [inline] ext4_buffered_write_iter+0x9a9/0xaa0 fs/ext4/file.c:305 ext4_file_write_iter+0x20f/0x3460 do_iter_write+0xceb/0x1340 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:165 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:321 do_fast_syscall_32+0x37/0x70 arch/x86/entry/common.c:346 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:384 entry_SYSENTER_compat_after_hwframe+0x70/0x7a Uninit was created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4591 alloc_pages_mpol+0x62b/0x9d0 mm/mempolicy.c:2133 alloc_pages mm/mempolicy.c:2204 [inline] folio_alloc+0x1da/0x380 mm/mempolicy.c:2211 filemap_alloc_folio+0xa5/0x430 mm/filemap.c:974 __filemap_get_folio+0xa5a/0x1760 mm/filemap.c:1918 ext4_write_begin+0x3e5/0x2230 fs/ext4/inode.c:1157 ext4_da_write_begin+0x4cd/0xec0 fs/ext4/inode.c:2875 generic_perform_write+0x3f5/0xc40 mm/filemap.c:3918 ext4_buffered_write_iter+0x564/0xaa0 fs/ext4/file.c:299 ext4_file_write_iter+0x20f/0x3460 do_iter_write+0xceb/0x1340 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:165 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:321 do_fast_syscall_32+0x37/0x70 arch/x86/entry/common.c:346 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:384 entry_SYSENTER_compat_after_hwframe+0x70/0x7a CPU: 0 PID: 9313 Comm: syz-executor.5 Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 =====================================================