================================================================== BUG: KMSAN: uninit-value in _decode_session6+0x645/0x1650 net/ipv6/xfrm6_policy.c:149 CPU: 0 PID: 10128 Comm: blkid 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_restore_fl arch/x86/include/asm/irqflags.h:40 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:81 [inline] RIP: 0010:__msan_poison_alloca+0x164/0x1f0 mm/kmsan/kmsan_instr.c:607 Code: 48 8d 7c 24 28 be 20 00 48 00 e8 87 a3 a9 02 41 83 86 f4 08 00 00 ff 75 7f 89 c3 e8 56 5c 40 ff 4c 89 64 24 20 ff 74 24 20 9d <48> 8b 7c 24 08 44 89 fe 89 da e8 6d fd ff ff 48 8d 65 d8 5b 41 5c RSP: 0018:ffff8801284cf840 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000080800000 RBX: 0000000080800000 RCX: ffff8801284cf880 RDX: 0000000000000004 RSI: 0000000000000004 RDI: 00000000e79876d6 RBP: ffff8801284cf8e0 R08: 0000000000480020 R09: 0000000000000002 R10: 000000012a9e5067 R11: 0000000000000000 R12: 0000000000000246 R13: ffff8801284cf908 R14: ffff8801aa051d80 R15: 0000000000000008 rcu_all_qs+0x2e/0x1b0 kernel/rcu/tree.c:470 _cond_resched+0x38/0xc0 kernel/sched/core.c:4974 change_pmd_range mm/mprotect.c:214 [inline] change_pud_range mm/mprotect.c:238 [inline] change_p4d_range mm/mprotect.c:258 [inline] change_protection_range mm/mprotect.c:283 [inline] change_protection+0x2332/0x2b00 mm/mprotect.c:304 mprotect_fixup+0xbc3/0x1300 mm/mprotect.c:431 do_mprotect_pkey+0xba2/0x11b0 mm/mprotect.c:555 __do_sys_mprotect mm/mprotect.c:580 [inline] __se_sys_mprotect+0x9d/0xc0 mm/mprotect.c:577 __x64_sys_mprotect+0x4a/0x70 mm/mprotect.c:577 do_syscall_64+0xb8/0x100 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x7fe9e0083447 Code: 73 01 c3 48 8d 0d 5d ad 20 00 31 d2 48 29 c2 89 11 48 83 c8 ff eb eb 90 90 90 90 90 90 90 90 90 90 90 90 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d 2d ad 20 00 31 d2 48 29 c2 89 RSP: 002b:00007ffd1ae2f518 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007fe9e028b4c8 RCX: 00007fe9e0083447 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 00007fe9dfe69000 RBP: 00007ffd1ae2f7e0 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000206 R12: 00007ffd1ae2f8c8 R13: 0000000000000002 R14: 0000000000000030 R15: 00007ffd1ae2f560 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 ==================================================================