CVE-2026-143123: openvswitch: advance by the real header length in get_ipv6_ext_hdrs()

Published Dec 3, 2026
·
Updated

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

openvswitch: advance by the real header length in getipv6exthdrs()

getipv6exthdrs() walks the IPv6 extension header chain to fill key->ipv6.exthdrs, but advances to the next header with ipv6optlen() whatever the current header is. That is only right for Hop-by-Hop, Destination Options and Routing headers:

- an Authentication Header is ((hdrlen + 2) << 2) bytes long (ipv6authlen()), so with hdrlen = 4 the walk skips 40 bytes instead of 24 and reads the next "header" from the ICV and payload;

- a Fragment header is always 8 bytes, and the byte read as hdrlen is its Reserved field, which the sender controls and receivers ignore, so a non-zero value makes the walk skip up to 2048 bytes and miss the headers that follow;

- in a non-first fragment nothing after the Fragment header is a header at all, it is the middle of the fragmentable part, yet the walk keeps parsing it as an extension header chain.

In all cases the OFPIEH12 bits stored in key->ipv6.exthdrs depend on bytes chosen by the sender rather than on the headers that are actually present: payload bytes that look like another AH or a Hop-by-Hop header add OFPIEH12UNREP/OFPIEH12UNSEQ, and real headers after a Fragment header can go unreported. Flows that match on OVSKEYATTRIPV6EXTHDRS then classify such packets wrongly. There is no memory safety issue, skbheaderpointer() bounds every read.

Advance by sizeof(struct fraghdr) for Fragment headers and by ipv6authlen() for AH, and stop at the Fragment header if its offset is non-zero, as ipv6findhdr() does.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Frequently Asked Questions

1

Which deployments are exposed?

Linux systems using Open vSwitch to process IPv6 traffic with extension-header chains are affected by this parsing issue. The problem occurs in the Open vSwitch IPv6 extension-header walker.

2

What does an attacker need to send to trigger incorrect parsing?

An attacker needs to supply IPv6 packets with crafted extension headers or fragments. Authentication Header length values, a Fragment header's sender-controlled Reserved field, and non-first fragments can cause the walker to interpret payload bytes as extension headers.

3

What is the remediation?

Apply a Linux kernel update containing the resolved Open vSwitch fix. The listed stable-kernel commits identify versions of the fix, but the affected and fixed kernel version ranges are not provided.

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