===================================================== 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:1937 mpage_process_page_bufs+0xb94/0xe30 fs/ext4/inode.c:2050 mpage_prepare_extent_to_map+0x17ab/0x22b0 fs/ext4/inode.c:2551 ext4_do_writepages+0x1235/0x6390 fs/ext4/inode.c:2692 ext4_writepages+0x37a/0x8d0 fs/ext4/inode.c:2829 do_writepages+0x427/0xc30 mm/page-writeback.c:2656 __writeback_single_inode+0x103/0x1290 fs/fs-writeback.c:1680 writeback_sb_inodes+0xac4/0x1c90 fs/fs-writeback.c:1976 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x40b/0x1970 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xc1d/0x1e80 kernel/workqueue.c:3319 worker_thread+0xea3/0x1500 kernel/workqueue.c:3400 kthread+0x6ce/0xf10 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 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:1937 mpage_process_page_bufs+0xb94/0xe30 fs/ext4/inode.c:2050 mpage_prepare_extent_to_map+0x17ab/0x22b0 fs/ext4/inode.c:2551 ext4_do_writepages+0x1235/0x6390 fs/ext4/inode.c:2692 ext4_writepages+0x37a/0x8d0 fs/ext4/inode.c:2829 do_writepages+0x427/0xc30 mm/page-writeback.c:2656 __writeback_single_inode+0x103/0x1290 fs/fs-writeback.c:1680 writeback_sb_inodes+0xac4/0x1c90 fs/fs-writeback.c:1976 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x40b/0x1970 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xc1d/0x1e80 kernel/workqueue.c:3319 worker_thread+0xea3/0x1500 kernel/workqueue.c:3400 kthread+0x6ce/0xf10 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 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:1187 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: 1 UID: 0 PID: 1313 Comm: kworker/u8:6 Not tainted 6.15.0-rc2-syzkaller-00042-g1a1d569a75f3 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:5) =====================================================