CVE-2026-143253
Received Received - Intake

Buffer Overflow in Linux Kernel IPv6 Home Address Option Handling

Vulnerability report for CVE-2026-143253, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: ipv6: Check the Home Address option again before its address is used ipv6_dest_hao() checks the Home Address option and sets IP6CB(skb)->dsthao to the offset of the destination options header. Later mip6_addr_swap() and mip6_destopt_reject() call ipv6_find_tlv() 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, ipv6_rpl_srh_rcv() and BPF lwt progs move or rewrite the IPv6 headers and keep IP6CB(skb). Then ipv6_find_tlv() 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 mip6_addr_swap() can write after the data of the skb. mip6_destopt_reject() can copy that memory to an xfrm report. In ipv6_find_tlv(), 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 ipv6_find_tlv() found none. Then the ICMPv6 error goes to the source address of the IPv6 header, and the xfrm report has no XFRMA_COADDR attribute. Nothing changes for a header that ip6_parse_tlv() accepted and that is still in its place. For the other callers an incomplete option is now absent: - ip6_find_1stfragopt() and mip6_rthdr_offset() can return another offset for the fragment header or the xfrm header, also in a forwarded packet. - calipso_skbuff_optptr() returns NULL. netlbl_skbuff_getattr() and netlbl_cache_add() then see no option. calipso_skbuff_delattr() 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 ip6_parse_tlv(). 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 ipv6_find_tlv(), because its early return did no harm before mip6_addr_swap(). The second tag is for mip6_destopt_reject().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves improper handling of the IPv6 Home Address option. When certain operations like seg6, ioam6, or BPF lwt progs modify IPv6 headers, they may leave stale metadata in IP6CB(skb). This can cause functions like mip6_addr_swap() and mip6_destopt_reject() to incorrectly parse and use invalid Home Address option data, leading to potential memory corruption or information disclosure.

Detection Guidance

This vulnerability is specific to the Linux kernel's IPv6 implementation and requires kernel-level inspection. Detection involves checking kernel logs for related errors or monitoring network traffic for malformed IPv6 packets. Commands like dmesg, journalctl -k, or tcpdump may help identify issues, but no direct detection commands are provided in the context.

Impact Analysis

An attacker could exploit this to cause a kernel crash, execute arbitrary code, or leak sensitive information. Systems using IPv6 with Mobile IPv6 or similar features may be particularly vulnerable. The impact depends on kernel configuration and exposure to untrusted networks.

Mitigation Strategies

Apply the latest kernel patches from your Linux distribution to resolve the issue. Monitor vendor advisories for updates addressing CVE-2026-143253. Disable IPv6 if not required, but this is not a recommended long-term solution.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143253. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...