================================================================== BUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2114 [inline] BUG: KMSAN: uninit-value in ipv6_gso_pull_exthdrs net/ipv6/ip6_offload.c:47 [inline] BUG: KMSAN: uninit-value in ipv6_gso_segment+0x925/0x1f00 net/ipv6/ip6_offload.c:87 CPU: 1 PID: 13055 Comm: syz-executor5 Not tainted 4.18.0-rc4+ #27 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+0x185/0x1e0 lib/dump_stack.c:113 kmsan_report+0x195/0x2c0 mm/kmsan/kmsan.c:982 __msan_warning+0x7d/0xe0 mm/kmsan/kmsan_instr.c:645 pskb_may_pull include/linux/skbuff.h:2114 [inline] ipv6_gso_pull_exthdrs net/ipv6/ip6_offload.c:47 [inline] ipv6_gso_segment+0x925/0x1f00 net/ipv6/ip6_offload.c:87 skb_mac_gso_segment+0x456/0x7e0 net/core/dev.c:2792 nsh_gso_segment+0x658/0x1340 net/nsh/nsh.c:111 skb_mac_gso_segment+0x456/0x7e0 net/core/dev.c:2792 __skb_gso_segment+0x757/0xa40 net/core/dev.c:2865 skb_gso_segment include/linux/netdevice.h:4099 [inline] validate_xmit_skb+0xc30/0x1320 net/core/dev.c:3104 __dev_queue_xmit+0x2443/0x3c70 net/core/dev.c:3561 dev_queue_xmit+0x4b/0x60 net/core/dev.c:3602 packet_snd net/packet/af_packet.c:2919 [inline] packet_sendmsg+0x8469/0x9010 net/packet/af_packet.c:2944 sock_sendmsg_nosec net/socket.c:641 [inline] sock_sendmsg net/socket.c:651 [inline] __sys_sendto+0x798/0x8e0 net/socket.c:1797 __do_sys_sendto net/socket.c:1809 [inline] __se_sys_sendto net/socket.c:1805 [inline] __x64_sys_sendto+0x1a1/0x210 net/socket.c:1805 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x455ab9 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7ccb6e6c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7ccb6e76d4 RCX: 0000000000455ab9 RDX: 0000000000000012 RSI: 0000000020000000 RDI: 0000000000000014 RBP: 000000000072bf48 R08: 00000000200000c0 R09: 000000000000001c R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c1164 R14: 00000000004d1860 R15: 0000000000000001 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:256 [inline] kmsan_internal_poison_shadow+0xc8/0x1d0 mm/kmsan/kmsan.c:181 kmsan_kmalloc+0xa1/0x120 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:2720 [inline] slab_alloc mm/slub.c:2728 [inline] __kmalloc_track_caller+0x98a/0xce0 mm/slub.c:4323 kmemdup+0x95/0x140 mm/util.c:118 __devinet_sysctl_register+0xe9/0x780 net/ipv4/devinet.c:2312 devinet_sysctl_register+0x2f2/0x3a0 net/ipv4/devinet.c:2364 inetdev_init+0x550/0xa80 net/ipv4/devinet.c:264 inetdev_event+0xf42/0x1e00 net/ipv4/devinet.c:1468 notifier_call_chain kernel/notifier.c:93 [inline] __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x13e/0x240 kernel/notifier.c:401 call_netdevice_notifiers_info net/core/dev.c:1735 [inline] call_netdevice_notifiers net/core/dev.c:1753 [inline] register_netdevice+0x21fa/0x2790 net/core/dev.c:8028 veth_newlink+0xbc2/0x14e0 drivers/net/veth.c:416 rtnl_newlink+0x28c0/0x3990 net/core/rtnetlink.c:3050 rtnetlink_rcv_msg+0xa6f/0x15a0 net/core/rtnetlink.c:4662 netlink_rcv_skb+0x394/0x640 net/netlink/af_netlink.c:2448 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:4680 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x16da/0x17b0 net/netlink/af_netlink.c:1336 netlink_sendmsg+0x10c4/0x13d0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:641 [inline] sock_sendmsg net/socket.c:651 [inline] ___sys_sendmsg+0xed9/0x1350 net/socket.c:2125 __sys_sendmsg net/socket.c:2163 [inline] __do_sys_sendmsg net/socket.c:2172 [inline] __se_sys_sendmsg net/socket.c:2170 [inline] __x64_sys_sendmsg+0x3b0/0x520 net/socket.c:2170 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================