loop0: detected capacity change from 0 to 128 EXT4-fs (loop0): Test dummy encryption mode enabled ext4 filesystem being mounted at /312/mnt supports timestamps until 2038-01-19 (0x7fffffff) ===================================================== 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+0x18a/0x300 crypto/ecb.c:40 crypto_lskcipher_crypt_sg+0x3bd/0x8a0 crypto/lskcipher.c:188 crypto_lskcipher_encrypt_sg+0x8a/0xc0 crypto/lskcipher.c:207 crypto_skcipher_encrypt+0x119/0x1e0 crypto/skcipher.c:443 xts_encrypt+0x3c4/0x550 crypto/xts.c:269 crypto_skcipher_encrypt+0x1a0/0x1e0 crypto/skcipher.c:444 fscrypt_crypt_data_unit+0x4ee/0x8f0 fs/crypto/crypto.c:144 fscrypt_encrypt_pagecache_blocks+0x3af/0x740 fs/crypto/crypto.c:205 ext4_bio_write_folio+0x137a/0x2e80 fs/ext4/page-io.c:552 mpage_submit_folio+0x360/0x490 fs/ext4/inode.c:1936 mpage_map_and_submit_buffers fs/ext4/inode.c:2182 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2314 [inline] ext4_do_writepages+0x332c/0x6390 fs/ext4/inode.c:2738 ext4_writepages+0x37a/0x8d0 fs/ext4/inode.c:2828 do_writepages+0x427/0xc30 mm/page-writeback.c:2656 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] file_write_and_wait_range+0x6f2/0x7b0 mm/filemap.c:794 generic_buffers_fsync_noflush+0x7e/0x3c0 fs/buffer.c:600 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x506/0x1350 fs/ext4/fsync.c:147 vfs_fsync_range+0x1f9/0x260 fs/sync.c:187 generic_write_sync include/linux/fs.h:2976 [inline] ext4_buffered_write_iter+0xa2a/0xbd0 fs/ext4/file.c:305 ext4_file_write_iter+0x2c7/0x3a30 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:591 [inline] vfs_write+0xb34/0x1540 fs/read_write.c:684 ksys_pwrite64 fs/read_write.c:791 [inline] __do_sys_pwrite64 fs/read_write.c:799 [inline] __se_sys_pwrite64 fs/read_write.c:796 [inline] __x64_sys_pwrite64+0x2c5/0x3b0 fs/read_write.c:796 x64_sys_call+0xc26/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: le128_xor include/crypto/b128ops.h:69 [inline] xts_xor_tweak+0x4ae/0xbf0 crypto/xts.c:123 xts_xor_tweak_pre crypto/xts.c:135 [inline] xts_encrypt+0x296/0x550 crypto/xts.c:268 crypto_skcipher_encrypt+0x1a0/0x1e0 crypto/skcipher.c:444 fscrypt_crypt_data_unit+0x4ee/0x8f0 fs/crypto/crypto.c:144 fscrypt_encrypt_pagecache_blocks+0x3af/0x740 fs/crypto/crypto.c:205 ext4_bio_write_folio+0x137a/0x2e80 fs/ext4/page-io.c:552 mpage_submit_folio+0x360/0x490 fs/ext4/inode.c:1936 mpage_map_and_submit_buffers fs/ext4/inode.c:2182 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2314 [inline] ext4_do_writepages+0x332c/0x6390 fs/ext4/inode.c:2738 ext4_writepages+0x37a/0x8d0 fs/ext4/inode.c:2828 do_writepages+0x427/0xc30 mm/page-writeback.c:2656 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] file_write_and_wait_range+0x6f2/0x7b0 mm/filemap.c:794 generic_buffers_fsync_noflush+0x7e/0x3c0 fs/buffer.c:600 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x506/0x1350 fs/ext4/fsync.c:147 vfs_fsync_range+0x1f9/0x260 fs/sync.c:187 generic_write_sync include/linux/fs.h:2976 [inline] ext4_buffered_write_iter+0xa2a/0xbd0 fs/ext4/file.c:305 ext4_file_write_iter+0x2c7/0x3a30 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:591 [inline] vfs_write+0xb34/0x1540 fs/read_write.c:684 ksys_pwrite64 fs/read_write.c:791 [inline] __do_sys_pwrite64 fs/read_write.c:799 [inline] __se_sys_pwrite64 fs/read_write.c:796 [inline] __x64_sys_pwrite64+0x2c5/0x3b0 fs/read_write.c:796 x64_sys_call+0xc26/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_frozen_pages_noprof+0x6a0/0xe30 mm/page_alloc.c:4957 alloc_pages_mpol+0x4cd/0x890 mm/mempolicy.c:2301 alloc_frozen_pages_noprof mm/mempolicy.c:2372 [inline] alloc_pages_noprof mm/mempolicy.c:2392 [inline] folio_alloc_noprof+0x1dc/0x350 mm/mempolicy.c:2402 filemap_alloc_folio_noprof+0xa6/0x440 mm/filemap.c:1007 __filemap_get_folio+0xb40/0x18e0 mm/filemap.c:1969 ext4_write_begin+0x46c/0x2470 fs/ext4/inode.c:1186 ext4_da_write_begin+0x691/0xf10 fs/ext4/inode.c:2931 generic_perform_write+0x405/0x1060 mm/filemap.c:4102 ext4_buffered_write_iter+0x561/0xbd0 fs/ext4/file.c:299 ext4_file_write_iter+0x2c7/0x3a30 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:591 [inline] vfs_write+0xb34/0x1540 fs/read_write.c:684 ksys_pwrite64 fs/read_write.c:791 [inline] __do_sys_pwrite64 fs/read_write.c:799 [inline] __se_sys_pwrite64 fs/read_write.c:796 [inline] __x64_sys_pwrite64+0x2c5/0x3b0 fs/read_write.c:796 x64_sys_call+0xc26/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 7238 Comm: syz.0.327 Not tainted 6.14.0-syzkaller-13189-ge48e99b6edf4 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================