CVE-2025-22118 (GCVE-0-2025-22118)
Vulnerability from cvelistv5
Published
2025-04-16 14:13
Modified
2026-08-05 11:56
Summary
In the Linux kernel, the following vulnerability has been resolved: ice: validate queue quanta parameters to prevent OOB access Add queue wraparound prevention in quanta configuration. Ensure end_qid does not overflow by validating start_qid and num_queues.
Impacted products
Vendor Product Version
Linux Linux Version: 015307754a19832dd665295f6c123289b0f37ba6
Version: 015307754a19832dd665295f6c123289b0f37ba6
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/intel/ice/ice_virtchnl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4161cf3f4c11006507f4e02bedc048a215a4b81a",
              "status": "affected",
              "version": "015307754a19832dd665295f6c123289b0f37ba6",
              "versionType": "git"
            },
            {
              "lessThan": "e2f7d3f7331b92cb820da23e8c45133305da1e63",
              "status": "affected",
              "version": "015307754a19832dd665295f6c123289b0f37ba6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/intel/ice/ice_virtchnl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.13"
            },
            {
              "lessThan": "6.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.2",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nice: validate queue quanta parameters to prevent OOB access\n\nAdd queue wraparound prevention in quanta configuration.\nEnsure end_qid does not overflow by validating start_qid and num_queues."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The malicious input is a virtchnl `VIRTCHNL_OP_CONFIG_QUANTA` message delivered over the SR-IOV PF/VF mailbox on the PCIe bus, not over any network protocol; the attacker must be executing code in a guest VM (or container) that owns an assigned ice VF.\nAC:L - Both `start_queue_id` and `num_queues` are attacker-supplied `u16` fields with no timing, race, or memory-layout dependency, and the required `VIRTCHNL_VF_OFFLOAD_QOS` capability is granted by the PF solely on the VF\u0027s own request, so the condition is triggered deterministically on the first message.\nPR:L - The attacker needs no privileges on the host at all \u2014 only the ability to drive an already-assigned VF\u0027s mailbox from inside its own security domain (guest kernel/VF driver), which is the baseline privilege level of any SR-IOV tenant.\nUI:N - The PF processes VF mailbox messages asynchronously from the service task with no host administrator or user action required.\nS:C - SR-IOV is a security boundary: the vulnerable PF driver enforces isolation of untrusted VF tenants, and a VF corrupting host kernel memory impacts the host OS, a separate security authority from the guest \u2014 the same pattern as a guest-to-host escape.\nC:H - The vendor-characterized out-of-bounds access reads a ring pointer from beyond the `tx_rings[]` array, and such heap corruption in the host kernel can be leveraged to disclose arbitrary host memory across the guest/host boundary.\nI:H - The claimed OOB access writes an attacker-influenced `quanta_prof_id` through a pointer sourced from past the end of `vsi-\u003etx_rings[]`, giving a write primitive into host kernel memory usable for control-flow hijack.\nA:H - Dereferencing an out-of-bounds ring pointer in host kernel context oopses or panics the hypervisor host, and the message can be replayed repeatedly by the VF."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:56:55.429Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4161cf3f4c11006507f4e02bedc048a215a4b81a"
        },
        {
          "url": "https://git.kernel.org/stable/c/e2f7d3f7331b92cb820da23e8c45133305da1e63"
        }
      ],
      "title": "ice: validate queue quanta parameters to prevent OOB access",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-22118",
    "datePublished": "2025-04-16T14:13:04.013Z",
    "dateReserved": "2024-12-29T08:45:45.823Z",
    "dateUpdated": "2026-08-05T11:56:55.429Z",
    "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…