From: Artem Dinaburg <artem@trailofbits.com>
To: stable@vger.kernel.org
Cc: andrea.mayer@uniroma2.it, autonomouscodesecurity@microsoft.com,
blbllhy@gmail.com, bridge@lists.linux.dev, davem@davemloft.net,
dsahern@kernel.org, edumazet@kernel.org, g.goller@proxmox.com,
herbert@gondor.apana.org.au, horms@kernel.org, idosch@nvidia.com,
ipsec@lists.linux.dev, justin.iurman@gmail.com, kuba@kernel.org,
netdev@vger.kernel.org, pabeni@redhat.com, razor@blackwall.org,
steffen.klassert@secunet.com, xmei5@asu.edu,
yuya.kusakabe@gmail.com
Subject: [6.18.y] Please pick four networking fixes
Date: Wed, 25 Nov 2026 01:25:13 -0500 [thread overview]
Message-ID: <20261125062513.96901-1-artem@trailofbits.com> (raw)
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
reply other threads:[~2026-11-25 6:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125062513.96901-1-artem@trailofbits.com \
--to=artem@trailofbits.com \
--cc=andrea.mayer@uniroma2.it \
--cc=autonomouscodesecurity@microsoft.com \
--cc=blbllhy@gmail.com \
--cc=bridge@lists.linux.dev \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@kernel.org \
--cc=g.goller@proxmox.com \
--cc=herbert@gondor.apana.org.au \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=ipsec@lists.linux.dev \
--cc=justin.iurman@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=razor@blackwall.org \
--cc=stable@vger.kernel.org \
--cc=steffen.klassert@secunet.com \
--cc=xmei5@asu.edu \
--cc=yuya.kusakabe@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox