===================================================== BUG: KMSAN: uninit-value in update_stack_state+0x1ee/0xb40 arch/x86/kernel/unwind_frame.c:202 CPU: 0 PID: 26603 Comm: syz-executor.1 Not tainted 5.8.0-rc5-syzkaller #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+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 update_stack_state+0x1ee/0xb40 arch/x86/kernel/unwind_frame.c:202 unwind_next_frame+0x8c6/0xed0 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x338/0x3d0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1a0 kernel/stacktrace.c:123 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x43/0x50 mm/kmsan/kmsan_instr.c:116 pskb_carve_inside_nonlinear net/core/skbuff.c:5956 [inline] pskb_carve+0x869/0x2ff0 net/core/skbuff.c:6024 pskb_extract+0x116/0x4c0 net/core/skbuff.c:6038 rds_tcp_data_recv+0x990/0x1920 net/rds/tcp_recv.c:218 tcp_read_sock+0xb52/0x26e0 net/ipv4/tcp.c:1646 rds_tcp_read_sock net/rds/tcp_recv.c:276 [inline] rds_tcp_data_ready+0x29d/0x6c0 net/rds/tcp_recv.c:325 tcp_data_ready net/ipv4/tcp_input.c:4795 [inline] tcp_rcv_established+0x43e4/0x4480 net/ipv4/tcp_input.c:5724 tcp_v4_do_rcv+0x80c/0xff0 net/ipv4/tcp_ipv4.c:1641 tcp_v4_rcv+0x57d0/0x5c10 net/ipv4/tcp_ipv4.c:2023 ip_protocol_deliver_rcu+0x572/0xc50 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip_local_deliver+0x727/0x8d0 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:449 [inline] ip_rcv_finish net/ipv4/ip_input.c:428 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip_rcv+0x795/0x810 net/ipv4/ip_input.c:539 __netif_receive_skb_one_core net/core/dev.c:5281 [inline] __netif_receive_skb+0x265/0x670 net/core/dev.c:5395 process_backlog+0x50d/0xba0 net/core/dev.c:6239 napi_poll+0x43b/0xfd0 net/core/dev.c:6684 net_rx_action+0x35c/0xd40 net/core/dev.c:6752 __do_softirq+0x2ea/0x7f5 kernel/softirq.c:293 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:23 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] do_softirq_own_stack+0x7c/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:390 [inline] __irq_exit_rcu+0x226/0x270 kernel/softirq.c:420 irq_exit_rcu+0xe/0x10 kernel/softirq.c:432 sysvec_call_function_single+0x107/0x130 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x12/0x20 arch/x86/include/asm/idtentry.h:601 RIP: 0010:__msan_poison_alloca+0xe3/0x120 mm/kmsan/kmsan_instr.c:191 Code: 00 e8 21 fe b2 03 65 44 0f c1 3d 48 29 cc 7d 41 ff cf 75 34 89 c3 e8 0c d5 14 ff 48 8b 44 24 08 48 89 44 24 10 ff 74 24 10 9d <4c> 89 e7 44 89 f6 89 da e8 10 f5 ff ff 48 8d 65 d8 5b 41 5c 41 5d RSP: 0018:ffff8881098baaa0 EFLAGS: 00000246 RAX: 0000000000000246 RBX: 0000000006a30008 RCX: ffffffff81693fda RDX: 0000000000000a20 RSI: 0000000000093380 RDI: 0000000003bb34cf RBP: ffff8881098bab20 R08: 0000000000000002 R09: ffff8881098baad8 R10: 0000000000000004 R11: 0000000000000000 R12: ffff8881098bab40 R13: 0000000000000001 R14: 0000000000000008 R15: 0000000000000000 native_save_fl kernel/softirq.c:169 [inline] arch_local_save_flags arch/x86/include/asm/irqflags.h:79 [inline] arch_local_irq_save arch/x86/include/asm/irqflags.h:120 [inline] do_softirq kernel/softirq.c:333 [inline] __local_bh_enable_ip+0xea/0x1d0 kernel/softirq.c:190 local_bh_enable+0x36/0x40 include/linux/bottom_half.h:32 rcu_read_unlock_bh include/linux/rcupdate.h:723 [inline] ip_finish_output2+0x2459/0x2930 net/ipv4/ip_output.c:229 __ip_finish_output+0xeb5/0xfd0 net/ipv4/ip_output.c:306 ip_finish_output+0x14b/0x4b0 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x5f2/0x6e0 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:125 [inline] __ip_queue_xmit+0x1eac/0x23c0 net/ipv4/ip_output.c:530 ip_queue_xmit+0xcc/0xf0 include/net/ip.h:237 __tcp_transmit_skb+0x4b9e/0x5d70 net/ipv4/tcp_output.c:1240 tcp_transmit_skb net/ipv4/tcp_output.c:1256 [inline] tcp_write_xmit+0x4f5b/0xe6a0 net/ipv4/tcp_output.c:2519 tcp_push_one+0x1b6/0x240 net/ipv4/tcp_output.c:2708 tcp_sendmsg_locked+0x5772/0x7e60 net/ipv4/tcp.c:1391 tcp_sendmsg+0xb2/0x100 net/ipv4/tcp.c:1441 inet_sendmsg+0x15b/0x1d0 net/ipv4/af_inet.c:814 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0xc82/0x1240 net/socket.c:2352 ___sys_sendmsg net/socket.c:2406 [inline] __sys_sendmsg+0x6d1/0x840 net/socket.c:2439 __compat_sys_sendmsg net/compat.c:466 [inline] __do_compat_sys_sendmsg net/compat.c:473 [inline] __se_compat_sys_sendmsg+0xa7/0xc0 net/compat.c:470 __ia32_compat_sys_sendmsg+0x4a/0x70 net/compat.c:470 do_syscall_32_irqs_on arch/x86/entry/common.c:430 [inline] __do_fast_syscall_32+0x2af/0x480 arch/x86/entry/common.c:477 do_fast_syscall_32+0x6b/0xd0 arch/x86/entry/common.c:505 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:554 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f2e549 Code: Bad RIP value. RSP: 002b:00000000f55280cc EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020001400 RDX: 0000000000006d70 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Local variable ----iph@ip_vs_in created at: ip_vs_in+0xb2/0x3760 net/netfilter/ipvs/ip_vs_core.c:1985 ip_vs_in+0xb2/0x3760 net/netfilter/ipvs/ip_vs_core.c:1985 =====================================================