CVE-2026-139235 (GCVE-0-2026-139235)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:32 – Updated: 2026-11-30 13:32
VLAI
Title
ibmveth: check headers in the RX large send and checksum helpers
Summary
In the Linux kernel, the following vulnerability has been resolved: ibmveth: check headers in the RX large send and checksum helpers ibmveth_rx_mss_helper() and ibmveth_rx_csum_helper() trust the IP and TCP headers of received frames, which come from another partition on the virtual LAN. The worst case is an IPv4 frame with ihl 0 and iph->check 0xffff: the checksum helper calls ip_fast_csum(iph, 0), and the ppc64 version loops ihl - 1 times on an unsigned count, reading up to 16 GiB in softirq: a long stall, or an oops once the read leaves mapped memory. Both helpers also read and write header fields past the end of a short frame. The large send helper takes the segment size from the TCP checksum field and gso_segs from a TCP header length it never checks, and treats an IPv4 TCP fragment as a large send, which can zero two of its bytes; the checksum helper can write a checksum into a later fragment's payload. The ihl problem dates from the first commit in Fixes:, the large send helper from the second, and the checksum helper from the third. Before using a header, check that it fits the frame, that the IPv4 ihl is at least 5, and that an IPv4 TCP frame is not a fragment. In the large send helper, also require a TCP doff of at least 5, TCP payload within the IP length, and an IP length equal to the frame length: Ethernet padding or other bytes past the IP length would otherwise stay in a bridged or switched frame, which the stack does not trim, and be segmented but not counted in gso_segs. Compute gso_segs from the IP length, and keep the segment size at or above TCP_MIN_GSO_SIZE, as virtio_net_hdr_to_skb() does since commit c27c449d455a ("virtio-net: Ensure that TCP packets don't overflow gso_segs"), and below GSO_BY_FRAGS, which virtio rejects. With the headers checked and gso_segs computed, the skb is not marked SKB_GSO_DODGY, which would also keep it from hardware TSO on the egress device. A frame that fails a check is passed up unchanged, without the GSO fields or CHECKSUM_UNNECESSARY, so nothing downstream trusts its segment count or checksum. The skb is linear, so the checks use skb_headlen(); pskb_may_pull() could reallocate the head under the helpers' header pointers. Add KUnit cases for both helpers: valid IPv4 and IPv6 large sends, the segment size clamp, and refused frames. With any one of the ihl, doff, IP length, TCP payload, fragment or clamp checks, or the checksum helper's IPv4 options, IPv6 header or TCP header length checks, removed, a case fails; without the checksum helper's ihl check, ip_fast_csum() oopses on qemu. Found by the Sashiko review of the previous version of this series and confirmed by code inspection and the KUnit cases above. Tested with KUnit on qemu pseries (ppc64le) and on a POWER10 LPAR with iperf3 large sends over IPv4 and IPv6 at MTU 1500 and 9000, threaded NAPI and busy polling, with no new drops or InCsumErrors. No kernel selftests cover ibmveth.
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 9c7e8bc584f52ae42f4528ca459f711ad38a130f , < 0009668f182ee13143f340da89beca10b64068b3 (git)
Affected: 9c7e8bc584f52ae42f4528ca459f711ad38a130f , < dcf7fee13e50633a9cc99ef55c91d35fe0a5734f (git)
Affected: 9c7e8bc584f52ae42f4528ca459f711ad38a130f , < 9486c89a8e157cedecfb561c3d86053e654d32ab (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.2
Unaffected: 0 , < 4.2 (semver)
Unaffected: 6.18.65 , ≤ 6.18.* (semver)
Unaffected: 7.3.6 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/ibm/ibmveth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0009668f182ee13143f340da89beca10b64068b3",
              "status": "affected",
              "version": "9c7e8bc584f52ae42f4528ca459f711ad38a130f",
              "versionType": "git"
            },
            {
              "lessThan": "dcf7fee13e50633a9cc99ef55c91d35fe0a5734f",
              "status": "affected",
              "version": "9c7e8bc584f52ae42f4528ca459f711ad38a130f",
              "versionType": "git"
            },
            {
              "lessThan": "9486c89a8e157cedecfb561c3d86053e654d32ab",
              "status": "affected",
              "version": "9c7e8bc584f52ae42f4528ca459f711ad38a130f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/ibm/ibmveth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.2"
            },
            {
              "lessThan": "4.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.65",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.6",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nibmveth: check headers in the RX large send and checksum helpers\n\nibmveth_rx_mss_helper() and ibmveth_rx_csum_helper() trust the IP and\nTCP headers of received frames, which come from another partition on\nthe virtual LAN.\n\nThe worst case is an IPv4 frame with ihl 0 and iph-\u003echeck 0xffff: the\nchecksum helper calls ip_fast_csum(iph, 0), and the ppc64 version\nloops ihl - 1 times on an unsigned count, reading up to 16 GiB in\nsoftirq: a long stall, or an oops once the read leaves mapped memory.\nBoth helpers also read and write header fields past the end of a short\nframe. The large send helper takes the segment size from the TCP\nchecksum field and gso_segs from a TCP header length it never checks,\nand treats an IPv4 TCP fragment as a large send, which can zero two of\nits bytes; the checksum helper can write a checksum into a later\nfragment\u0027s payload.\n\nThe ihl problem dates from the first commit in Fixes:, the large send\nhelper from the second, and the checksum helper from the third.\n\nBefore using a header, check that it fits the frame, that the IPv4 ihl\nis at least 5, and that an IPv4 TCP frame is not a fragment. In the\nlarge send helper, also require a TCP doff of at least 5, TCP payload\nwithin the IP length, and an IP length equal to the frame length:\nEthernet padding or other bytes past the IP length would otherwise\nstay in a bridged or switched frame, which the stack does not trim,\nand be segmented but not counted in gso_segs. Compute gso_segs from\nthe IP length, and keep the segment size at or above TCP_MIN_GSO_SIZE,\nas virtio_net_hdr_to_skb() does since commit c27c449d455a (\"virtio-net:\nEnsure that TCP packets don\u0027t overflow gso_segs\"), and below\nGSO_BY_FRAGS, which virtio rejects. With the headers checked and\ngso_segs computed, the skb is not marked SKB_GSO_DODGY, which would\nalso keep it from hardware TSO on the egress device.\n\nA frame that fails a check is passed up unchanged, without the GSO\nfields or CHECKSUM_UNNECESSARY, so nothing downstream trusts its\nsegment count or checksum. The skb is linear, so the checks use\nskb_headlen(); pskb_may_pull() could reallocate the head under the\nhelpers\u0027 header pointers.\n\nAdd KUnit cases for both helpers: valid IPv4 and IPv6 large sends, the\nsegment size clamp, and refused frames. With any one of the ihl, doff,\nIP length, TCP payload, fragment or clamp checks, or the checksum\nhelper\u0027s IPv4 options, IPv6 header or TCP header length checks,\nremoved, a case fails; without the checksum helper\u0027s ihl check,\nip_fast_csum() oopses on qemu.\n\nFound by the Sashiko review of the previous version of this series and\nconfirmed by code inspection and the KUnit cases above. Tested with\nKUnit on qemu pseries (ppc64le) and on a POWER10 LPAR with iperf3 large\nsends over IPv4 and IPv6 at MTU 1500 and 9000, threaded NAPI and busy\npolling, with no new drops or InCsumErrors. No kernel selftests cover\nibmveth."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-30T13:32:52.328Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0009668f182ee13143f340da89beca10b64068b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/dcf7fee13e50633a9cc99ef55c91d35fe0a5734f"
        },
        {
          "url": "https://git.kernel.org/stable/c/9486c89a8e157cedecfb561c3d86053e654d32ab"
        }
      ],
      "title": "ibmveth: check headers in the RX large send and checksum helpers",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-139235",
    "datePublished": "2026-11-30T13:32:52.328Z",
    "dateReserved": "2026-11-30T13:22:15.922Z",
    "dateUpdated": "2026-11-30T13:32:52.328Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-139235",
      "date": "2026-12-04",
      "epss": "0.00199",
      "percentile": "0.10132"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-02T01:16:30.000Z",
      "cve": "CVE-2026-139235",
      "id": "msrc_CVE-2026-139235",
      "initial_release_date": "2026-12-01T01:28:57.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ibmveth: check headers in the RX large send and checksum helpers",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-139235.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/ethernet/ibm/ibmveth.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "0009668f182ee13143f340da89beca10b64068b3",
                    "status": "affected",
                    "version": "9c7e8bc584f52ae42f4528ca459f711ad38a130f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "dcf7fee13e50633a9cc99ef55c91d35fe0a5734f",
                    "status": "affected",
                    "version": "9c7e8bc584f52ae42f4528ca459f711ad38a130f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9486c89a8e157cedecfb561c3d86053e654d32ab",
                    "status": "affected",
                    "version": "9c7e8bc584f52ae42f4528ca459f711ad38a130f",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/ethernet/ibm/ibmveth.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.2"
                  },
                  {
                    "lessThan": "4.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.65",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "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\nibmveth: check headers in the RX large send and checksum helpers\n\nibmveth_rx_mss_helper() and ibmveth_rx_csum_helper() trust the IP and\nTCP headers of received frames, which come from another partition on\nthe virtual LAN.\n\nThe worst case is an IPv4 frame with ihl 0 and iph-\u003echeck 0xffff: the\nchecksum helper calls ip_fast_csum(iph, 0), and the ppc64 version\nloops ihl - 1 times on an unsigned count, reading up to 16 GiB in\nsoftirq: a long stall, or an oops once the read leaves mapped memory.\nBoth helpers also read and write header fields past the end of a short\nframe. The large send helper takes the segment size from the TCP\nchecksum field and gso_segs from a TCP header length it never checks,\nand treats an IPv4 TCP fragment as a large send, which can zero two of\nits bytes; the checksum helper can write a checksum into a later\nfragment\u0027s payload.\n\nThe ihl problem dates from the first commit in Fixes:, the large send\nhelper from the second, and the checksum helper from the third.\n\nBefore using a header, check that it fits the frame, that the IPv4 ihl\nis at least 5, and that an IPv4 TCP frame is not a fragment. In the\nlarge send helper, also require a TCP doff of at least 5, TCP payload\nwithin the IP length, and an IP length equal to the frame length:\nEthernet padding or other bytes past the IP length would otherwise\nstay in a bridged or switched frame, which the stack does not trim,\nand be segmented but not counted in gso_segs. Compute gso_segs from\nthe IP length, and keep the segment size at or above TCP_MIN_GSO_SIZE,\nas virtio_net_hdr_to_skb() does since commit c27c449d455a (\"virtio-net:\nEnsure that TCP packets don\u0027t overflow gso_segs\"), and below\nGSO_BY_FRAGS, which virtio rejects. With the headers checked and\ngso_segs computed, the skb is not marked SKB_GSO_DODGY, which would\nalso keep it from hardware TSO on the egress device.\n\nA frame that fails a check is passed up unchanged, without the GSO\nfields or CHECKSUM_UNNECESSARY, so nothing downstream trusts its\nsegment count or checksum. The skb is linear, so the checks use\nskb_headlen(); pskb_may_pull() could reallocate the head under the\nhelpers\u0027 header pointers.\n\nAdd KUnit cases for both helpers: valid IPv4 and IPv6 large sends, the\nsegment size clamp, and refused frames. With any one of the ihl, doff,\nIP length, TCP payload, fragment or clamp checks, or the checksum\nhelper\u0027s IPv4 options, IPv6 header or TCP header length checks,\nremoved, a case fails; without the checksum helper\u0027s ihl check,\nip_fast_csum() oopses on qemu.\n\nFound by the Sashiko review of the previous version of this series and\nconfirmed by code inspection and the KUnit cases above. Tested with\nKUnit on qemu pseries (ppc64le) and on a POWER10 LPAR with iperf3 large\nsends over IPv4 and IPv6 at MTU 1500 and 9000, threaded NAPI and busy\npolling, with no new drops or InCsumErrors. No kernel selftests cover\nibmveth."
          }
        ],
        "id": "CVE-2026-139235",
        "lastModified": "2026-11-30T14:18:45.493",
        "metrics": {},
        "published": "2026-11-30T14:18:45.493",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0009668f182ee13143f340da89beca10b64068b3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9486c89a8e157cedecfb561c3d86053e654d32ab"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/dcf7fee13e50633a9cc99ef55c91d35fe0a5734f"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T04:17:28+00:00",
      "cve": "CVE-2026-139235",
      "id": "CVE-2026-139235",
      "initial_release_date": "2026-11-30T13:32:52.328000+00:00",
      "product_status:known_affected": "266",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service in ibmveth driver via malformed packet headers",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-139235.json",
      "version": "3"
    }
  }
}



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.