Security mailing lists by PureSourceCode

CVE-2026-143123

not scored yet

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

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

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

get_ipv6_ext_hdrs() walks the IPv6 extension header chain to fill
key->ipv6.exthdrs, but advances to the next header with ipv6_optlen()
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
    (ipv6_authlen()), 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 OFPIEH12_UNREP/OFPIEH12_UNSEQ, and real headers after a Fragment
header can go unreported. Flows that match on OVS_KEY_ATTR_IPV6_EXTHDRS
then classify such packets wrongly. There is no memory safety issue,
skb_header_pointer() bounds every read.

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

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 28a3f0601727d521a1c6cce62ecbcb7402a9e4f5, < dc87d875e6e91c9d45d8de99c8540a2c448f5fd6; >= 28a3f0601727d521a1c6cce62ecbcb7402a9e4f5, < 60694e0f8940ae0213a53074f7a3d8def55badc0; >= 28a3f0601727d521a1c6cce62ecbcb7402a9e4f5, < f450bd834aa073debedc15bdc6505d935ae2a3c1; >= 28a3f0601727d521a1c6cce62ecbcb7402a9e4f5, < dbce972650ed6348e3d3856e49308aa5603e02a7 dc87d875e6e91c9d45d8de99c8540a2c448f5fd6, 60694e0f8940ae0213a53074f7a3d8def55badc0, f450bd834aa073debedc15bdc6505d935ae2a3c1, dbce972650ed6348e3d3856e49308aa5603e02a7
CVE List Linux Linux = 5.18

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.