All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.18.y 0/5] net: validate GSO headers and preserve XFRM inner offsets
@ 2026-11-25 19:57 Artem Dinaburg
  2026-11-25 19:57 ` [PATCH 6.18.y 1/5] net: init shinfo->gso_segs from qdisc_pkt_len_init() Artem Dinaburg
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Artem Dinaburg @ 2026-11-25 19:57 UTC (permalink / raw)
  To: stable
  Cc: ast, cratiu, davem, edumazet, herbert, horms, ipsec, jhs, joe,
	kuba, mst, netdev, pabeni, shawnq1, steffen.klassert, willemb

Hi,

Please apply these five patches to 6.18.y. Patch 2 fixes CVE-2026-53091;
the others are its prerequisite and the upstream fixes that followed it.

1/5 be1b70ab21cb initialises shinfo->gso_segs for SKB_GSO_DODGY
    packets. Patches 2 and 4 build on it. It applies unchanged.
2/5 7fb4c1967011 pulls GSO headers into the linear area before
    transmit accounting uses them and drops malformed packets. It
    needed adaptation; see its backport note.
3/5 fa90a3145c03 stops xfrm from overwriting inner header offsets set
    by a tunnel. Without it, patch 2 drops VXLAN-over-IPsec GSO traffic.
    It applies unchanged.
4/5 c6648c9f3b51 bounds the segment count and accounted length of
    untrusted GSO packets. Only its context differs from upstream.
5/5 35d2d6e5ac0d rejects a negative TCP header offset in the code
    added by patch 2. It applies unchanged.

Patch 2 is in 6.6.160, 6.12.114 and 7.0.10, and in mainline since 7.1.
It does not cherry-pick onto 6.18.y (checked on 6.18.57 and 6.18.65)
because 6.18.y predates the qdisc_pkt_len_segs_init() rename and its
pkt_segs accounting. Patch 5 is also in 6.6.163 and 6.12.118. All five
changes are in 7.3.6.

Compiled net/core/dev.o, net/core/skbuff.o and net/xfrm/xfrm_output.o
with CONFIG_WERROR=y on 6.18.65 with the whole series applied, from a
cumulative x86_64 tree, with and without the current queue-6.18
patches. The intermediate patches were not built separately. No kernel
boot or runtime test was performed.

An LLM was used to prepare these backports and to check applicability
and stable-queue history; I reviewed the result.

Thanks,
Artem Dinaburg

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

end of thread, other threads:[~2026-11-27 17:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 19:57 [PATCH 6.18.y 0/5] net: validate GSO headers and preserve XFRM inner offsets Artem Dinaburg
2026-11-25 19:57 ` [PATCH 6.18.y 1/5] net: init shinfo->gso_segs from qdisc_pkt_len_init() Artem Dinaburg
2026-11-25 19:57 ` [PATCH 6.18.y 2/5] net: pull headers in qdisc_pkt_len_segs_init() Artem Dinaburg
2026-11-25 19:57 ` [PATCH 6.18.y 3/5] xfrm: Don't clobber inner headers when already set Artem Dinaburg
2026-11-25 19:57 ` [PATCH 6.18.y 4/5] net: harden qdisc_pkt_len_segs_init() against malicious GSO packets Artem Dinaburg
2026-11-25 19:57 ` [PATCH 6.18.y 5/5] net: reject a negative TCP header offset in qdisc_pkt_len_segs_init() Artem Dinaburg
2026-11-27 17:00 ` [PATCH 6.18.y 0/5] net: validate GSO headers and preserve XFRM inner offsets Sasha Levin

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.