Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni <pabe…@redhat.com>: On Thu, 26 Nov 2026 11:44:12 +0800 you wrote:
> vxlan_xmit_one() calls skb_vlan_inet_prepare() to pull the inner network > header into linear memory before assigning old_iph = ip_hdr(skb). That > helper checks skb->protocol (skipping VLAN tags) and only pulls an IPv4 or > IPv6 header when the inner protocol is ETH_P_IP or ETH_P_IPV6. > > However, the VXLAN_DF_INHERIT branch inspects eth_hdr(skb)->h_proto > before reading old_iph->frag_off. With AF_PACKET/SOCK_RAW, eth->h_proto > and skb->protocol are independent: a 14-byte Ethernet frame with > h_proto set to ETH_P_IP and sll_protocol set to ETH_P_ARP passes > skb_vlan_inet_prepare() with only ETH_HLEN bytes pulled, leaving old_iph > pointing at skb->tail. Reading old_iph->frag_off then accesses 6 bytes > past skb->tail in uninitialized tailroom and copies one bit into the > outer IPv4 DF bit. > > [...]
Here is the summary with links: - [net] vxlan: fix out-of-bounds read in DF inherit path https://git.kernel.org/netdev/net-next/c/c4118a041fd7 You are awesome, thank you!