================================================================== BUG: KMSAN: uninit-value in gcmaes_decrypt+0x2ec/0xea0 arch/x86/crypto/aesni-intel_glue.c:827 CPU: 0 PID: 36 Comm: kworker/0:1 Not tainted 4.16.0+ #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: pdecrypt padata_parallel_worker Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:53 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:676 gcmaes_decrypt+0x2ec/0xea0 arch/x86/crypto/aesni-intel_glue.c:827 generic_gcmaes_decrypt+0x181/0x1e0 arch/x86/crypto/aesni-intel_glue.c:1127 crypto_aead_decrypt include/crypto/aead.h:370 [inline] gcmaes_wrapper_decrypt+0x2f5/0x340 arch/x86/crypto/aesni-intel_glue.c:961 crypto_aead_decrypt include/crypto/aead.h:370 [inline] pcrypt_aead_dec+0x1f6/0x2b0 crypto/pcrypt.c:185 padata_parallel_worker+0x480/0x5e0 kernel/padata.c:86 process_one_work+0x12c6/0x1f60 kernel/workqueue.c:2113 worker_thread+0x113c/0x24f0 kernel/workqueue.c:2247 kthread+0x539/0x720 kernel/kthread.c:239 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:406 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:278 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:188 kmsan_kmalloc+0x94/0x100 mm/kmsan/kmsan.c:314 __kmalloc+0x23c/0x350 mm/slub.c:3791 kmalloc include/linux/slab.h:517 [inline] sock_kmalloc+0x14e/0x270 net/core/sock.c:1986 af_alg_alloc_areq+0x85/0x320 crypto/af_alg.c:1098 _aead_recvmsg crypto/algif_aead.c:157 [inline] aead_recvmsg+0x65a/0x2960 crypto/algif_aead.c:334 sock_recvmsg_nosec net/socket.c:803 [inline] sock_recvmsg+0x1d0/0x230 net/socket.c:810 ___sys_recvmsg+0x3fb/0x810 net/socket.c:2205 __sys_recvmsg net/socket.c:2250 [inline] SYSC_recvmsg+0x298/0x3c0 net/socket.c:2262 SyS_recvmsg+0x54/0x80 net/socket.c:2257 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 ==================================================================