CVE-2026-64552 (GCVE-0-2026-64552)

Vulnerability from cvelistv5 – Published: 2026-07-27 20:10 – Updated: 2026-07-27 20:10
VLAI
Title
virtio-net: fix len check in receive_big()
Summary
In the Linux kernel, the following vulnerability has been resolved: virtio-net: fix len check in receive_big() receive_big() bounds the device-announced length by (big_packets_num_skbfrags + 1) * PAGE_SIZE. That is still too loose: add_recvbuf_big() sets sg[1] to start at offset sizeof(struct padded_vnet_hdr) into the first page, so the chain actually carries hdr_len + (PAGE_SIZE - sizeof(padded_vnet_hdr)) + big_packets_num_skbfrags * PAGE_SIZE bytes -- 20 bytes less than the check allows for the common hdr_len == 12 case. A malicious virtio backend can announce a len in that gap. page_to_skb() then walks one frag past the page chain, storing a NULL page->private into skb_shinfo()->frags[MAX_SKB_FRAGS], which is both an out-of-bounds write past the static frag array and a NULL frag handed up the rx path. Bound len by the size add_recvbuf_big() actually advertised.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 82f9028e83944a9eee5229cbc6fee9be1de8a62d , < f9451d0fd5ba635dcabb49bfe456a6db734a8986 (git)
Affected: 946dec89c41726b94d31147ec528b96af0be1b5a , < 38e94d63e29f4a5c6eae87ee2c02101aaa321502 (git)
Affected: 82fe78065450d2d07f36a22e2b6b44955cf5ca5b , < fbeb65154583879d556ea94cb2f15888e9470f3d (git)
Affected: 0c716703965ffc5ef4311b65cb5d84a703784717 , < c7fc9adf4e006155f7f2aeda052fbcde25cdcc49 (git)
Affected: 0c716703965ffc5ef4311b65cb5d84a703784717 , < e6b8463b7d791f3886d7584259d6e9f06a69f12e (git)
Affected: 0c716703965ffc5ef4311b65cb5d84a703784717 , < 9e5ad06ea826322ce8c58b4a68442a96f600c3c4 (git)
Affected: 3e9d89f2ecd3636bd4cbdfd0b2dfdaf58f9882e2 (git)
Affected: 6.1.159 , < 6.1.178 (semver)
Affected: 6.6.117 , < 6.6.145 (semver)
Affected: 6.12.58 , < 6.12.97 (semver)
Affected: 6.17.8 , < 6.18 (semver)
Create a notification for this product.
Linux Linux Affected: 6.18
Unaffected: 0 , < 6.18 (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc1 , ≤ * (original_commit_for_fix)
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": "f9451d0fd5ba635dcabb49bfe456a6db734a8986",
              "status": "affected",
              "version": "82f9028e83944a9eee5229cbc6fee9be1de8a62d",
              "versionType": "git"
            },
            {
              "lessThan": "38e94d63e29f4a5c6eae87ee2c02101aaa321502",
              "status": "affected",
              "version": "946dec89c41726b94d31147ec528b96af0be1b5a",
              "versionType": "git"
            },
            {
              "lessThan": "fbeb65154583879d556ea94cb2f15888e9470f3d",
              "status": "affected",
              "version": "82fe78065450d2d07f36a22e2b6b44955cf5ca5b",
              "versionType": "git"
            },
            {
              "lessThan": "c7fc9adf4e006155f7f2aeda052fbcde25cdcc49",
              "status": "affected",
              "version": "0c716703965ffc5ef4311b65cb5d84a703784717",
              "versionType": "git"
            },
            {
              "lessThan": "e6b8463b7d791f3886d7584259d6e9f06a69f12e",
              "status": "affected",
              "version": "0c716703965ffc5ef4311b65cb5d84a703784717",
              "versionType": "git"
            },
            {
              "lessThan": "9e5ad06ea826322ce8c58b4a68442a96f600c3c4",
              "status": "affected",
              "version": "0c716703965ffc5ef4311b65cb5d84a703784717",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3e9d89f2ecd3636bd4cbdfd0b2dfdaf58f9882e2",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.178",
              "status": "affected",
              "version": "6.1.159",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.145",
              "status": "affected",
              "version": "6.6.117",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.97",
              "status": "affected",
              "version": "6.12.58",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18",
              "status": "affected",
              "version": "6.17.8",
              "versionType": "semver"
            }
          ]
        },
        {
          "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": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "6.1.159",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "6.6.117",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "6.12.58",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc1",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.17.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-net: fix len check in receive_big()\n\nreceive_big() bounds the device-announced length by\n(big_packets_num_skbfrags + 1) * PAGE_SIZE.  That is still too loose:\nadd_recvbuf_big() sets sg[1] to start at offset\nsizeof(struct padded_vnet_hdr) into the first page, so the chain\nactually carries hdr_len + (PAGE_SIZE - sizeof(padded_vnet_hdr)) +\nbig_packets_num_skbfrags * PAGE_SIZE bytes -- 20 bytes less than the\ncheck allows for the common hdr_len == 12 case.\n\nA malicious virtio backend can announce a len in that gap.  page_to_skb()\nthen walks one frag past the page chain, storing a NULL page-\u003eprivate\ninto skb_shinfo()-\u003efrags[MAX_SKB_FRAGS], which is both an out-of-bounds\nwrite past the static frag array and a NULL frag handed up the rx path.\n\nBound len by the size add_recvbuf_big() actually advertised."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-27T20:10:40.570Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f9451d0fd5ba635dcabb49bfe456a6db734a8986"
        },
        {
          "url": "https://git.kernel.org/stable/c/38e94d63e29f4a5c6eae87ee2c02101aaa321502"
        },
        {
          "url": "https://git.kernel.org/stable/c/fbeb65154583879d556ea94cb2f15888e9470f3d"
        },
        {
          "url": "https://git.kernel.org/stable/c/c7fc9adf4e006155f7f2aeda052fbcde25cdcc49"
        },
        {
          "url": "https://git.kernel.org/stable/c/e6b8463b7d791f3886d7584259d6e9f06a69f12e"
        },
        {
          "url": "https://git.kernel.org/stable/c/9e5ad06ea826322ce8c58b4a68442a96f600c3c4"
        }
      ],
      "title": "virtio-net: fix len check in receive_big()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64552",
    "datePublished": "2026-07-27T20:10:40.570Z",
    "dateReserved": "2026-07-19T15:36:31.796Z",
    "dateUpdated": "2026-07-27T20:10:40.570Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64552\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-27T21:17:08.173\",\"lastModified\":\"2026-07-27T21:17:08.173\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nvirtio-net: fix len check in receive_big()\\n\\nreceive_big() bounds the device-announced length by\\n(big_packets_num_skbfrags + 1) * PAGE_SIZE.  That is still too loose:\\nadd_recvbuf_big() sets sg[1] to start at offset\\nsizeof(struct padded_vnet_hdr) into the first page, so the chain\\nactually carries hdr_len + (PAGE_SIZE - sizeof(padded_vnet_hdr)) +\\nbig_packets_num_skbfrags * PAGE_SIZE bytes -- 20 bytes less than the\\ncheck allows for the common hdr_len == 12 case.\\n\\nA malicious virtio backend can announce a len in that gap.  page_to_skb()\\nthen walks one frag past the page chain, storing a NULL page-\u003eprivate\\ninto skb_shinfo()-\u003efrags[MAX_SKB_FRAGS], which is both an out-of-bounds\\nwrite past the static frag array and a NULL frag handed up the rx path.\\n\\nBound len by the size add_recvbuf_big() actually advertised.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/virtio_net.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"82f9028e83944a9eee5229cbc6fee9be1de8a62d\",\"lessThan\":\"f9451d0fd5ba635dcabb49bfe456a6db734a8986\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"946dec89c41726b94d31147ec528b96af0be1b5a\",\"lessThan\":\"38e94d63e29f4a5c6eae87ee2c02101aaa321502\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"82fe78065450d2d07f36a22e2b6b44955cf5ca5b\",\"lessThan\":\"fbeb65154583879d556ea94cb2f15888e9470f3d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0c716703965ffc5ef4311b65cb5d84a703784717\",\"lessThan\":\"c7fc9adf4e006155f7f2aeda052fbcde25cdcc49\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0c716703965ffc5ef4311b65cb5d84a703784717\",\"lessThan\":\"e6b8463b7d791f3886d7584259d6e9f06a69f12e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0c716703965ffc5ef4311b65cb5d84a703784717\",\"lessThan\":\"9e5ad06ea826322ce8c58b4a68442a96f600c3c4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3e9d89f2ecd3636bd4cbdfd0b2dfdaf58f9882e2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.1.159\",\"lessThan\":\"6.1.178\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.6.117\",\"lessThan\":\"6.6.145\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.12.58\",\"lessThan\":\"6.12.97\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.17.8\",\"lessThan\":\"6.18\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/net/virtio_net.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.18\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.18\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/38e94d63e29f4a5c6eae87ee2c02101aaa321502\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9e5ad06ea826322ce8c58b4a68442a96f600c3c4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c7fc9adf4e006155f7f2aeda052fbcde25cdcc49\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e6b8463b7d791f3886d7584259d6e9f06a69f12e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f9451d0fd5ba635dcabb49bfe456a6db734a8986\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fbeb65154583879d556ea94cb2f15888e9470f3d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…