# CVE-2026-64051: accel/qaic: Add overflow check to remap_pfn_range during mmap

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:34.608Z
- Modified: 2026-09-02T21:10:13.047Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

accel/qaic: Add overflow check to remap_pfn_range during mmap

The call to remap_pfn_range in qaic_gem_object_mmap is susceptible to
(re)mapping beyond the VMA if the BO is too large. This can cause use
after free issues when munmap() unmaps only the VMA region and not the
additional mappings. To prevent this, check the remaining size of the
VMA before remapping and truncate the remapped length if sg->length is
too large.

[jhugo: fix braces from checkpatch --strict]

(As written by CVE List.)

## Affected

- Linux Linux: from ff13be8303336ead5621712f2c55012d738878b5 before 9baafc2fea096279e75480f93fd5942e8336b510; from ff13be8303336ead5621712f2c55012d738878b5 before 8dd6edbe26770df147136c3f2ac976c873b82650; from ff13be8303336ead5621712f2c55012d738878b5 before 97a8e89cdef36207a8776edc03d6931763a06ad0; from ff13be8303336ead5621712f2c55012d738878b5 before 8c795012d0e06b7740e40319b86ff8d2a435098d; from ff13be8303336ead5621712f2c55012d738878b5 before aa16b2bc0f02709919e2435f531406531e5bcc69; 6.4 (not affected: before 6.4; from 6.6.142 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.4 before 6.6.142; from 6.7 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/9baafc2fea096279e75480f93fd5942e8336b510> (patch)
- <https://git.kernel.org/stable/c/8dd6edbe26770df147136c3f2ac976c873b82650> (patch)
- <https://git.kernel.org/stable/c/97a8e89cdef36207a8776edc03d6931763a06ad0> (patch)
- <https://git.kernel.org/stable/c/8c795012d0e06b7740e40319b86ff8d2a435098d> (patch)
- <https://git.kernel.org/stable/c/aa16b2bc0f02709919e2435f531406531e5bcc69> (patch)

## Sources

- CVE List: [CVE-2026-64051](https://www.cve.org/CVERecord?id=CVE-2026-64051), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-64051](https://nvd.nist.gov/vuln/detail/CVE-2026-64051), Public domain, modified 2026-09-02

---

Page: https://cve.day/CVE-2026-64051 · Whole record: https://cve.day/CVE-2026-64051.json · Rebuilt by cve.day 2026-11-25T22:59:28.967Z
