================================================================== BUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2108 [inline] BUG: KMSAN: uninit-value in ipv6_destopt_rcv+0x3df/0xde0 net/ipv6/exthdrs.c:292 CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.16.0+ #84 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:53 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:676 pskb_may_pull include/linux/skbuff.h:2108 [inline] ipv6_destopt_rcv+0x3df/0xde0 net/ipv6/exthdrs.c:292 ip6_input_finish+0xa62/0x2110 net/ipv6/ip6_input.c:284 NF_HOOK include/linux/netfilter.h:288 [inline] ip6_input net/ipv6/ip6_input.c:327 [inline] ip6_mc_input+0x697/0x740 net/ipv6/ip6_input.c:404 dst_input include/net/dst.h:449 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:71 [inline] NF_HOOK include/linux/netfilter.h:288 [inline] ipv6_rcv+0x20ec/0x26d0 net/ipv6/ip6_input.c:208 __netif_receive_skb_core+0x47cf/0x4a80 net/core/dev.c:4562 __netif_receive_skb net/core/dev.c:4627 [inline] process_backlog+0x62d/0xe20 net/core/dev.c:5307 napi_poll net/core/dev.c:5705 [inline] net_rx_action+0x7c1/0x1a70 net/core/dev.c:5771 __do_softirq+0x56d/0x93d kernel/softirq.c:285 run_ksoftirqd+0x1f/0x40 kernel/softirq.c:666 smpboot_thread_fn+0x488/0x970 kernel/smpboot.c:164 kthread+0x539/0x720 kernel/kthread.c:239 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:406 Uninit was stored to memory at: QAT: Invalid ioctl kmsan_save_stack_with_flags mm/kmsan/kmsan.c:278 [inline] kmsan_save_stack mm/kmsan/kmsan.c:293 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:684 kmsan_memcpy_origins+0x11d/0x170 mm/kmsan/kmsan.c:526 __msan_memcpy+0x19f/0x1f0 mm/kmsan/kmsan_instr.c:470 skb_copy_bits+0x63a/0xdb0 net/core/skbuff.c:2046 __pskb_pull_tail+0x483/0x22e0 net/core/skbuff.c:1883 pskb_may_pull include/linux/skbuff.h:2112 [inline] ipv6_destopt_rcv+0x660/0xde0 net/ipv6/exthdrs.c:291 ip6_input_finish+0xa62/0x2110 net/ipv6/ip6_input.c:284 NF_HOOK include/linux/netfilter.h:288 [inline] ip6_input net/ipv6/ip6_input.c:327 [inline] ip6_mc_input+0x697/0x740 net/ipv6/ip6_input.c:404 dst_input include/net/dst.h:449 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:71 [inline] NF_HOOK include/linux/netfilter.h:288 [inline] ipv6_rcv+0x20ec/0x26d0 net/ipv6/ip6_input.c:208 __netif_receive_skb_core+0x47cf/0x4a80 net/core/dev.c:4562 __netif_receive_skb net/core/dev.c:4627 [inline] process_backlog+0x62d/0xe20 net/core/dev.c:5307 napi_poll net/core/dev.c:5705 [inline] net_rx_action+0x7c1/0x1a70 net/core/dev.c:5771 __do_softirq+0x56d/0x93d kernel/softirq.c:285 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:278 [inline] kmsan_alloc_meta_for_pages+0x161/0x3a0 mm/kmsan/kmsan.c:814 kmsan_alloc_page+0x82/0xe0 mm/kmsan/kmsan.c:868 __alloc_pages_nodemask+0xf5b/0x5dc0 mm/page_alloc.c:4283 alloc_pages_current+0x6b5/0x970 mm/mempolicy.c:2055 alloc_pages include/linux/gfp.h:494 [inline] skb_page_frag_refill+0x3ba/0x5e0 net/core/sock.c:2208 sk_page_frag_refill+0xa4/0x340 net/core/sock.c:2228 __ip6_append_data+0x1a20/0x4bb0 net/ipv6/ip6_output.c:1503 ip6_append_data+0x40e/0x6b0 net/ipv6/ip6_output.c:1576 rawv6_sendmsg+0x2787/0x4cc0 net/ipv6/raw.c:928 inet_sendmsg+0x48d/0x740 net/ipv4/af_inet.c:764 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg net/socket.c:640 [inline] ___sys_sendmsg+0xec0/0x1310 net/socket.c:2046 __sys_sendmsg net/socket.c:2080 [inline] SYSC_sendmsg+0x2a3/0x3d0 net/socket.c:2091 SyS_sendmsg+0x54/0x80 net/socket.c:2087 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 ==================================================================