Thread (3 messages) flat view 3 messages, 2 authors, 1d ago
WARM1d

Revision v6 of 6 in this series.

Revisions (6)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 [diff vs current]
  6. v6 current

[PATCH net v6 0/1] net: gso: limit recursive IP-in-IP segmentation

From: Zihan Xi <hidden>
Date: 2026-09-24 05:15:34
Also in: lkml

Hi Linux kernel maintainers,

This reroll uses IP_TUNNEL_RECURSION_LIMIT directly for the shared
IPv4/IPv6 GSO recursion check and adds the requested Closes tag.

The v5 cover letter has the bug details, PoC, and validation evidence:
https://lore.kernel.org/all/cover.1790157745.git.zihanx@nebusec.ai/ (local)

The v6 code was rebuilt and the PoC was rerun on x86_64. The BPF/veth
path sent 65536 bytes; tracefs observed six inet_gso_segment() entries,
with the sixth returning -EINVAL. The UID 65534 namespace-only path
completed with depth 180, gso_size 1400, and sendmsg() returning 3676.
No stack-guard, BUG, Oops, or panic was observed. IPv6 was build-enabled
but was not separately exercised at runtime.

Best regards,
Zihan Xi

Zihan Xi (1):
  net: gso: limit recursive IP-in-IP segmentation

 include/net/gso.h      | 8 ++++++++
 net/core/gso.c         | 1 +
 net/ipv4/af_inet.c     | 3 +++
 net/ipv6/ip6_offload.c | 4 ++++
 4 files changed, 16 insertions(+)

-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help