From: patchwork-bot+netdevbpf@kernel.org
To: Xiang Mei <xmei5@asu.edu>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
co+80332c538f1d1a9d@bugs.sh
Subject: Re: [PATCH net] geneve: fix out-of-bounds read in the DF inherit path
Date: Fri, 04 Dec 2026 10:50:04 +0000 [thread overview]
Message-ID: <179638140415.1010180.4536316909640870809.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261125235524.4139551-1-xmei5@asu.edu>
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Wed, 25 Nov 2026 16:55:24 -0700 you wrote:
> The GENEVE_DF_INHERIT branch of geneve_xmit_skb() decides the inner
> packet is IPv4 from skb_eth_hdr(skb)->h_proto and then reads
> ip_hdr(skb)->frag_off, but skb_vlan_inet_prepare() only pulled an IPv4
> header if skb_protocol(skb, true) is ETH_P_IP. For AF_PACKET/SOCK_RAW the
> two are independent: a 14-byte frame with h_proto 0x0800 sent with
> sll_protocol ETH_P_ARP passes the pull with only ETH_HLEN and the DF test
> reads 6 bytes past skb->tail. The stale tailroom bit is copied into the
> outer IPv4 DF bit on the wire, leaking one bit of slab memory per packet
> to a user holding CAP_NET_ADMIN/CAP_NET_RAW in a user namespace. With
> inner_proto_inherit there is no inner Ethernet header at all, so the
> h_proto test is wrong there too.
>
> [...]
Here is the summary with links:
- [net] geneve: fix out-of-bounds read in the DF inherit path
https://git.kernel.org/netdev/net-next/c/e5ba10df689a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-12-04 10:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 23:55 [PATCH net] geneve: fix out-of-bounds read in the DF inherit path Xiang Mei
2026-12-04 10:50 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179638140415.1010180.4536316909640870809.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=co+80332c538f1d1a9d@bugs.sh \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stable@vger.kernel.org \
--cc=xmei5@asu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.