=====================================================
BUG: KMSAN: uninit-value in update_stack_state+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238
CPU: 1 PID: 17 Comm: kworker/1:0 Not tainted 5.8.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: wg-crypt-wg0 wg_packet_tx_worker
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+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238
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_expand_head+0x3fd/0x1e30 net/core/skbuff.c:1636
netif_receive_generic_xdp+0x629/0x2530 net/core/dev.c:4616
do_xdp_generic net/core/dev.c:4735 [inline]
__netif_receive_skb_core+0x823/0x6520 net/core/dev.c:5107
__netif_receive_skb_one_core net/core/dev.c:5279 [inline]
__netif_receive_skb+0x164/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:is_bad_asm_addr mm/kmsan/kmsan_instr.c:20 [inline]
RIP: 0010:__msan_instrument_asm_store+0x69/0x120 mm/kmsan/kmsan_instr.c:72
Code: 73 10 00 75 1c c6 05 c7 1a 73 10 01 48 c7 c7 06 65 e1 91 31 c0 e8 b7 02 30 ff 0f 0b eb 03 49 89 f6 65 48 8b 0c 25 00 6d 01 00 01 00 00 00 20 75 11 48 b8 00 f0 ff ff ff 7f 00 00 48 39 d8 76
RSP: 0018:ffff88812dfaba60 EFLAGS: 00000283
RAX: 0000000000000000 RBX: ffff88812dfabaa8 RCX: ffff88812dfa1e80
RDX: 0000000000000002 RSI: 0000000000000008 RDI: ffff88812dfabaa8
RBP: ffff88812dfaba88 R08: ffffea000000000f R09: ffff88812fffa000
R10: 0000000000000004 R11: 0000000000000000 R12: ffff88812dfa2858
R13: 0000000000000200 R14: 0000000000000008 R15: 0000000000000000
native_save_fl arch/x86/include/asm/irqflags.h:29 [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+0xf7/0x1d0 kernel/softirq.c:190
__raw_read_unlock_bh include/linux/rwlock_api_smp.h:251 [inline]
_raw_read_unlock_bh+0x5d/0x80 kernel/locking/spinlock.c:279
wg_socket_send_skb_to_peer+0x38b/0x420 drivers/net/wireguard/socket.c:183
wg_packet_create_data_done drivers/net/wireguard/send.c:252 [inline]
wg_packet_tx_worker+0x5a9/0x1030 drivers/net/wireguard/send.c:280
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
=====================================================