===================================================== BUG: KMSAN: uninit-value in update_stack_state+0x1ee/0xb40 arch/x86/kernel/unwind_frame.c:202 CPU: 1 PID: 10431 Comm: kworker/1:6 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work 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_v6_do_rcv+0xa36/0x1fe0 net/ipv6/tcp_ipv6.c:1449 tcp_v6_rcv+0x56db/0x5a80 net/ipv6/tcp_ipv6.c:1682 ip6_protocol_deliver_rcu+0x14a2/0x2660 net/ipv6/ip6_input.c:433 ip6_input_finish net/ipv6/ip6_input.c:474 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip6_input+0x2dd/0x370 net/ipv6/ip6_input.c:483 dst_input include/net/dst.h:449 [inline] ip6_rcv_finish+0x5fc/0x7f0 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:307 [inline] ipv6_rcv+0x3bb/0x460 net/ipv6/ip6_input.c:307 __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:kmsan_phys_addr_valid mm/kmsan/kmsan_shadow.c:63 [inline] RIP: 0010:kmsan_virt_addr_valid mm/kmsan/kmsan_shadow.c:87 [inline] RIP: 0010:virt_to_page_or_null+0x25/0xf0 mm/kmsan/kmsan_shadow.c:129 Code: 00 00 00 00 00 55 48 89 e5 48 89 f8 48 2d 00 00 00 80 0f 83 c3 00 00 00 48 ba 00 00 00 00 80 77 00 00 48 01 fa 48 39 c2 77 55 <8a> 0d 32 11 77 10 48 89 d6 48 d3 ee 48 85 f6 75 44 48 89 d1 48 c1 RSP: 0018:ffff888052bffae0 EFLAGS: 00000207 RAX: ffff888102a656f8 RBX: ffff888082a656f8 RCX: 0000000082265600 RDX: 0000000082a656f8 RSI: 0000000000000200 RDI: ffff888082a656f8 RBP: ffff888052bffae0 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000004 R11: 00000000ffff0000 R12: ffff888033f76026 R13: ffff888032595200 R14: 0000000000000001 R15: 0000000000000001 kmsan_get_metadata+0x116/0x180 mm/kmsan/kmsan_shadow.c:194 kmsan_get_shadow_origin_ptr+0x81/0xb0 mm/kmsan/kmsan_shadow.c:154 __msan_metadata_ptr_for_load_8+0x10/0x20 mm/kmsan/kmsan_instr.c:55 nsim_dev_trap_report drivers/net/netdevsim/dev.c:560 [inline] nsim_dev_trap_report_work+0xa8e/0x1180 drivers/net/netdevsim/dev.c:598 process_one_work+0x1688/0x2140 kernel/workqueue.c:2269 worker_thread+0x10bc/0x2730 kernel/workqueue.c:2415 kthread+0x551/0x590 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Local variable ----sg.i@wg_packet_encrypt_worker created at: encrypt_packet drivers/net/wireguard/send.c:167 [inline] wg_packet_encrypt_worker+0x4bb/0x26d0 drivers/net/wireguard/send.c:301 encrypt_packet drivers/net/wireguard/send.c:167 [inline] wg_packet_encrypt_worker+0x4bb/0x26d0 drivers/net/wireguard/send.c:301 =====================================================