{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80582","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-26T14:34:25.769Z","datePublished":"2026-08-26T14:37:39.113Z","dateUpdated":"2026-08-27T05:02:02.758Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-27T05:02:02.758Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/shmem_helper: Check VMA boundaries for PMD mappings\n\nIn the ->huge_fault handler do not install a PMD huge page\nmapping if the huge page exceeds the boundaries of the VMA.\n\nAll other ->huge_fault handlers have similar checks and the\nresulting mapping will trigger a VM_BUG_ON_VMA() if it ever\nreaches copy_pmd_range()."}],"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 - Reachable via local mmap/page-fault on DRM GEM shmem buffers (drm_gem_mmap -> drm_gem_shmem_any_fault -> try_insert_pfn PMD path), used by virtio-gpu, panfrost, lima, v3d, panthor, and other GPU/accelerator drivers on phones, VMs, and desktops.\nAC:L - An attacker controls GEM buffer size, mmap length, fault addresses, and follow-on fork/mprotect; no race or rare layout is required beyond creating a non-PMD-aligned mapping near a VMA end so a 2MB PMD install overruns the VMA.\nPR:L - Only standard local GPU access is needed (open /dev/dri/renderD* or card*, DRM GEM create/mmap ioctls); no CAP_SYS_ADMIN or init-namespace root, matching unprivileged desktop render-group users, Android GPU apps, and cloud/VM GPU workloads.\nUI:N - Exploitation is fully attacker-driven through their own DRM client (create buffer, mmap, touch pages, fork); no separate victim action such as opening a file or mounting a filesystem is required.\nS:U - Impact stays within the kernel/GPU process security boundary (local memory corruption and kernel panic); it does not cross VM/host, IOMMU, or sandbox authority boundaries.\nC:H - Without the VMA boundary check, a 2MB PMD PFNMAP can cover virtual/physical pages beyond the GEM object and VMA, creating out-of-bounds read primitives from adjacent mapped memory before copy_pmd_range() trips VM_BUG_ON_VMA().\nI:H - The same oversized PMD mapping installs writable PFNMAP entries beyond the allocated buffer, enabling out-of-bounds writes and corrupt page tables exploitable for control-flow or data tampering, not merely a clean fault.\nA:H - The invalid PMD eventually hits VM_BUG_ON_VMA() in copy_pmd_range() or __split_huge_pmd() (e.g., fork of the mapping), producing a kernel BUG/oops and panic as demonstrated in related drm/shmem_helper THP testing."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/drm_gem_shmem_helper.c"],"versions":[{"version":"fc3bbf34e643faa8678aabdc3810c60109f3435a","lessThan":"12803e89a1e593fd1e784dfe7453f5e392ccaff2","status":"affected","versionType":"git"},{"version":"fc3bbf34e643faa8678aabdc3810c60109f3435a","lessThan":"617bbd08714857c1613d7c550d43a9092ec0fb97","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/gpu/drm/drm_gem_shmem_helper.c"],"versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","status":"unaffected","versionType":"semver"},{"version":"7.1.10","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","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":"7.0","versionEndExcluding":"7.1.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/12803e89a1e593fd1e784dfe7453f5e392ccaff2"},{"url":"https://git.kernel.org/stable/c/617bbd08714857c1613d7c550d43a9092ec0fb97"}],"title":"drm/shmem_helper: Check VMA boundaries for PMD mappings","x_generator":{"engine":"bippy-1.2.0"}}}}