CVE-2026-80582 (GCVE-0-2026-80582)
Vulnerability from cvelistv5
Published
2026-08-26 14:37
Modified
2026-08-27 05:02
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/shmem_helper: Check VMA boundaries for PMD mappings In the ->huge_fault handler do not install a PMD huge page mapping if the huge page exceeds the boundaries of the VMA. All other ->huge_fault handlers have similar checks and the resulting mapping will trigger a VM_BUG_ON_VMA() if it ever reaches copy_pmd_range().
Impacted products
Vendor Product Version
Linux Linux Version: fc3bbf34e643faa8678aabdc3810c60109f3435a
Version: fc3bbf34e643faa8678aabdc3810c60109f3435a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_gem_shmem_helper.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "12803e89a1e593fd1e784dfe7453f5e392ccaff2",
              "status": "affected",
              "version": "fc3bbf34e643faa8678aabdc3810c60109f3435a",
              "versionType": "git"
            },
            {
              "lessThan": "617bbd08714857c1613d7c550d43a9092ec0fb97",
              "status": "affected",
              "version": "fc3bbf34e643faa8678aabdc3810c60109f3435a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_gem_shmem_helper.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.0"
            },
            {
              "lessThan": "7.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.10",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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 -\u003ehuge_fault handler do not install a PMD huge page\nmapping if the huge page exceeds the boundaries of the VMA.\n\nAll other -\u003ehuge_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": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Reachable via local mmap/page-fault on DRM GEM shmem buffers (drm_gem_mmap -\u003e drm_gem_shmem_any_fault -\u003e 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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-27T05:02:02.758Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80582",
    "datePublished": "2026-08-26T14:37:39.113Z",
    "dateReserved": "2026-08-26T14:34:25.769Z",
    "dateUpdated": "2026-08-27T05:02:02.758Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…