================================================================== BUG: KMSAN: uninit-value in crypto_aes_expand_key+0x6d1/0x1dc0 crypto/aes_generic.c:1242 CPU: 0 PID: 3586 Comm: syzkaller839455 Not tainted 4.16.0+ #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 crypto_aes_expand_key+0x6d1/0x1dc0 crypto/aes_generic.c:1242 crypto_aes_set_key+0x9d/0x180 crypto/aes_generic.c:1294 setkey+0x50f/0x5a0 crypto/cipher.c:60 crypto_cipher_setkey include/linux/crypto.h:1552 [inline] crypto_xcbc_digest_setkey+0x4b7/0x570 crypto/xcbc.c:77 crypto_shash_setkey crypto/shash.c:66 [inline] shash_async_setkey+0x337/0x4c0 crypto/shash.c:218 crypto_ahash_setkey+0x31a/0x470 crypto/ahash.c:201 hash_setkey+0x8b/0xa0 crypto/algif_hash.c:420 alg_setkey crypto/af_alg.c:223 [inline] alg_setsockopt+0x6c5/0x740 crypto/af_alg.c:256 SYSC_setsockopt+0x4b8/0x570 net/socket.c:1849 SyS_setsockopt+0x76/0xa0 net/socket.c:1828 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x43fdf9 RSP: 002b:00007ffe1ec2d2f8 EFLAGS: 00000217 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fdf9 RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 0000000000000010 R09: 00000000004002c8 R10: 0000000020001f3a R11: 0000000000000217 R12: 0000000000401720 R13: 00000000004017b0 R14: 0000000000000000 R15: 0000000000000000 Local variable description: ----vla@crypto_xcbc_digest_setkey Variable was created at: crypto_xcbc_digest_setkey+0x12e/0x570 crypto/xcbc.c:68 crypto_shash_setkey crypto/shash.c:66 [inline] shash_async_setkey+0x337/0x4c0 crypto/shash.c:218 ==================================================================