CVE-2026-99046 (GCVE-0-2026-99046)
Vulnerability from cvelistv5
Published
2026-10-23 12:22
Modified
2026-10-24 14:10
Summary
In the Linux kernel, the following vulnerability has been resolved: gve: fix XSK buffer leak on error descriptor When the error bit is set in the RX completion descriptor, the buf_state and its attached buffer should be freed. In the case of AF_XDP ZC, the XSK buffer was not freed, leading to a leak. This issue was caught by LLM.
Impacted products
Vendor Product Version
Linux Linux Version: c1fffc5d66a7147d557736c2341a511e0896d9ff
Version: c1fffc5d66a7147d557736c2341a511e0896d9ff
Version: c1fffc5d66a7147d557736c2341a511e0896d9ff
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/google/gve/gve_rx_dqo.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "06656aaa7e43ae62b673c2244d27099b8b94a70d",
              "status": "affected",
              "version": "c1fffc5d66a7147d557736c2341a511e0896d9ff",
              "versionType": "git"
            },
            {
              "lessThan": "889f763874855c575429f75946132a53c573aa14",
              "status": "affected",
              "version": "c1fffc5d66a7147d557736c2341a511e0896d9ff",
              "versionType": "git"
            },
            {
              "lessThan": "9fed6a8ab8a5bacba2c709cb19d2dd6d2fa9112e",
              "status": "affected",
              "version": "c1fffc5d66a7147d557736c2341a511e0896d9ff",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/google/gve/gve_rx_dqo.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.17"
            },
            {
              "lessThan": "6.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.11",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ngve: fix XSK buffer leak on error descriptor\n\nWhen the error bit is set in the RX completion descriptor, the buf_state\nand its attached buffer should be freed. In the case of AF_XDP ZC, the\nXSK buffer was not freed, leading to a leak.\n\nThis issue was caught by LLM."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - A malformed Ethernet/IP packet received by gVNIC produces a DQO completion whose rx_error field denotes an invalid packet; gve_intr_dqo() schedules gve_napi_poll_dqo(), which reaches the patched gve_rx_dqo() through gve_rx_poll_dqo().\nAC:L - With a DQO-RDA AF_XDP zero-copy queue active, the sender can repeatedly transmit packets classified by the device as invalid; gve_rx_dqo() then deterministically takes the rx_error branch without a race or memory-layout dependency.\nPR:N - The gve_rx_dqo() receive path performs no authentication or capability check; xsk_create()\u0027s CAP_NET_RAW check and XDP attachment are victim-side service provisioning, while the remote sender needs only packet access.\nUI:N - After gve_reg_xsk_pool() activates the pool, gve_intr_dqo() and NAPI process each error completion automatically without any victim action.\nS:U - The leak affects the guest kernel\u0027s own GVE XSK pool and DQO receive queue; it neither bypasses an IOMMU nor crosses the guest/hypervisor boundary.\nC:N - The lost xdp_buff_xsk remains allocated but unreturned; the branch performs no out-of-bounds read or data return, and gve_alloc_buf_state() clears the stale pointer before reusing the state.\nI:N - In the vulnerable XSK case, gve_free_buffer() releases only page-pool state and the buf_state while leaving the XSK object allocated, causing resource loss without a dangling access, memory corruption, or unauthorized modification.\nA:H - Each error completion omits xsk_buff_free()/xp_free(), removing one frame from the fixed XSK pool; repetition makes xsk_buff_alloc() fail in gve_alloc_buffer(), prevents RX-buffer reposting, and can stop the bound receive queue until the pool or service is reset."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-24T14:10:10.249Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/06656aaa7e43ae62b673c2244d27099b8b94a70d"
        },
        {
          "url": "https://git.kernel.org/stable/c/889f763874855c575429f75946132a53c573aa14"
        },
        {
          "url": "https://git.kernel.org/stable/c/9fed6a8ab8a5bacba2c709cb19d2dd6d2fa9112e"
        }
      ],
      "title": "gve: fix XSK buffer leak on error descriptor",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99046",
    "datePublished": "2026-10-23T12:22:10.460Z",
    "dateReserved": "2026-09-25T10:25:14.388Z",
    "dateUpdated": "2026-10-24T14:10:10.249Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…