FKIE_CVE-2026-143382

Vulnerability from fkie_nvd - Published: 2026-12-03 10:18 - Updated: 2026-12-03 10:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: seg6: fix transport header for inner IPv4 with IP options The End.DT4, End.DT46 (its IPv4 path only) and End.DX4 behaviors set the transport header of the decapsulated IPv4 packet at a fixed 20 bytes, the size of an IPv4 header without options. They do not validate the header length either. With options, the transport header points at the first option byte. The effects include: - ping -R sends an echo request with a 60-byte IPv4 header to a local address through an End.DT4 or an End.DX4 SID. Since icmp_rcv() computes the ICMP checksum from the first option byte, the request fails the check and is counted in IcmpInCsumErrors. - A UDP datagram can reach a port that an iptables rule drops. The rule checks the UDP header after the full IPv4 header, while the socket lookup reads it at the fixed 20-byte offset. - With an inbound AH state, ah_input() reads the AH header at the fixed 20-byte offset, but copies the IPv4 header over it with the length in the IHL field. A packet shorter than that length can make ah_input() write past the end of the data, into skb_shared_info when the skb has no tailroom. Validate the inner IPv4 header length with the new helper seg6_validate_iphdr_len() and set the transport header at that length. A packet that is not IPv4, whose header length field is below 5, or whose header is truncated, is dropped with a drop reason. The fix is limited to the header length, which the transport header relies on. Other checks done on IPv4 input, such as the header checksum, the total length and the IP options, are not addressed here. Found by code inspection while reviewing commit 44930446dde4 ("ipv6: seg6: clear IPv4 control block on IPIP decapsulation"), as a pre-existing issue that Sashiko also reported on v2 of that patch. Without this patch, a bpftrace probe on ah_input() shows the reporter's reproducer packet written into skb_shared_info. With it, that packet is dropped before ah_input(), ping -R no longer fails the ICMP checksum, the UDP datagram reaches its real port, and the SRv6 selftests still pass. These effects reproduce on an unmodified kernel, without error injection.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv6/seg6_local.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "496e64f7f5209cf9275ac376501d030d1931cb33",
              "status": "affected",
              "version": "891ef8dd2a8d14e4e73a81dcdb135b574c57f556",
              "versionType": "git"
            },
            {
              "lessThan": "60a2c4e10cad6625627a05dd4ce8901d41d541b9",
              "status": "affected",
              "version": "891ef8dd2a8d14e4e73a81dcdb135b574c57f556",
              "versionType": "git"
            },
            {
              "lessThan": "b3517d64bf2d8468758afffb6d0417565f9602f5",
              "status": "affected",
              "version": "891ef8dd2a8d14e4e73a81dcdb135b574c57f556",
              "versionType": "git"
            },
            {
              "lessThan": "5838f10563d58afca6711edb5e4eda968ca181d9",
              "status": "affected",
              "version": "891ef8dd2a8d14e4e73a81dcdb135b574c57f556",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv6/seg6_local.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.14"
            },
            {
              "lessThan": "4.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.66",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nseg6: fix transport header for inner IPv4 with IP options\n\nThe End.DT4, End.DT46 (its IPv4 path only) and End.DX4 behaviors set the\ntransport header of the decapsulated IPv4 packet at a fixed 20 bytes, the\nsize of an IPv4 header without options. They do not validate the header\nlength either. With options, the transport header points at the first\noption byte. The effects include:\n- ping -R sends an echo request with a 60-byte IPv4 header to a local\n  address through an End.DT4 or an End.DX4 SID. Since icmp_rcv()\n  computes the ICMP checksum from the first option byte, the request\n  fails the check and is counted in IcmpInCsumErrors.\n- A UDP datagram can reach a port that an iptables rule drops. The rule\n  checks the UDP header after the full IPv4 header, while the socket\n  lookup reads it at the fixed 20-byte offset.\n- With an inbound AH state, ah_input() reads the AH header at the fixed\n  20-byte offset, but copies the IPv4 header over it with the length in\n  the IHL field. A packet shorter than that length can make ah_input()\n  write past the end of the data, into skb_shared_info when the skb has\n  no tailroom.\n\nValidate the inner IPv4 header length with the new helper\nseg6_validate_iphdr_len() and set the transport header at that length. A\npacket that is not IPv4, whose header length field is below 5, or whose\nheader is truncated, is dropped with a drop reason. The fix is limited to\nthe header length, which the transport header relies on. Other checks done\non IPv4 input, such as the header checksum, the total length and the IP\noptions, are not addressed here.\n\nFound by code inspection while reviewing commit 44930446dde4 (\"ipv6: seg6:\nclear IPv4 control block on IPIP decapsulation\"), as a pre-existing issue\nthat Sashiko also reported on v2 of that patch. Without this patch, a\nbpftrace probe on ah_input() shows the reporter\u0027s reproducer packet\nwritten into skb_shared_info. With it, that packet is dropped before\nah_input(), ping -R no longer fails the ICMP checksum, the UDP datagram\nreaches its real port, and the SRv6 selftests still pass. These effects\nreproduce on an unmodified kernel, without error injection."
    }
  ],
  "id": "CVE-2026-143382",
  "lastModified": "2026-12-03T10:18:31.450",
  "metrics": {},
  "published": "2026-12-03T10:18:31.450",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/496e64f7f5209cf9275ac376501d030d1931cb33"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/5838f10563d58afca6711edb5e4eda968ca181d9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/60a2c4e10cad6625627a05dd4ce8901d41d541b9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b3517d64bf2d8468758afffb6d0417565f9602f5"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.