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]
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is in the Linux kernel’s accel/qaic module where the remap_pfn_range function used during mmap can map device memory beyond the bounds of a target virtual memory area. When the buffer object is larger than the VMA, the remapped memory extends past the VMA, and a subsequent munmap removes only the VMA portion. The leftover mapping can then be accessed as a use‑after‑free, potentially corrupting kernel memory. This flaw does not allow direct code execution but can compromise the integrity of the kernel if exploited. The weakness identified is CWE‑787, an out‑of‑bounds write condition.

Affected Systems

Linux kernel implementations that include the accel/qaic driver without the recent overflow check are affected. All kernels shipped prior to the commit that added the bounds verification in remap_pfn_range are potentially vulnerable. No vendor‑specific version constraints are listed; the issue is inherent to the Linux kernel and its accel/qaic driver code.

Risk and Exploitability

The CVSS score of 7.8 marks this a high‑severity vulnerability. The EPSS score of less than 1 % suggests a very low probability of active exploitation in the wild, and the vulnerability is not currently catalogued in the CISA KEV list. The likely attack vector is local; it requires the ability to load a device buffer that exceeds the VMA size and trigger the remap during mmap. Because the flaw results in a use‑after‑free, exploitation needs precise conditions but could lead to kernel memory corruption or instability.

Generated by OpenCVE AI on August 1, 2026 at 07:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the commit adding the overflow check to remap_pfn_range.
  • If an immediate kernel update is not possible, disable or unload the QAIC driver to prevent the vulnerable mapping until remediation can be applied.
  • Apply kernel hardening options such as enabling CONFIG_PAGE_TABLE_ISOLATION, or other memory protection settings, to reduce the impact of potential use‑after‑free.

Generated by OpenCVE AI on August 1, 2026 at 07:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Mon, 20 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
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]
Title accel/qaic: Add overflow check to remap_pfn_range during mmap
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:38:42.519Z

Reserved: 2026-07-19T07:54:57.029Z

Link: CVE-2026-64051

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64051 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T07:45:05Z

Weaknesses