{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-22001",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-12-29T08:45:45.802Z",
        "datePublished": "2025-04-03T07:19:04.251Z",
        "dateUpdated": "2026-08-05T11:55:56.125Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:55:56.125Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\naccel/qaic: Fix integer overflow in qaic_validate_req()\n\nThese are u64 variables that come from the user via\nqaic_attach_slice_bo_ioctl().  Use check_add_overflow() to ensure that\nthe math doesn't have an integer wrapping bug."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The bug is reached through DRM_IOCTL_QAIC_ATTACH_SLICE_BO on the /dev/accel/accelN character device, requiring local access to the machine hosting the Qualcomm Cloud AI 100 accelerator. There is no network-facing path to this code.\nAC:L - The attacker directly supplies the wrapping offset/size pair in the ioctl payload and the overflow is deterministic arithmetic with no race, timing, or memory-layout precondition. A single ioctl pair (attach slice, then execute BO) reliably programs the oversized DMA descriptor.\nPR:L - No capability check exists anywhere in drivers/accel/qaic/, and the ioctl is registered with flags 0 so drm_ioctl_permit() applies no root or auth gate; only an open fd on the accel node is needed. On the multi-tenant inference hosts this accelerator targets, that node is granted to ordinary unprivileged workload users.\nUI:N - The attacker performs the entire sequence itself with two ioctls on a device it opened. No victim action or cooperation is involved.\nS:U - The corruption occurs in host kernel memory under the same kernel security authority; this is a standard local kernel privilege-escalation primitive rather than a VM or IOMMU-boundary escape.\nC:H - A DMA_TO_DEVICE slice with the wrapped length makes the device read up to ~4 GiB of host memory past the buffer and copy it into accelerator memory, which the same unprivileged user can read back, yielding large-scale disclosure of kernel and other tenants' data.\nI:H - A DMA_FROM_DEVICE slice makes the device write ~4 GiB of attacker-controlled data beyond the 8 KiB buffer, giving a wide out-of-bounds write over kernel memory that is readily leveraged into control-flow hijack and privilege escalation.\nA:H - The multi-gigabyte overrun corrupts arbitrary kernel structures and page tables, reliably producing an oops or panic; with an IOMMU present it instead raises DMA faults that wedge or force a reset of the accelerator."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/accel/qaic/qaic_data.c"
                    ],
                    "versions": [
                        {
                            "version": "ff13be8303336ead5621712f2c55012d738878b5",
                            "lessThan": "4b2a170c25862ad116bd31be6b9841646b4862e8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ff13be8303336ead5621712f2c55012d738878b5",
                            "lessThan": "b362fc904d264a88b4af20baae9e82491c285e9c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ff13be8303336ead5621712f2c55012d738878b5",
                            "lessThan": "57fae0c505f49bb1e3d5660cd2cc49697ed85f7c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ff13be8303336ead5621712f2c55012d738878b5",
                            "lessThan": "67d15c7aa0864dfd82325c7e7e7d8548b5224c7b",
                            "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/accel/qaic/qaic_data.c"
                    ],
                    "versions": [
                        {
                            "version": "6.4",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.4",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.85",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.21",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.13.9",
                            "lessThanOrEqual": "6.13.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.14",
                            "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.4",
                                    "versionEndExcluding": "6.6.85"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "6.12.21"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "6.13.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "6.14"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/4b2a170c25862ad116bd31be6b9841646b4862e8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b362fc904d264a88b4af20baae9e82491c285e9c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/57fae0c505f49bb1e3d5660cd2cc49697ed85f7c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/67d15c7aa0864dfd82325c7e7e7d8548b5224c7b"
                }
            ],
            "title": "accel/qaic: Fix integer overflow in qaic_validate_req()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-190",
                                "lang": "en",
                                "description": "CWE-190 Integer Overflow or Wraparound"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-10-01T17:10:27.696134Z",
                                "id": "CVE-2025-22001",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T17:10:29.970Z"
                }
            }
        ]
    }
}