Skip to content
9.8 Critical

CVE-2026-43501 In the Linux kernel, the following vulnerability has been resolved: ipv6: rpl: reserve mac_len headroom when…

Description

In the Linux kernel, the following vulnerability has been resolved: ipv6: rpl: reserve mac_len headroom when recompressed SRH grows ipv6_rpl_srh_rcv() decompresses an RFC 6554 Source Routing Header, swaps the next segment into ipv6_hdr->daddr, recompresses, then pulls the old header and pushes the new one plus the IPv6 header back. The recompressed header can be larger than the received one when the swap reduces the common-prefix length the segments share with daddr (CmprI=0, CmprE>0, seg[0][0] != daddr[0] gives the maximum +8 bytes). pskb_expand_head() was gated on segments_left == 0, so on earlier segments the push consumed unchecked headroom. Once skb_push() leaves fewer than skb->mac_len bytes in front of data, skb_mac_header_rebuild()'s call to: skb_set_mac_header(skb, -skb->mac_len); will store (data - head) - mac_len into the u16 mac_header field, which wraps to ~65530, and the following memmove() writes mac_len bytes ~64KiB past skb->head. A single AF_INET6/SOCK_RAW/IPV6_HDRINCL packet over lo with a two segment type-3 SRH (CmprI=0, CmprE=15) reaches headroom 8 after one pass; KASAN reports a 14-byte OOB write in ipv6_rthdr_rcv. Fix this by expanding the head whenever the remaining room is less than the push size plus mac_len, and request that much extra so the rebuilt MAC header fits afterwards.

Affected products and versions

Product Affected versions Fixed in
Linux 7.1 earliest → < 7.1 7.1
Linux 7.0 earliest → < 7.0.4 7.0.4
Linux 6.18 earliest → < 6.18.27 6.18.27
Linux 6.12 earliest → < 6.12.86 6.12.86
Linux 6.6 earliest → < 6.6.140 6.6.140
Linux 6.1 earliest → < 6.1.175 6.1.175
Linux 5.15 earliest → < 5.15.209 5.15.209
Linux 5.10 earliest → < 5.10.258 5.10.258
Linux 5.7 No fix stated
Show the 40 other branches
Product Affected versions Fixed in
Red Hat Enterprise Linux AppStream EUS (v. 10.0) Versions not published
Red Hat Enterprise Linux AppStream (v. 10) Versions not published
Red Hat Enterprise Linux AppStream E4S (v.9.4) Versions not published
Red Hat Enterprise Linux AppStream (v. 9) Versions not published
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) Versions not published
Red Hat Enterprise Linux BaseOS (v. 10) Versions not published
Red Hat Enterprise Linux BaseOS E4S (v.9.4) Versions not published
Red Hat Enterprise Linux BaseOS (v. 9) Versions not published
Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) Versions not published
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) Versions not published
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) Versions not published
Red Hat Enterprise Linux Real Time for NFV EUS (v. 10.0) Versions not published
Red Hat Enterprise Linux Real Time for NFV (v. 10) Versions not published
Red Hat Enterprise Linux Real Time for NFV E4S (v.9.4) Versions not published
Red Hat Enterprise Linux Real Time for NFV (v. 9) Versions not published
Red Hat Enterprise Linux Real Time EUS (v. 10.0) Versions not published
Red Hat Enterprise Linux Real Time (v. 10) Versions not published
Red Hat Enterprise Linux Real Time E4S (v.9.4) Versions not published
Red Hat Enterprise Linux Real Time (v. 9) Versions not published
Red Hat Enterprise Linux 9 Versions not published
Red Hat Enterprise Linux 6 Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) Versions not published
Red Hat Enterprise Linux Real Time E4S (v.9.2) Versions not published
Red Hat Enterprise Linux AppStream E4S (v.9.2) Versions not published
Red Hat Enterprise Linux AppStream EUS (v.9.6) Versions not published
Red Hat Enterprise Linux BaseOS E4S (v.9.2) Versions not published
Red Hat Enterprise Linux BaseOS EUS (v.9.6) Versions not published
Red Hat CodeReady Linux Builder EUS (v.9.6) Versions not published
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6) Versions not published
Red Hat Enterprise Linux Real Time EUS (v.9.6) Versions not published
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 10.0 Extended Update Support Versions not published
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 9.6 Extended Update Support Versions not published
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE