================================================================== BUG: KMSAN: uninit-value in u128_xor /./include/crypto/b128ops.h:66 [inline] BUG: KMSAN: uninit-value in be128_xor /./include/crypto/b128ops.h:72 [inline] BUG: KMSAN: uninit-value in gf128mul_4k_lle+0x1fb/0x2b0 /crypto/gf128mul.c:394 CPU: 1 PID: 12740 Comm: syz-executor076 Not tainted 5.2.0+ #15 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 u128_xor /./include/crypto/b128ops.h:66 [inline] be128_xor /./include/crypto/b128ops.h:72 [inline] gf128mul_4k_lle+0x1fb/0x2b0 /crypto/gf128mul.c:394 ghash_update+0x9db/0x1130 /crypto/ghash-generic.c:72 crypto_shash_update /crypto/shash.c:107 [inline] shash_ahash_update+0x53a/0x650 /crypto/shash.c:247 shash_async_update+0x50/0x60 /crypto/shash.c:255 crypto_ahash_update /./include/crypto/hash.h:534 [inline] gcm_hash_update /crypto/gcm.c:232 [inline] gcm_hash_assoc_remain_continue /crypto/gcm.c:341 [inline] gcm_hash_assoc_continue /crypto/gcm.c:372 [inline] gcm_hash_init_continue /crypto/gcm.c:397 [inline] gcm_hash+0x15d8/0x2400 /crypto/gcm.c:427 gcm_encrypt_continue /crypto/gcm.c:452 [inline] crypto_gcm_encrypt+0x781/0xaa0 /crypto/gcm.c:481 crypto_aead_encrypt /./include/crypto/aead.h:331 [inline] tls_do_encryption /net/tls/tls_sw.c:521 [inline] tls_push_record+0x341a/0x4f70 /net/tls/tls_sw.c:730 bpf_exec_tx_verdict+0x1454/0x1c90 /net/tls/tls_sw.c:770 tls_sw_sendmsg+0x15bd/0x2740 /net/tls/tls_sw.c:1033 inet_sendmsg+0x48e/0x750 /net/ipv4/af_inet.c:798 sock_sendmsg_nosec /net/socket.c:646 [inline] sock_sendmsg /net/socket.c:665 [inline] __sys_sendto+0x905/0xb90 /net/socket.c:1958 __do_sys_sendto /net/socket.c:1970 [inline] __se_sys_sendto+0x107/0x130 /net/socket.c:1966 __x64_sys_sendto+0x6e/0x90 /net/socket.c:1966 do_syscall_64+0xbc/0xf0 /arch/x86/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x447e09 Code: e8 9c 1a 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 2b 0f fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f19d3c6acd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000006f0038 RCX: 0000000000447e09 RDX: ffffffffffffffc1 RSI: 00000000200005c0 RDI: 0000000000000004 RBP: 00000000006f0030 R08: 0000000000000000 R09: 1201000000003618 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006f003c R13: 00000000007ffdcf R14: 00007f19d3c6b9c0 R15: 0000000000000001 Uninit was stored to memory at: kmsan_save_stack_with_flags /mm/kmsan/kmsan.c:187 [inline] kmsan_internal_chain_origin+0xcc/0x150 /mm/kmsan/kmsan.c:345 __msan_chain_origin+0x6b/0xe0 /mm/kmsan/kmsan_instr.c:190 crypto_xor /./include/crypto/algapi.h:210 [inline] ghash_update+0xa83/0x1130 /crypto/ghash-generic.c:71 crypto_shash_update /crypto/shash.c:107 [inline] shash_ahash_update+0x53a/0x650 /crypto/shash.c:247 shash_async_update+0x50/0x60 /crypto/shash.c:255 crypto_ahash_update /./include/crypto/hash.h:534 [inline] gcm_hash_update /crypto/gcm.c:232 [inline] gcm_hash_assoc_remain_continue /crypto/gcm.c:341 [inline] gcm_hash_assoc_continue /crypto/gcm.c:372 [inline] gcm_hash_init_continue /crypto/gcm.c:397 [inline] gcm_hash+0x15d8/0x2400 /crypto/gcm.c:427 gcm_encrypt_continue /crypto/gcm.c:452 [inline] crypto_gcm_encrypt+0x781/0xaa0 /crypto/gcm.c:481 crypto_aead_encrypt /./include/crypto/aead.h:331 [inline] tls_do_encryption /net/tls/tls_sw.c:521 [inline] tls_push_record+0x341a/0x4f70 /net/tls/tls_sw.c:730 bpf_exec_tx_verdict+0x1454/0x1c90 /net/tls/tls_sw.c:770 tls_sw_sendmsg+0x15bd/0x2740 /net/tls/tls_sw.c:1033 inet_sendmsg+0x48e/0x750 /net/ipv4/af_inet.c:798 sock_sendmsg_nosec /net/socket.c:646 [inline] sock_sendmsg /net/socket.c:665 [inline] __sys_sendto+0x905/0xb90 /net/socket.c:1958 __do_sys_sendto /net/socket.c:1970 [inline] __se_sys_sendto+0x107/0x130 /net/socket.c:1966 __x64_sys_sendto+0x6e/0x90 /net/socket.c:1966 do_syscall_64+0xbc/0xf0 /arch/x86/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Uninit was stored to memory at: kmsan_save_stack_with_flags /mm/kmsan/kmsan.c:187 [inline] kmsan_internal_chain_origin+0xcc/0x150 /mm/kmsan/kmsan.c:345 __msan_chain_origin+0x6b/0xe0 /mm/kmsan/kmsan_instr.c:190 __crypto_xor+0x1e8/0x1470 /crypto/algapi.c:1019 crypto_xor /./include/crypto/algapi.h:214 [inline] crypto_ctr_crypt_inplace /crypto/ctr.c:87 [inline] crypto_ctr_crypt+0x613/0xaf0 /crypto/ctr.c:111 crypto_skcipher_encrypt /./include/crypto/skcipher.h:493 [inline] crypto_gcm_encrypt+0x512/0xaa0 /crypto/gcm.c:480 crypto_aead_encrypt /./include/crypto/aead.h:331 [inline] tls_do_encryption /net/tls/tls_sw.c:521 [inline] tls_push_record+0x341a/0x4f70 /net/tls/tls_sw.c:730 bpf_exec_tx_verdict+0x1454/0x1c90 /net/tls/tls_sw.c:770 tls_sw_sendmsg+0x15bd/0x2740 /net/tls/tls_sw.c:1033 inet_sendmsg+0x48e/0x750 /net/ipv4/af_inet.c:798 sock_sendmsg_nosec /net/socket.c:646 [inline] sock_sendmsg /net/socket.c:665 [inline] __sys_sendto+0x905/0xb90 /net/socket.c:1958 __do_sys_sendto /net/socket.c:1970 [inline] __se_sys_sendto+0x107/0x130 /net/socket.c:1966 __x64_sys_sendto+0x6e/0x90 /net/socket.c:1966 do_syscall_64+0xbc/0xf0 /arch/x86/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Uninit was created at: kmsan_save_stack_with_flags+0x37/0x70 /mm/kmsan/kmsan.c:187 kmsan_internal_alloc_meta_for_pages+0x123/0x510 /mm/kmsan/kmsan_hooks.c:114 kmsan_alloc_page+0x7a/0xf0 /mm/kmsan/kmsan_hooks.c:244 __alloc_pages_nodemask+0x144d/0x6020 /mm/page_alloc.c:4701 alloc_pages_current+0x6a0/0x9b0 /mm/mempolicy.c:2132 alloc_pages /./include/linux/gfp.h:511 [inline] skb_page_frag_refill+0x2b0/0x580 /net/core/sock.c:2351 sk_page_frag_refill+0xa4/0x330 /net/core/sock.c:2371 sk_msg_alloc+0x203/0x1050 /net/core/skmsg.c:37 tls_alloc_encrypted_msg /net/tls/tls_sw.c:284 [inline] tls_sw_sendmsg+0xb6a/0x2740 /net/tls/tls_sw.c:953 inet_sendmsg+0x48e/0x750 /net/ipv4/af_inet.c:798 sock_sendmsg_nosec /net/socket.c:646 [inline] sock_sendmsg /net/socket.c:665 [inline] __sys_sendto+0x905/0xb90 /net/socket.c:1958 __do_sys_sendto /net/socket.c:1970 [inline] __se_sys_sendto+0x107/0x130 /net/socket.c:1966 __x64_sys_sendto+0x6e/0x90 /net/socket.c:1966 do_syscall_64+0xbc/0xf0 /arch/x86/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================