================================================================== BUG: KMSAN: uninit-value in _decode_session6+0x645/0x1650 net/ipv6/xfrm6_policy.c:149 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.0-rc4+ #56 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+0x2f6/0x430 lib/dump_stack.c:113 kmsan_report+0x183/0x2b0 mm/kmsan/kmsan.c:956 __msan_warning+0x70/0xc0 mm/kmsan/kmsan_instr.c:645 _decode_session6+0x645/0x1650 net/ipv6/xfrm6_policy.c:149 __xfrm_decode_session+0x156/0x200 net/xfrm/xfrm_policy.c:2299 xfrm_decode_session_reverse include/net/xfrm.h:1239 [inline] icmpv6_route_lookup net/ipv6/icmp.c:372 [inline] icmp6_send+0x2d01/0x3840 net/ipv6/icmp.c:551 icmpv6_send+0xe5/0x110 net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x5c/0x310 net/ipv6/route.c:2255 dst_link_failure include/net/dst.h:427 [inline] ndisc_error_report+0x106/0x1a0 net/ipv6/ndisc.c:695 neigh_invalidate+0x35b/0x900 net/core/neighbour.c:894 neigh_timer_handler+0xb72/0x1290 net/core/neighbour.c:980 call_timer_fn+0x310/0x6c0 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers+0xe25/0x1280 kernel/time/timer.c:1682 run_timer_softirq+0x2e/0x50 kernel/time/timer.c:1695 __do_softirq+0x614/0xa72 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x20a/0x240 kernel/softirq.c:414 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:536 smp_apic_timer_interrupt+0x64/0x90 arch/x86/kernel/apic/apic.c:1059 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:869 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:58 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:100 [inline] RIP: 0010:default_idle+0x2e/0x50 arch/x86/kernel/process.c:498 Code: 53 e8 16 4a 99 f8 48 89 c3 65 8b 34 25 20 a1 02 00 c7 00 00 00 00 00 c7 40 08 00 00 00 00 bf 01 00 00 00 e8 74 a4 db f7 fb f4 <65> 8b 34 25 20 a1 02 00 c7 03 00 00 00 00 c7 43 08 00 00 00 00 bf RSP: 0018:ffff8801d4f0fe28 EFLAGS: 00000296 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: ffff8801d4dea680 RCX: 0000000000000001 RDX: ffff8801ff106628 RSI: aaaaaaaaaaaab000 RDI: 0000000000000000 RBP: ffff8801d4f0fe30 R08: ffffffff7fffffff R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff89325170 R12: ffff8801d4f0fe97 R13: ffff8801d4de9d80 R14: ffff8801d4f0fe94 R15: ffff8801d4dea680 arch_cpu_idle+0x26/0x30 arch/x86/kernel/process.c:489 default_idle_call kernel/sched/idle.c:93 [inline] cpuidle_idle_call kernel/sched/idle.c:153 [inline] do_idle+0x351/0x840 kernel/sched/idle.c:262 cpu_startup_entry+0x45/0x50 kernel/sched/idle.c:368 start_secondary+0x399/0x460 arch/x86/kernel/smpboot.c:271 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:256 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:181 kmsan_kmalloc+0x98/0x100 mm/kmsan/kmsan_hooks.c:91 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan_hooks.c:100 slab_post_alloc_hook mm/slab.h:446 [inline] slab_alloc_node mm/slub.c:2718 [inline] __kmalloc_node_track_caller+0xb55/0x1380 mm/slub.c:4351 __kmalloc_reserve net/core/skbuff.c:138 [inline] pskb_expand_head+0x326/0x1e10 net/core/skbuff.c:1461 __pskb_pull_tail+0x1e3/0x21b0 net/core/skbuff.c:1895 pskb_may_pull include/linux/skbuff.h:2127 [inline] _decode_session6+0x7c0/0x1650 net/ipv6/xfrm6_policy.c:150 __xfrm_decode_session+0x156/0x200 net/xfrm/xfrm_policy.c:2299 xfrm_decode_session_reverse include/net/xfrm.h:1239 [inline] icmpv6_route_lookup net/ipv6/icmp.c:372 [inline] icmp6_send+0x2d01/0x3840 net/ipv6/icmp.c:551 icmpv6_send+0xe5/0x110 net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x5c/0x310 net/ipv6/route.c:2255 dst_link_failure include/net/dst.h:427 [inline] ndisc_error_report+0x106/0x1a0 net/ipv6/ndisc.c:695 neigh_invalidate+0x35b/0x900 net/core/neighbour.c:894 neigh_timer_handler+0xb72/0x1290 net/core/neighbour.c:980 call_timer_fn+0x310/0x6c0 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers+0xe25/0x1280 kernel/time/timer.c:1682 run_timer_softirq+0x2e/0x50 kernel/time/timer.c:1695 __do_softirq+0x614/0xa72 kernel/softirq.c:292 ==================================================================