================================================================== BUG: KMSAN: uninit-value in subshift crypto/aes_ti.c:145 [inline] BUG: KMSAN: uninit-value in aesti_encrypt+0x1238/0x1bc0 crypto/aes_ti.c:289 CPU: 0 PID: 12011 Comm: syz-executor.5 Not tainted 5.3.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x162/0x2d0 mm/kmsan/kmsan_report.c:109 __msan_warning+0x75/0xe0 mm/kmsan/kmsan_instr.c:294 subshift crypto/aes_ti.c:145 [inline] aesti_encrypt+0x1238/0x1bc0 crypto/aes_ti.c:289 crypto_cipher_encrypt_one include/linux/crypto.h:1763 [inline] crypto_cbcmac_digest_update+0x3cf/0x550 crypto/ccm.c:871 crypto_shash_update+0x4eb/0x550 crypto/shash.c:107 shash_ahash_finup+0x1e1/0x730 crypto/shash.c:276 shash_async_finup+0xbb/0x110 crypto/shash.c:291 crypto_ahash_op+0x1cd/0x6e0 crypto/ahash.c:368 crypto_ahash_finup+0x8c/0xb0 crypto/ahash.c:393 crypto_ccm_auth+0x14b2/0x1570 crypto/ccm.c:230 crypto_ccm_encrypt+0x283/0x840 crypto/ccm.c:309 crypto_aead_encrypt+0xf2/0x180 crypto/aead.c:98 tls_do_encryption net/tls/tls_sw.c:521 [inline] tls_push_record+0x341e/0x4e50 net/tls/tls_sw.c:730 bpf_exec_tx_verdict+0x1454/0x1c80 net/tls/tls_sw.c:770 tls_sw_sendmsg+0x158d/0x2710 net/tls/tls_sw.c:1033 inet6_sendmsg+0x2d8/0x2e0 net/ipv6/af_inet6.c:576 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg net/socket.c:657 [inline] __sys_sendto+0x8fc/0xc70 net/socket.c:1952 __do_sys_sendto net/socket.c:1964 [inline] __se_sys_sendto+0x107/0x130 net/socket.c:1960 __x64_sys_sendto+0x6e/0x90 net/socket.c:1960 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x4598e9 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd97ed3bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00000000004598e9 RDX: ffffffffffffffc1 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: fffffffffffffe5b R10: 0000000000000040 R11: 0000000000000246 R12: 00007fd97ed3c6d4 R13: 00000000004c7880 R14: 00000000004dd188 R15: 00000000ffffffff Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:174 [inline] kmsan_internal_chain_origin+0xcc/0x150 mm/kmsan/kmsan.c:332 __msan_chain_origin+0x6b/0xe0 mm/kmsan/kmsan_instr.c:190 __crypto_xor+0x1e8/0x1470 crypto/algapi.c:992 crypto_xor include/crypto/algapi.h:213 [inline] crypto_cbcmac_digest_update+0x2ba/0x550 crypto/ccm.c:865 crypto_shash_update+0x4eb/0x550 crypto/shash.c:107 shash_ahash_finup+0x1e1/0x730 crypto/shash.c:276 shash_async_finup+0xbb/0x110 crypto/shash.c:291 crypto_ahash_op+0x1cd/0x6e0 crypto/ahash.c:368 crypto_ahash_finup+0x8c/0xb0 crypto/ahash.c:393 crypto_ccm_auth+0x14b2/0x1570 crypto/ccm.c:230 crypto_ccm_encrypt+0x283/0x840 crypto/ccm.c:309 crypto_aead_encrypt+0xf2/0x180 crypto/aead.c:98 tls_do_encryption net/tls/tls_sw.c:521 [inline] tls_push_record+0x341e/0x4e50 net/tls/tls_sw.c:730 bpf_exec_tx_verdict+0x1454/0x1c80 net/tls/tls_sw.c:770 tls_sw_sendmsg+0x158d/0x2710 net/tls/tls_sw.c:1033 inet6_sendmsg+0x2d8/0x2e0 net/ipv6/af_inet6.c:576 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg net/socket.c:657 [inline] __sys_sendto+0x8fc/0xc70 net/socket.c:1952 __do_sys_sendto net/socket.c:1964 [inline] __se_sys_sendto+0x107/0x130 net/socket.c:1960 __x64_sys_sendto+0x6e/0x90 net/socket.c:1960 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Uninit was created at: kmsan_save_stack_with_flags+0x37/0x70 mm/kmsan/kmsan.c:174 kmsan_internal_alloc_meta_for_pages mm/kmsan/kmsan_shadow.c:358 [inline] kmsan_alloc_page+0x151/0x360 mm/kmsan/kmsan_shadow.c:386 __alloc_pages_nodemask+0x142d/0x5fa0 mm/page_alloc.c:4757 alloc_pages_current+0x68d/0x9a0 mm/mempolicy.c:2153 alloc_pages include/linux/gfp.h:511 [inline] skb_page_frag_refill+0x2b0/0x580 net/core/sock.c:2364 sk_page_frag_refill+0xa4/0x330 net/core/sock.c:2384 tcp_sendmsg_locked+0x2610/0x6950 net/ipv4/tcp.c:1317 tcp_sendmsg+0xb2/0x100 net/ipv4/tcp.c:1433 inet6_sendmsg+0x178/0x2e0 net/ipv6/af_inet6.c:576 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg net/socket.c:657 [inline] __sys_sendto+0x8fc/0xc70 net/socket.c:1952 __do_sys_sendto net/socket.c:1964 [inline] __se_sys_sendto+0x107/0x130 net/socket.c:1960 __x64_sys_sendto+0x6e/0x90 net/socket.c:1960 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================