{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-22118",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-12-29T08:45:45.823Z",
        "datePublished": "2025-04-16T14:13:04.013Z",
        "dateUpdated": "2026-08-05T11:56:55.429Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:56:55.429Z"
            },
            "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": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    },
                    "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's own request, so the condition is triggered deterministically on the first message.\nPR:L - The attacker needs no privileges on the host at all — only the ability to drive an already-assigned VF's 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 — 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->tx_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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/intel/ice/ice_virtchnl.c"
                    ],
                    "versions": [
                        {
                            "version": "015307754a19832dd665295f6c123289b0f37ba6",
                            "lessThan": "4161cf3f4c11006507f4e02bedc048a215a4b81a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "015307754a19832dd665295f6c123289b0f37ba6",
                            "lessThan": "e2f7d3f7331b92cb820da23e8c45133305da1e63",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/intel/ice/ice_virtchnl.c"
                    ],
                    "versions": [
                        {
                            "version": "6.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.14.2",
                            "lessThanOrEqual": "6.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.15",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.13",
                                    "versionEndExcluding": "6.14.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.13",
                                    "versionEndExcluding": "6.15"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}