CVE-2026-143253: ipv6: Check the Home Address option again before its address is used

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ipv6: Check the Home Address option again before its address is used

ipv6desthao() checks the Home Address option and sets IP6CB(skb)->dsthao to the offset of the destination options header. Later mip6addrswap() and mip6destoptreject() call ipv6findtlv() with that offset and use the 16 address bytes. They assume that the same header is still there.

But the seg6 and ioam6 lwtunnels, the End.B6 actions, ipv6rplsrhrcv() and BPF lwt progs move or rewrite the IPv6 headers and keep IP6CB(skb). Then ipv6findtlv() parses other bytes. It returns when the type matches, before it checks that the option is inside the header. Nobody checks the length of the option again. Thus mip6addrswap() can write after the data of the skb. mip6destoptreject() can copy that memory to an xfrm report.

In ipv6findtlv(), check the length of an option before its type. The returned option is then inside the header, and the header is inside the linear data. In both callers, ignore an option with a length other than 16, as if ipv6findtlv() found none. Then the ICMPv6 error goes to the source address of the IPv6 header, and the xfrm report has no XFRMACOADDR attribute. Nothing changes for a header that ip6parsetlv() accepted and that is still in its place. For the other callers an incomplete option is now absent:

- ip6find1stfragopt() and mip6rthdroffset() can return another offset for the fragment header or the xfrm header, also in a forwarded packet. - calipsoskbuffoptptr() returns NULL. netlblskbuffgetattr() and netlblcacheadd() then see no option. calipsoskbuffdelattr() returns 0 and the packet continues unchanged. Today it returns -EINVAL and SELinux drops the packet. It already returns 0 when an earlier option is incomplete. The receiver drops such a header in ip6parsetlv().

The code that moves the headers still does not reset the offset or the other fields of IP6CB(skb). If the bytes there look like a header with a Home Address option of length 16, both callers still use its address.

The first tag also covers ipv6findtlv(), because its early return did no harm before mip6addrswap(). The second tag is for mip6destoptreject().

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=2.6.19<5.10.276
5.10.276
linux/kernel>=5.11.0<5.15.227
5.15.227
linux/kernel>=5.16.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.276
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.227
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Data Sourced
via OSV·09:21 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Exposure is tied to IPv6 packets carrying a Home Address option that are subsequently processed by a component that moves or rewrites IPv6 headers while preserving IP6CB(skb). The affected paths named are seg6 and ioam6 lightweight tunnels, End.B6 actions, ipv6_rpl_srh_rcv(), and BPF lightweight-tunnel programs.

2

What can happen if the affected processing path is reached?

The Mobile IPv6 address-swap path can write beyond the skb data. The destination-option rejection path can copy unintended memory into an XFRM report.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203