public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/3] bridge/vxlan: harden ND option parsing paths
@ 2026-03-26  3:44 Yang Yang
  2026-03-26  3:44 ` [PATCH net 1/3] bridge: br_nd_send: linearize skb before parsing ND options Yang Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Yang Yang @ 2026-03-26  3:44 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, razor, idosch
  Cc: andrew+netdev, horms, florian.fainelli, roopa, dlstevens, nb,
	netdev, bridge, linux-kernel, yifanwucs, tomapufckgml, tanyuan98,
	bird, n05ec

Hi,

This series hardens ND option parsing in bridge and vxlan paths.

Patch 1 linearizes the request skb in br_nd_send() before walking ND
options. Patch 2 adds explicit ND option length validation in
br_nd_send(). Patch 3 adds matching ND option length validation in
vxlan_na_create().

Thanks.

Yang Yang (3):
  bridge: br_nd_send: linearize skb before parsing ND options
  bridge: br_nd_send: validate ND option lengths
  vxlan: validate ND option lengths in vxlan_na_create

 drivers/net/vxlan/vxlan_core.c |  6 ++++--
 net/bridge/br_arp_nd_proxy.c   | 18 +++++++++++-------
 2 files changed, 15 insertions(+), 9 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-27  6:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26  3:44 [PATCH net 0/3] bridge/vxlan: harden ND option parsing paths Yang Yang
2026-03-26  3:44 ` [PATCH net 1/3] bridge: br_nd_send: linearize skb before parsing ND options Yang Yang
2026-03-26 16:29   ` Ido Schimmel
2026-03-27  6:37   ` Nikolay Aleksandrov
2026-03-26  3:44 ` [PATCH net 2/3] bridge: br_nd_send: validate ND option lengths Yang Yang
2026-03-26 16:30   ` Ido Schimmel
2026-03-27  6:37   ` Nikolay Aleksandrov
2026-03-26  3:44 ` [PATCH net 3/3] vxlan: validate ND option lengths in vxlan_na_create Yang Yang
2026-03-26 16:30   ` Ido Schimmel
2026-03-27  6:38   ` Nikolay Aleksandrov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox