===================================================== 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+0x13f/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:443 xts_encrypt+0x2e1/0x570 crypto/xts.c:269 crypto_skcipher_encrypt+0x187/0x1e0 crypto/skcipher.c:444 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+0x135d/0x30a0 fs/ext4/page-io.c:552 mpage_submit_folio+0x37b/0x4d0 fs/ext4/inode.c:1937 mpage_process_page_bufs+0xb05/0xe00 fs/ext4/inode.c:2050 mpage_process_folio fs/ext4/inode.c:2104 [inline] mpage_map_and_submit_buffers fs/ext4/inode.c:2173 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2315 [inline] ext4_do_writepages+0x2d57/0x69e0 fs/ext4/inode.c:2739 ext4_writepages+0x338/0x870 fs/ext4/inode.c:2829 do_writepages+0x445/0xcb0 mm/page-writeback.c:2656 __writeback_single_inode+0x101/0x1190 fs/fs-writeback.c:1680 writeback_sb_inodes+0xaa9/0x1c90 fs/fs-writeback.c:1976 wb_writeback+0x4ce/0xc00 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x397/0x1910 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xb97/0x1d90 kernel/workqueue.c:3319 worker_thread+0xedf/0x1590 kernel/workqueue.c:3400 kthread+0xd59/0xf00 kernel/kthread.c:464 ret_from_fork+0x6e/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+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:444 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+0x135d/0x30a0 fs/ext4/page-io.c:552 mpage_submit_folio+0x37b/0x4d0 fs/ext4/inode.c:1937 mpage_process_page_bufs+0xb05/0xe00 fs/ext4/inode.c:2050 mpage_process_folio fs/ext4/inode.c:2104 [inline] mpage_map_and_submit_buffers fs/ext4/inode.c:2173 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2315 [inline] ext4_do_writepages+0x2d57/0x69e0 fs/ext4/inode.c:2739 ext4_writepages+0x338/0x870 fs/ext4/inode.c:2829 do_writepages+0x445/0xcb0 mm/page-writeback.c:2656 __writeback_single_inode+0x101/0x1190 fs/fs-writeback.c:1680 writeback_sb_inodes+0xaa9/0x1c90 fs/fs-writeback.c:1976 wb_writeback+0x4ce/0xc00 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x397/0x1910 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xb97/0x1d90 kernel/workqueue.c:3319 worker_thread+0xedf/0x1590 kernel/workqueue.c:3400 kthread+0xd59/0xf00 kernel/kthread.c:464 ret_from_fork+0x6e/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+0x689/0xf00 mm/page_alloc.c:4993 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2301 alloc_frozen_pages_noprof mm/mempolicy.c:2372 [inline] alloc_pages_noprof mm/mempolicy.c:2392 [inline] folio_alloc_noprof+0x109/0x360 mm/mempolicy.c:2402 filemap_alloc_folio_noprof+0x9d/0x420 mm/filemap.c:1007 __filemap_get_folio+0xb45/0x1930 mm/filemap.c:1969 ext4_write_begin+0x476/0x24d0 fs/ext4/inode.c:1187 ext4_da_write_begin+0x773/0x1020 fs/ext4/inode.c:2932 generic_perform_write+0x3f4/0x10c0 mm/filemap.c:4103 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:591 [inline] vfs_write+0xb31/0x1560 fs/read_write.c:684 ksys_write fs/read_write.c:736 [inline] __do_sys_write fs/read_write.c:747 [inline] __se_sys_write fs/read_write.c:744 [inline] __x64_sys_write+0x1fb/0x4d0 fs/read_write.c:744 x64_sys_call+0x38c3/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 3504 Comm: kworker/u8:12 Not tainted 6.15.0-rc3-syzkaller-00094-g02ddfb981de8 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: writeback wb_workfn (flush-7:8) =====================================================