===================================================== 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+0x36b/0x7f0 crypto/lskcipher.c:188 crypto_lskcipher_encrypt_sg+0x8a/0xc0 crypto/lskcipher.c:207 crypto_skcipher_encrypt+0x119/0x1e0 crypto/skcipher.c:642 xts_encrypt+0x3c4/0x550 crypto/xts.c:269 crypto_skcipher_encrypt+0x1a0/0x1e0 crypto/skcipher.c:643 fscrypt_crypt_data_unit+0x4ee/0x8f0 fs/crypto/crypto.c:144 fscrypt_encrypt_pagecache_blocks+0x422/0x900 fs/crypto/crypto.c:207 ext4_bio_write_folio+0x13c5/0x2e20 fs/ext4/page-io.c:523 mpage_submit_folio+0x360/0x490 fs/ext4/inode.c:1921 mpage_process_page_bufs+0xb92/0xe30 fs/ext4/inode.c:2034 mpage_prepare_extent_to_map+0x17a5/0x22a0 fs/ext4/inode.c:2535 ext4_do_writepages+0x1117/0x62c0 fs/ext4/inode.c:2677 ext4_writepages+0x312/0x830 fs/ext4/inode.c:2813 do_writepages+0x427/0xc30 mm/page-writeback.c:2683 __writeback_single_inode+0x103/0x1290 fs/fs-writeback.c:1658 writeback_sb_inodes+0xa34/0x1c20 fs/fs-writeback.c:1954 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x40b/0x1940 fs/fs-writeback.c:2321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xae0/0x1c40 kernel/workqueue.c:3310 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3391 kthread+0x3e2/0x540 kernel/kthread.c:389 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 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:643 fscrypt_crypt_data_unit+0x4ee/0x8f0 fs/crypto/crypto.c:144 fscrypt_encrypt_pagecache_blocks+0x422/0x900 fs/crypto/crypto.c:207 ext4_bio_write_folio+0x13c5/0x2e20 fs/ext4/page-io.c:523 mpage_submit_folio+0x360/0x490 fs/ext4/inode.c:1921 mpage_process_page_bufs+0xb92/0xe30 fs/ext4/inode.c:2034 mpage_prepare_extent_to_map+0x17a5/0x22a0 fs/ext4/inode.c:2535 ext4_do_writepages+0x1117/0x62c0 fs/ext4/inode.c:2677 ext4_writepages+0x312/0x830 fs/ext4/inode.c:2813 do_writepages+0x427/0xc30 mm/page-writeback.c:2683 __writeback_single_inode+0x103/0x1290 fs/fs-writeback.c:1658 writeback_sb_inodes+0xa34/0x1c20 fs/fs-writeback.c:1954 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x40b/0x1940 fs/fs-writeback.c:2321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xae0/0x1c40 kernel/workqueue.c:3310 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3391 kthread+0x3e2/0x540 kernel/kthread.c:389 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was created at: __alloc_pages_noprof+0x9d6/0xe70 mm/page_alloc.c:4756 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 alloc_pages_noprof mm/mempolicy.c:2345 [inline] folio_alloc_noprof+0x1db/0x310 mm/mempolicy.c:2352 filemap_alloc_folio_noprof+0xa6/0x440 mm/filemap.c:1010 __filemap_get_folio+0xac4/0x1550 mm/filemap.c:1952 ext4_write_begin+0x3e5/0x23d0 fs/ext4/inode.c:1175 generic_perform_write+0x4d8/0x1080 mm/filemap.c:4054 ext4_buffered_write_iter+0x561/0xaa0 fs/ext4/file.c:299 ext4_file_write_iter+0x20d/0x3500 __kernel_write_iter+0x675/0xd20 fs/read_write.c:616 __kernel_write+0xca/0x100 fs/read_write.c:636 __dump_emit fs/coredump.c:807 [inline] dump_emit+0x3aa/0x5d0 fs/coredump.c:844 writenote+0x2ad/0x480 fs/binfmt_elf.c:1463 write_note_info fs/binfmt_elf.c:1956 [inline] elf_core_dump+0x51c1/0x5ba0 fs/binfmt_elf.c:2108 do_coredump+0x4336/0x54e0 fs/coredump.c:758 get_signal+0x267a/0x2d00 kernel/signal.c:2902 arch_do_signal_or_restart+0x53/0xcb0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] irqentry_exit_to_user_mode+0xac/0x160 kernel/entry/common.c:231 irqentry_exit+0x16/0x60 kernel/entry/common.c:334 exc_page_fault+0x526/0x700 arch/x86/mm/fault.c:1542 asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:623 CPU: 1 UID: 0 PID: 1071 Comm: kworker/u8:6 Not tainted 6.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: writeback wb_workfn (flush-7:2) =====================================================