===================================================== BUG: KMSAN: uninit-value in __arch_swab32 arch/x86/include/uapi/asm/swab.h:10 [inline] BUG: KMSAN: uninit-value in __fswab32 include/uapi/linux/swab.h:60 [inline] BUG: KMSAN: uninit-value in __swab32p include/uapi/linux/swab.h:189 [inline] BUG: KMSAN: uninit-value in __be32_to_cpup include/uapi/linux/byteorder/little_endian.h:82 [inline] BUG: KMSAN: uninit-value in get_unaligned_be32 include/linux/unaligned/access_ok.h:30 [inline] BUG: KMSAN: uninit-value in LOAD_OP lib/crypto/sha256.c:38 [inline] BUG: KMSAN: uninit-value in sha256_transform lib/crypto/sha256.c:54 [inline] BUG: KMSAN: uninit-value in sha256_update+0x8c8c/0x9090 lib/crypto/sha256.c:227 CPU: 1 PID: 9554 Comm: kworker/1:4 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: cryptd cryptd_queue_worker Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1df/0x240 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 __arch_swab32 arch/x86/include/uapi/asm/swab.h:10 [inline] __fswab32 include/uapi/linux/swab.h:60 [inline] __swab32p include/uapi/linux/swab.h:189 [inline] __be32_to_cpup include/uapi/linux/byteorder/little_endian.h:82 [inline] get_unaligned_be32 include/linux/unaligned/access_ok.h:30 [inline] LOAD_OP lib/crypto/sha256.c:38 [inline] sha256_transform lib/crypto/sha256.c:54 [inline] sha256_update+0x8c8c/0x9090 lib/crypto/sha256.c:227 crypto_sha256_finup+0xa3/0x1b0 crypto/sha256_generic.c:68 crypto_shash_finup+0x2b4/0x6b0 crypto/shash.c:181 shash_ahash_finup+0x266/0x740 crypto/shash.c:289 cryptd_hash_finup+0x9e/0x390 crypto/cryptd.c:570 cryptd_queue_worker+0x1c2/0x2e0 crypto/cryptd.c:181 process_one_work+0x1540/0x1f30 kernel/workqueue.c:2269 worker_thread+0xed2/0x23f0 kernel/workqueue.c:2415 kthread+0x515/0x550 kernel/kthread.c:292 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:293 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x43/0x50 mm/kmsan/kmsan_instr.c:116 sha256_update+0x229/0x9090 lib/crypto/sha256.c:222 crypto_sha256_finup+0xa3/0x1b0 crypto/sha256_generic.c:68 crypto_shash_finup+0x2b4/0x6b0 crypto/shash.c:181 shash_ahash_finup+0x266/0x740 crypto/shash.c:289 cryptd_hash_finup+0x9e/0x390 crypto/cryptd.c:570 cryptd_queue_worker+0x1c2/0x2e0 crypto/cryptd.c:181 process_one_work+0x1540/0x1f30 kernel/workqueue.c:2269 worker_thread+0xed2/0x23f0 kernel/workqueue.c:2415 kthread+0x515/0x550 kernel/kthread.c:292 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:293 Uninit was created at: kmsan_save_stack_with_flags+0x3c/0x90 mm/kmsan/kmsan.c:144 kmsan_internal_alloc_meta_for_pages mm/kmsan/kmsan_shadow.c:269 [inline] kmsan_alloc_page+0xb9/0x180 mm/kmsan/kmsan_shadow.c:293 __alloc_pages_nodemask+0x56a2/0x5dc0 mm/page_alloc.c:4889 alloc_pages_current+0x672/0x990 mm/mempolicy.c:2292 alloc_pages include/linux/gfp.h:545 [inline] push_pipe+0x605/0xb70 lib/iov_iter.c:537 __pipe_get_pages lib/iov_iter.c:1278 [inline] pipe_get_pages_alloc lib/iov_iter.c:1385 [inline] iov_iter_get_pages_alloc+0x18a9/0x21c0 lib/iov_iter.c:1403 default_file_splice_read fs/splice.c:385 [inline] do_splice_to+0x4fc/0x14f0 fs/splice.c:871 splice_direct_to_actor+0x45c/0xf50 fs/splice.c:950 do_splice_direct+0x342/0x580 fs/splice.c:1059 do_sendfile+0x101b/0x1d40 fs/read_write.c:1540 __do_sys_sendfile64 fs/read_write.c:1601 [inline] __se_sys_sendfile64+0x2bb/0x360 fs/read_write.c:1587 __x64_sys_sendfile64+0x56/0x70 fs/read_write.c:1587 do_syscall_64+0xb0/0x150 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 =====================================================