loop0: detected capacity change from 0 to 128 EXT4-fs (loop0): Test dummy encryption mode enabled ext4 filesystem being mounted at /root/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+0x1239/0x1960 lib/crypto/aes.c:282 subshift lib/crypto/aes.c:149 [inline] aes_encrypt+0x1239/0x1960 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+0x142/0x300 crypto/ecb.c:40 crypto_lskcipher_crypt_sg+0x3a9/0x930 crypto/lskcipher.c:188 crypto_lskcipher_encrypt_sg+0x8b/0xc0 crypto/lskcipher.c:207 crypto_skcipher_encrypt+0x111/0x1e0 crypto/skcipher.c:194 xts_encrypt+0x2e1/0x570 crypto/xts.c:269 crypto_skcipher_encrypt+0x187/0x1e0 crypto/skcipher.c:195 fscrypt_crypt_data_unit+0x4a0/0x920 fs/crypto/crypto.c:144 fscrypt_encrypt_pagecache_blocks+0x38c/0x770 fs/crypto/crypto.c:205 ext4_bio_write_folio+0x1383/0x30d0 fs/ext4/page-io.c:552 mpage_submit_folio+0x37b/0x580 fs/ext4/inode.c:2057 mpage_map_and_submit_buffers fs/ext4/inode.c:2303 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2439 [inline] ext4_do_writepages+0x2f75/0x6b00 fs/ext4/inode.c:2863 ext4_writepages+0x338/0x870 fs/ext4/inode.c:2953 do_writepages+0x3ef/0x860 mm/page-writeback.c:2636 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] file_write_and_wait_range+0x6f0/0x7d0 mm/filemap.c:794 generic_buffers_fsync_noflush+0x79/0x3c0 fs/buffer.c:609 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x587/0x12f0 fs/ext4/fsync.c:147 vfs_fsync_range+0x19e/0x240 fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] ext4_buffered_write_iter+0xae9/0xce0 fs/ext4/file.c:305 ext4_file_write_iter+0x2a2/0x3d90 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:593 [inline] vfs_write+0xb48/0x1580 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x2ab/0x3b0 fs/read_write.c:798 x64_sys_call+0x10f7/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 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+0x566/0xbd0 crypto/xts.c:123 xts_xor_tweak_pre crypto/xts.c:135 [inline] xts_encrypt+0x278/0x570 crypto/xts.c:268 crypto_skcipher_encrypt+0x187/0x1e0 crypto/skcipher.c:195 fscrypt_crypt_data_unit+0x4a0/0x920 fs/crypto/crypto.c:144 fscrypt_encrypt_pagecache_blocks+0x38c/0x770 fs/crypto/crypto.c:205 ext4_bio_write_folio+0x1383/0x30d0 fs/ext4/page-io.c:552 mpage_submit_folio+0x37b/0x580 fs/ext4/inode.c:2057 mpage_map_and_submit_buffers fs/ext4/inode.c:2303 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2439 [inline] ext4_do_writepages+0x2f75/0x6b00 fs/ext4/inode.c:2863 ext4_writepages+0x338/0x870 fs/ext4/inode.c:2953 do_writepages+0x3ef/0x860 mm/page-writeback.c:2636 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] file_write_and_wait_range+0x6f0/0x7d0 mm/filemap.c:794 generic_buffers_fsync_noflush+0x79/0x3c0 fs/buffer.c:609 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x587/0x12f0 fs/ext4/fsync.c:147 vfs_fsync_range+0x19e/0x240 fs/sync.c:187 generic_write_sync include/linux/fs.h:3031 [inline] ext4_buffered_write_iter+0xae9/0xce0 fs/ext4/file.c:305 ext4_file_write_iter+0x2a2/0x3d90 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:593 [inline] vfs_write+0xb48/0x1580 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x2ab/0x3b0 fs/read_write.c:798 x64_sys_call+0x10f7/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_frozen_pages_noprof+0x689/0xf00 mm/page_alloc.c:4982 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2419 alloc_frozen_pages_noprof mm/mempolicy.c:2490 [inline] alloc_pages_noprof mm/mempolicy.c:2510 [inline] folio_alloc_noprof+0x109/0x360 mm/mempolicy.c:2520 filemap_alloc_folio_noprof+0x9d/0x420 mm/filemap.c:1007 __filemap_get_folio+0xb45/0x1930 mm/filemap.c:1980 ext4_write_begin+0x541/0x2990 fs/ext4/inode.c:1298 ext4_da_write_begin+0x759/0x13f0 fs/ext4/inode.c:3057 generic_perform_write+0x3f7/0x10c0 mm/filemap.c:4112 ext4_buffered_write_iter+0x61a/0xce0 fs/ext4/file.c:299 ext4_file_write_iter+0x2a2/0x3d90 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:593 [inline] vfs_write+0xb48/0x1580 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x2ab/0x3b0 fs/read_write.c:798 x64_sys_call+0x10f7/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 8690 Comm: syz-executor199 Not tainted 6.16.0-rc5-syzkaller-00266-g3f31a806a62e #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================