RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000015 R13: 00000000004c0d39 R14: 00000000004d1340 R15: 000000000000000a ================================================================== 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+0x226/0x320 crypto/gf128mul.c:394 CPU: 0 PID: 17031 Comm: syz-executor0 Not tainted 4.18.0-rc4+ #25 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+0x185/0x1e0 lib/dump_stack.c:113 kmsan_report+0x195/0x2c0 mm/kmsan/kmsan.c:1092 __msan_warning_32+0x7d/0xe0 mm/kmsan/kmsan_instr.c:640 u128_xor include/crypto/b128ops.h:66 [inline] be128_xor include/crypto/b128ops.h:72 [inline] gf128mul_4k_lle+0x226/0x320 crypto/gf128mul.c:394 ghash_update+0x8f3/0x1150 crypto/ghash-generic.c:70 crypto_shash_update crypto/shash.c:117 [inline] shash_ahash_update crypto/shash.c:239 [inline] shash_async_update+0x27e/0x380 crypto/shash.c:247 crypto_ahash_update include/crypto/hash.h:525 [inline] gcm_hash_update crypto/gcm.c:235 [inline] gcm_hash_remain crypto/gcm.c:242 [inline] gcm_hash_crypt_continue crypto/gcm.c:316 [inline] gcm_hash_assoc_remain_continue crypto/gcm.c:346 [inline] gcm_hash_assoc_continue crypto/gcm.c:375 [inline] gcm_hash_init_continue crypto/gcm.c:400 [inline] gcm_hash+0x23a9/0x24d0 crypto/gcm.c:430 gcm_encrypt_continue crypto/gcm.c:455 [inline] crypto_gcm_encrypt+0xa18/0xb00 crypto/gcm.c:484 crypto_aead_encrypt include/crypto/aead.h:335 [inline] tls_do_encryption net/tls/tls_sw.c:211 [inline] tls_push_record+0xccc/0x1f60 net/tls/tls_sw.c:247 tls_sw_sendpage+0x1462/0x1a10 net/tls/tls_sw.c:601 inet_sendpage+0x505/0x8f0 net/ipv4/af_inet.c:815 kernel_sendpage net/socket.c:3331 [inline] sock_sendpage+0x1ef/0x2e0 net/socket.c:866 pipe_to_sendpage+0x317/0x440 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x4a5/0xf50 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] generic_splice_sendpage+0x1d9/0x2d0 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x19e/0x200 fs/splice.c:1019 splice_direct_to_actor+0x78a/0x1090 fs/splice.c:974 do_splice_direct+0x351/0x5a0 fs/splice.c:1062 do_sendfile+0x10ab/0x1e80 fs/read_write.c:1440 __do_sys_sendfile64 fs/read_write.c:1495 [inline] __se_sys_sendfile64 fs/read_write.c:1487 [inline] __x64_sys_sendfile64+0x228/0x3b0 fs/read_write.c:1487 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x455a79 Code: 1d ba 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 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa874996c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fa8749976d4 RCX: 0000000000455a79 RDX: 0000000020000000 RSI: 0000000000000014 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000015 R13: 00000000004c0d39 R14: 00000000004d1340 R15: 000000000000000a Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:256 [inline] kmsan_save_stack mm/kmsan/kmsan.c:271 [inline] kmsan_internal_chain_origin+0x13c/0x240 mm/kmsan/kmsan.c:683 __msan_chain_origin+0x76/0xd0 mm/kmsan/kmsan_instr.c:483 ghash_update+0x103f/0x1150 crypto/ghash-generic.c:83 crypto_shash_update crypto/shash.c:117 [inline] shash_ahash_update crypto/shash.c:239 [inline] shash_async_update+0x27e/0x380 crypto/shash.c:247 crypto_ahash_update include/crypto/hash.h:525 [inline] gcm_hash_update crypto/gcm.c:235 [inline] gcm_hash_assoc_remain_continue crypto/gcm.c:344 [inline] gcm_hash_assoc_continue crypto/gcm.c:375 [inline] gcm_hash_init_continue crypto/gcm.c:400 [inline] gcm_hash+0x162e/0x24d0 crypto/gcm.c:430 gcm_encrypt_continue crypto/gcm.c:455 [inline] crypto_gcm_encrypt+0xa18/0xb00 crypto/gcm.c:484 crypto_aead_encrypt include/crypto/aead.h:335 [inline] tls_do_encryption net/tls/tls_sw.c:211 [inline] tls_push_record+0xccc/0x1f60 net/tls/tls_sw.c:247 tls_sw_sendpage+0x1462/0x1a10 net/tls/tls_sw.c:601 inet_sendpage+0x505/0x8f0 net/ipv4/af_inet.c:815 kernel_sendpage net/socket.c:3331 [inline] sock_sendpage+0x1ef/0x2e0 net/socket.c:866 pipe_to_sendpage+0x317/0x440 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x4a5/0xf50 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] generic_splice_sendpage+0x1d9/0x2d0 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x19e/0x200 fs/splice.c:1019 splice_direct_to_actor+0x78a/0x1090 fs/splice.c:974 do_splice_direct+0x351/0x5a0 fs/splice.c:1062 do_sendfile+0x10ab/0x1e80 fs/read_write.c:1440 __do_sys_sendfile64 fs/read_write.c:1495 [inline] __se_sys_sendfile64 fs/read_write.c:1487 [inline] __x64_sys_sendfile64+0x228/0x3b0 fs/read_write.c:1487 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:256 [inline] kmsan_internal_alloc_meta_for_pages+0x157/0x730 mm/kmsan/kmsan.c:804 kmsan_alloc_page+0x80/0xe0 mm/kmsan/kmsan_hooks.c:250 __alloc_pages_nodemask+0x105b/0x6320 mm/page_alloc.c:4409 alloc_pages_current+0x6b1/0x970 mm/mempolicy.c:2093 alloc_pages include/linux/gfp.h:494 [inline] skb_page_frag_refill+0x3be/0x5f0 net/core/sock.c:2218 sk_page_frag_refill net/core/sock.c:2238 [inline] sk_alloc_sg+0x24a/0x13f0 net/core/sock.c:2262 alloc_encrypted_sg net/tls/tls_sw.c:147 [inline] tls_sw_sendpage+0xb65/0x1a10 net/tls/tls_sw.c:571 inet_sendpage+0x505/0x8f0 net/ipv4/af_inet.c:815 kernel_sendpage net/socket.c:3331 [inline] sock_sendpage+0x1ef/0x2e0 net/socket.c:866 pipe_to_sendpage+0x317/0x440 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x4a5/0xf50 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] generic_splice_sendpage+0x1d9/0x2d0 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x19e/0x200 fs/splice.c:1019 splice_direct_to_actor+0x78a/0x1090 fs/splice.c:974 do_splice_direct+0x351/0x5a0 fs/splice.c:1062 do_sendfile+0x10ab/0x1e80 fs/read_write.c:1440 __do_sys_sendfile64 fs/read_write.c:1495 [inline] __se_sys_sendfile64 fs/read_write.c:1487 [inline] __x64_sys_sendfile64+0x228/0x3b0 fs/read_write.c:1487 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================