netlink: 8 bytes leftover after parsing attributes in process `syz-executor3'. ================================================================== BUG: KMSAN: uninit-value in __read_once_size include/linux/compiler.h:197 [inline] BUG: KMSAN: uninit-value in hlist_empty include/linux/list.h:641 [inline] BUG: KMSAN: uninit-value in sk_head include/net/sock.h:551 [inline] BUG: KMSAN: uninit-value in raw6_local_deliver+0x137/0x1fd0 net/ipv6/raw.c:239 CPU: 1 PID: 13781 Comm: syz-executor4 Not tainted 4.16.0+ #85 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:683 __read_once_size include/linux/compiler.h:197 [inline] hlist_empty include/linux/list.h:641 [inline] sk_head include/net/sock.h:551 [inline] raw6_local_deliver+0x137/0x1fd0 net/ipv6/raw.c:239 ip6_input_finish+0x585/0x2250 net/ipv6/ip6_input.c:246 NF_HOOK include/linux/netfilter.h:288 [inline] ip6_input net/ipv6/ip6_input.c:327 [inline] ip6_mc_input+0xa67/0x1080 net/ipv6/ip6_input.c:404 dst_input include/net/dst.h:449 [inline] ip6_rcv_finish+0x46e/0x6e0 net/ipv6/ip6_input.c:71 NF_HOOK include/linux/netfilter.h:288 [inline] ipv6_rcv+0x1e16/0x2340 net/ipv6/ip6_input.c:208 __netif_receive_skb_core+0x47df/0x4a90 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 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1040 do_softirq+0xb6/0xf0 kernel/softirq.c:329 netif_rx_ni net/core/dev.c:4192 [inline] dev_loopback_xmit+0x8b0/0x900 net/core/dev.c:3320 NF_HOOK include/linux/netfilter.h:288 [inline] ip6_finish_output2+0x1e4b/0x2130 net/ipv6/ip6_output.c:84 ip6_fragment+0x32a8/0x5160 net/ipv6/ip6_output.c:740 ip6_finish_output+0xa0d/0xba0 net/ipv6/ip6_output.c:152 NF_HOOK_COND include/linux/netfilter.h:277 [inline] ip6_output+0x597/0x6c0 net/ipv6/ip6_output.c:171 dst_output include/net/dst.h:443 [inline] ip6_local_out+0x15e/0x1d0 net/ipv6/output_core.c:176 ip6_send_skb net/ipv6/ip6_output.c:1682 [inline] ip6_push_pending_frames+0x218/0x4d0 net/ipv6/ip6_output.c:1702 rawv6_push_pending_frames net/ipv6/raw.c:616 [inline] rawv6_sendmsg+0x4235/0x4fb0 net/ipv6/raw.c:935 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_sendmmsg+0x42d/0x800 net/socket.c:2136 SYSC_sendmmsg+0xc4/0x110 net/socket.c:2167 SyS_sendmmsg+0x63/0x90 net/socket.c:2162 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455389 RSP: 002b:00007f279db54c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f279db556d4 RCX: 0000000000455389 RDX: 0000000000000249 RSI: 0000000020001300 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004d0 R14: 00000000006fa420 R15: 0000000000000000 Uninit was stored to memory at: 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 kmsan_memmove_origins+0x9/0x10 mm/kmsan/kmsan.c:581 __msan_memmove+0xda/0x130 mm/kmsan/kmsan_instr.c:416 ip6_frag_reasm net/ipv6/reassembly.c:462 [inline] ip6_frag_queue net/ipv6/reassembly.c:358 [inline] ipv6_frag_rcv+0x50cb/0x6a00 net/ipv6/reassembly.c:569 ip6_input_finish+0xaac/0x2250 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+0xa67/0x1080 net/ipv6/ip6_input.c:404 dst_input include/net/dst.h:449 [inline] ip6_rcv_finish+0x46e/0x6e0 net/ipv6/ip6_input.c:71 NF_HOOK include/linux/netfilter.h:288 [inline] ipv6_rcv+0x1e16/0x2340 net/ipv6/ip6_input.c:208 __netif_receive_skb_core+0x47df/0x4a90 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_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:188 kmsan_kmalloc+0x94/0x100 mm/kmsan/kmsan.c:314 kmsan_slab_alloc+0x11/0x20 mm/kmsan/kmsan.c:321 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc_node mm/slub.c:2737 [inline] __kmalloc_node_track_caller+0xaed/0x11c0 mm/slub.c:4369 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2cf/0x9f0 net/core/skbuff.c:206 alloc_skb include/linux/skbuff.h:984 [inline] sock_wmalloc+0x13e/0x6e0 net/core/sock.c:1937 __ip6_append_data+0x34ee/0x4bc0 net/ipv6/ip6_output.c:1421 ip6_append_data+0x40e/0x6b0 net/ipv6/ip6_output.c:1576 rawv6_sendmsg+0x2740/0x4fb0 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_sendmmsg+0x42d/0x800 net/socket.c:2136 SYSC_sendmmsg+0xc4/0x110 net/socket.c:2167 SyS_sendmmsg+0x63/0x90 net/socket.c:2162 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 ==================================================================