Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139281

netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset find_prev_fhdr() returns the offset of the Next Header field before an IPv6 Fragment header through an int pointer, but stores the offset in a u8 local. An extension header chain can put this field beyond byte 255, causing the offset to wrap before it is saved in the fragment queue. Reassembly later uses the wrapped value to update the preceding Next Header field. This overwrites another byte in the IPv6 header chain and can make conntrack parse a different transport tuple from the one used by IPv6 local delivery. A two-fragment packet can, for example, be recorded as UDP destination port 53 while its payload is delivered to UDP port 9999. Use int for the working offset, matching the output argument and the other offset variables in this path.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 to < c540c1de02e9bc08a9880cee39a4757ef23365c9affected
  • 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 to < 150100520016209a46a0419edc41d1c94ebc7f66affected
  • 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 to < 6448b59ff3c83d9f4edc73c082eab7989ebe8e57affected
  • 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 to < 3468d5cb0cbfdc4b1bfa3d5e7ed8ed50c7ac9f5aaffected
  • 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 to < 55cd1d227de0caa8ab5e0440c2701d3b438d3fb6affected
  • 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 to < c6168a32eb25ec8f35e894c3851b87a013fd5b42affected
  • 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 to < 2004d38294264f89495e09337cba1b1f5bd1db43affected
  • 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 to < 48d522b65fb0ce2bd54f8f5838d77b48afcf1f3eaffected

Linux Linux

Default version status: affected

  • 2.6.15affected
  • 0 to < 2.6.15unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References