All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] Fix UDP length overflow in edge cases
@ 2026-08-13 12:03 Alice Mikityanska
  2026-08-13 12:03 ` [PATCH net v2 1/2] net: Fix UDP length overflow with PMTU discover and big MTU Alice Mikityanska
  2026-08-13 12:03 ` [PATCH net v2 2/2] net: ipv6: Clamp to IP6_MAX_MTU in ip6_dst_mtu_maybe_forward Alice Mikityanska
  0 siblings, 2 replies; 5+ messages in thread
From: Alice Mikityanska @ 2026-08-13 12:03 UTC (permalink / raw)
  To: Willem de Bruijn, David Ahern, Ido Schimmel, Jakub Kicinski,
	Paolo Abeni
  Cc: David S. Miller, Eric Dumazet, Simon Horman, Shuah Khan,
	Hannes Frederic Sowa, Vadim Fedorenko, netdev, linux-kselftest,
	Alice Mikityanska

From: Alice Mikityanska <alice@isovalent.com>

These are fixes for rare edge cases of 16-bit UDP length field overflow
that might happen on netdevs with MTU >= 64k.

Exposed by the new WARN added to udp_set_len_short, reported by syzbot.

v1: https://lore.kernel.org/netdev/20260805205957.1652619-1-alice.kernel@fastmail.im/

Alice Mikityanska (2):
  net: Fix UDP length overflow with PMTU discover and big MTU
  net: ipv6: Clamp to IP6_MAX_MTU in ip6_dst_mtu_maybe_forward

 include/net/ip6_route.h                      |  2 +
 net/ipv4/ip_output.c                         |  2 +
 net/ipv6/ip6_output.c                        |  2 +-
 tools/testing/selftests/net/Makefile         |  1 +
 tools/testing/selftests/net/cork_fragsize.py | 77 ++++++++++++++++++++
 5 files changed, 83 insertions(+), 1 deletion(-)
 create mode 100755 tools/testing/selftests/net/cork_fragsize.py

-- 
2.55.0


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

end of thread, other threads:[~2026-08-13 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 12:03 [PATCH net v2 0/2] Fix UDP length overflow in edge cases Alice Mikityanska
2026-08-13 12:03 ` [PATCH net v2 1/2] net: Fix UDP length overflow with PMTU discover and big MTU Alice Mikityanska
2026-08-13 20:11   ` Willem de Bruijn
2026-08-13 12:03 ` [PATCH net v2 2/2] net: ipv6: Clamp to IP6_MAX_MTU in ip6_dst_mtu_maybe_forward Alice Mikityanska
2026-08-13 20:25   ` Willem de Bruijn

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.