* [6.18.y] Please pick four networking fixes
@ 2026-11-25 6:25 Artem Dinaburg
0 siblings, 0 replies; only message in thread
From: Artem Dinaburg @ 2026-11-25 6:25 UTC (permalink / raw)
To: stable
Cc: andrea.mayer, autonomouscodesecurity, blbllhy, bridge, davem,
dsahern, edumazet, g.goller, herbert, horms, idosch, ipsec,
justin.iurman, kuba, netdev, pabeni, razor, steffen.klassert,
xmei5, yuya.kusakabe
Hi,
Please pick the following four upstream commits for 6.18.y. None carries
a stable tag, and so far each has been backported only to 7.2.y. They
touch unrelated files and can be applied in any order.
1. 2842ce397dd09882530b42f7fdb0c855767eb24e ("net: bridge: vlan: fix
bugs caused by switchdev deletion errors"), CVE-2026-98285
When switchdev fails to delete a VLAN, __vlan_del() returns early.
This can leave inconsistent state, leak memory when the VLANs are
flushed, and cause a NULL pointer dereference on the flush error
path. The fix logs the switchdev error and completes the software
deletion. In 7.2.8 and in mainline since 7.3. Applies unchanged to
6.18.65.
2. 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1 ("xfrm: hold net_device
reference under RCU in bundle creation"), CVE-2026-98364
xfrm_bundle_create() and xfrm_create_dummy_bundle() read dst->dev
without holding a reference and pass it to xfrm_fill_dst(). A
concurrent RTM_DELLINK can free that device first, causing a
use-after-free. The fix reads the device with dst_dev_rcu() and stays
in the RCU read-side section until xfrm_fill_dst() has taken its
references. In 7.2.8 and in mainline since 7.3. Applies to 6.18.65
unchanged apart from line offsets.
3. 87cd6b717e4069dca34e0866e57eaeb44d3b173e ("net: ipv6: keep room for
the mac header in dst_dev_overhead()"), CVE-2026-98570
The seg6, rpl and ioam6 lwtunnels reserve headroom with
dst_dev_overhead(), which can be smaller than skb->mac_len, for
example on a VLAN device with reorder_hdr off.
skb_mac_header_rebuild() then computes a negative MAC header offset
and writes past the buffer. The fix makes dst_dev_overhead() return
the larger of the two values. In 7.2.9 and in mainline since 7.3.
Applies unchanged to 6.18.65.
4. 8ae3f4067ba4ae3a15581392f6dac422e3d3def0 ("seg6: ensure packet data
is writable before modifying SRH and IPv6 DA"), CVE-2026-98802
advance_nextseg() and seg6_next_csid_advance_arg() modify the SRH
and the IPv6 destination address without making the packet data
writable. If the skb is cloned, for example by an AF_PACKET socket on
the ingress device, the clone sees the modified packet. The fix calls
skb_ensure_writable() first and reloads the header pointers
afterwards. In 7.2.10 and in mainline since 7.3. Applies unchanged to
6.18.65.
Ordering note: queue-6.18 contains
seg6-fix-transport-header-for-inner-ipv4-with-ip-opt.patch, which
adds code above input_action_end_b6(). With that patch applied, a
three-way cherry-pick of this commit is clean and correct, but
applying the upstream diff as plain text places the
kfree_skb_reason() hunk for input_action_end_b6_encap() in
input_action_end_b6() instead, which fails to build.
Apart from that seg6 patch, no patch in queue-6.18 touches the files
these commits change. All four cherry-pick cleanly together onto 6.18.65
and onto 6.18.65 with the current queue-6.18 patches applied. Older
stable series are affected by some of these bugs as well; this request
covers only 6.18.y.
Compiled net/bridge/br_vlan.o, net/xfrm/xfrm_policy.o,
net/ipv6/seg6_iptunnel.o, net/ipv6/rpl_iptunnel.o,
net/ipv6/ioam6_iptunnel.o and net/ipv6/seg6_local.o with CONFIG_WERROR=y
on 6.18.65 from a cumulative x86_64 tree, with and without the current
queue-6.18 patches. No kernel boot or runtime test was performed.
An LLM was used to check applicability and stable-queue history and to
draft this request; I reviewed the result.
Thanks,
Artem Dinaburg
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-25 6:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 6:25 [6.18.y] Please pick four networking fixes Artem Dinaburg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox