{"id":"CVE-2026-64051","summary":"accel/qaic: Add overflow check to remap_pfn_range during mmap","details":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/qaic: Add overflow check to remap_pfn_range during mmap\n\nThe call to remap_pfn_range in qaic_gem_object_mmap is susceptible to\n(re)mapping beyond the VMA if the BO is too large. This can cause use\nafter free issues when munmap() unmaps only the VMA region and not the\nadditional mappings. To prevent this, check the remaining size of the\nVMA before remapping and truncate the remapped length if sg-\u003elength is\ntoo large.\n\n[jhugo: fix braces from checkpatch --strict]","modified":"2026-07-22T05:29:38.550245912Z","published":"2026-07-19T15:39:34.608Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64051.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/8c795012d0e06b7740e40319b86ff8d2a435098d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8dd6edbe26770df147136c3f2ac976c873b82650"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97a8e89cdef36207a8776edc03d6931763a06ad0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9baafc2fea096279e75480f93fd5942e8336b510"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa16b2bc0f02709919e2435f531406531e5bcc69"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64051.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64051"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ff13be8303336ead5621712f2c55012d738878b5"},{"fixed":"9baafc2fea096279e75480f93fd5942e8336b510"},{"fixed":"8dd6edbe26770df147136c3f2ac976c873b82650"},{"fixed":"97a8e89cdef36207a8776edc03d6931763a06ad0"},{"fixed":"8c795012d0e06b7740e40319b86ff8d2a435098d"},{"fixed":"aa16b2bc0f02709919e2435f531406531e5bcc69"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64051.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.6.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.92"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64051.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}