CVE-2026-142938 (GCVE-0-2026-142938)

Vulnerability from cvelistv5 – Published: 2026-12-03 03:26 – Updated: 2026-12-04 03:26
VLAI
Title
virtio-net: fix frag overflow in big packets receive
Summary
In the Linux kernel, the following vulnerability has been resolved: virtio-net: fix frag overflow in big packets receive In big packets mode with guest GSO, add_recvbuf_big() posts a chain of MAX_SKB_FRAGS + 1 pages. page_to_skb() copies only ETH_HLEN of the first page into the linear area and adds the rest of that page as a frag, then one frag per remaining page. A device that fills the entire buffer therefore causes MAX_SKB_FRAGS + 1 frags, writing one skb_frag_t past the end of skb_shinfo(skb)->frags[]. Post one page less. The buffer still fits a maximal GSO packet. A well behaved device does not trigger this, as GSO packets are at most 64KB. Also check the frag count in page_to_skb() before adding any frag as defense in depth.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8648 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 9ab86bbcf8be755256f0a5e994e0b38af6b4d399 , < 5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a (git)
Affected: 9ab86bbcf8be755256f0a5e994e0b38af6b4d399 , < a358121e340b4dae2729f01cb7b7139b8765eee3 (git)
Affected: 9ab86bbcf8be755256f0a5e994e0b38af6b4d399 , < ec7785c8bb7d5f54eb7662c82c74092e0612487d (git)
Affected: 9ab86bbcf8be755256f0a5e994e0b38af6b4d399 , < e612e5e046bb5941f532a13ed18b662820736acb (git)
Affected: 9ab86bbcf8be755256f0a5e994e0b38af6b4d399 , < b0e4ea3a0cd42eccad9cc4153afcad555480b9e6 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.34
Unaffected: 0 , < 2.6.34 (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.119 , ≤ 6.12.* (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/virtio_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a",
              "status": "affected",
              "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
              "versionType": "git"
            },
            {
              "lessThan": "a358121e340b4dae2729f01cb7b7139b8765eee3",
              "status": "affected",
              "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
              "versionType": "git"
            },
            {
              "lessThan": "ec7785c8bb7d5f54eb7662c82c74092e0612487d",
              "status": "affected",
              "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
              "versionType": "git"
            },
            {
              "lessThan": "e612e5e046bb5941f532a13ed18b662820736acb",
              "status": "affected",
              "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
              "versionType": "git"
            },
            {
              "lessThan": "b0e4ea3a0cd42eccad9cc4153afcad555480b9e6",
              "status": "affected",
              "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/virtio_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.34"
            },
            {
              "lessThan": "2.6.34",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.119",
              "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.6.163",
                  "versionStartIncluding": "2.6.34",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.119",
                  "versionStartIncluding": "2.6.34",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.65",
                  "versionStartIncluding": "2.6.34",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.6",
                  "versionStartIncluding": "2.6.34",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "2.6.34",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-net: fix frag overflow in big packets receive\n\nIn big packets mode with guest GSO, add_recvbuf_big() posts a chain of\nMAX_SKB_FRAGS + 1 pages. page_to_skb() copies only ETH_HLEN of the\nfirst page into the linear area and adds the rest of that page as a\nfrag, then one frag per remaining page. A device that fills the entire\nbuffer therefore causes MAX_SKB_FRAGS + 1 frags, writing one\nskb_frag_t past the end of skb_shinfo(skb)-\u003efrags[].\n\nPost one page less. The buffer still fits a maximal GSO packet. A well\nbehaved device does not trigger this, as GSO packets are at most 64KB.\n\nAlso check the frag count in page_to_skb() before adding any frag as\ndefense in depth."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.4,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The length that overflows frags[] is the virtqueue used-element length, read by vring_read_split_used_len() in virtqueue_get_buf_ctx_split() and passed through virtnet_receive_packets(), receive_buf(), and receive_big() into page_to_skb(). A conforming device caps GSO at 64KB, short of the MAX_SKB_FRAGS+1 pages add_recvbuf_big() posts, so a remote packet cannot carry this length.\nAC:L - The backend omits VIRTIO_NET_F_MRG_RXBUF and offers VIRTIO_NET_F_GUEST_TSO4, so virtnet_set_big_packets() sets big_packets_num_skbfrags to MAX_SKB_FRAGS and add_recvbuf_big() posts one page too many; it then stores used.len up to receive_big()\u0027s max_len and page_to_skb() writes the extra frag on that completion, with no race.\nPR:N - page_to_skb() is reached from the device RX callback skb_recv_done() via virtnet_poll() with no capability or credential check; the backend only completes a receive descriptor and needs no account in the victim kernel.\nUI:N - virtnet_poll() runs from the RX virtqueue NAPI callback as soon as the backend publishes the used-ring entry; no mount, open, or other victim action is required.\nS:U - The extra skb_frag_t is written in the kernel that runs the virtio-net frontend (page_to_skb() on that kernel\u0027s skb). It does not escape a guest into the hypervisor or bypass an IOMMU mapping.\nC:H - skb_add_rx_frag() stores one skb_frag_t past frags[MAX_SKB_FRAGS-1], the last field of skb_shared_info, which __finalize_skb_around() places at the end of the napi_alloc_skb(GOOD_COPY_LEN) small-head object; nr_frags is left at MAX_SKB_FRAGS+1 so later walks treat the adjacent slot as a page pointer.\nI:H - That skb_add_rx_frag() store is an out-of-bounds write of a frag descriptor (kernel page netmem plus a device-chosen length) into the next skb_small_head_cache object, including its SLUB freelist word when the neighbor is free, and is a kernel write primitive.\nA:H - The overflow runs in softirq from virtnet_poll(). skb_release_data() then walks nr_frags past frags[] into the neighboring small-head object, and clobbering that object\u0027s freelist or header oopses the kernel; the backend can repeat the completion."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:26:12.880Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a"
        },
        {
          "url": "https://git.kernel.org/stable/c/a358121e340b4dae2729f01cb7b7139b8765eee3"
        },
        {
          "url": "https://git.kernel.org/stable/c/ec7785c8bb7d5f54eb7662c82c74092e0612487d"
        },
        {
          "url": "https://git.kernel.org/stable/c/e612e5e046bb5941f532a13ed18b662820736acb"
        },
        {
          "url": "https://git.kernel.org/stable/c/b0e4ea3a0cd42eccad9cc4153afcad555480b9e6"
        }
      ],
      "title": "virtio-net: fix frag overflow in big packets receive",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-142938",
    "datePublished": "2026-12-03T03:26:09.353Z",
    "dateReserved": "2026-12-03T03:10:28.338Z",
    "dateUpdated": "2026-12-04T03:26:12.880Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-142938",
      "date": "2026-12-04",
      "epss": "0.00306",
      "percentile": "0.252"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:06:23.000Z",
      "cve": "CVE-2026-142938",
      "id": "msrc_CVE-2026-142938",
      "initial_release_date": "2026-12-03T18:44:38.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "virtio-net: fix frag overflow in big packets receive",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-142938.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/virtio_net.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a",
                    "status": "affected",
                    "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a358121e340b4dae2729f01cb7b7139b8765eee3",
                    "status": "affected",
                    "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ec7785c8bb7d5f54eb7662c82c74092e0612487d",
                    "status": "affected",
                    "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e612e5e046bb5941f532a13ed18b662820736acb",
                    "status": "affected",
                    "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b0e4ea3a0cd42eccad9cc4153afcad555480b9e6",
                    "status": "affected",
                    "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/virtio_net.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "2.6.34"
                  },
                  {
                    "lessThan": "2.6.34",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.119",
                    "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\nvirtio-net: fix frag overflow in big packets receive\n\nIn big packets mode with guest GSO, add_recvbuf_big() posts a chain of\nMAX_SKB_FRAGS + 1 pages. page_to_skb() copies only ETH_HLEN of the\nfirst page into the linear area and adds the rest of that page as a\nfrag, then one frag per remaining page. A device that fills the entire\nbuffer therefore causes MAX_SKB_FRAGS + 1 frags, writing one\nskb_frag_t past the end of skb_shinfo(skb)-\u003efrags[].\n\nPost one page less. The buffer still fits a maximal GSO packet. A well\nbehaved device does not trigger this, as GSO packets are at most 64KB.\n\nAlso check the frag count in page_to_skb() before adding any frag as\ndefense in depth."
          }
        ],
        "id": "CVE-2026-142938",
        "lastModified": "2026-12-04T04:17:31.193",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 8.4,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.5,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T04:18:35.197",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a358121e340b4dae2729f01cb7b7139b8765eee3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b0e4ea3a0cd42eccad9cc4153afcad555480b9e6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e612e5e046bb5941f532a13ed18b662820736acb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ec7785c8bb7d5f54eb7662c82c74092e0612487d"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-04T17:00:43+00:00",
      "cve": "CVE-2026-142938",
      "id": "CVE-2026-142938",
      "initial_release_date": "2026-12-03T03:26:09.353000+00:00",
      "product_status:known_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: virtio-net: Denial of service via out-of-bounds write in big packets receive mode",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-142938.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.