CVE-2026-80582 (GCVE-0-2026-80582)

Vulnerability from cvelistv5 – Published: 2026-08-26 14:37 – Updated: 2026-08-27 05:02
VLAI
Title
drm/shmem_helper: Check VMA boundaries for PMD mappings
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 CPE status
Linux Linux Affected: fc3bbf34e643faa8678aabdc3810c60109f3435a , < 12803e89a1e593fd1e784dfe7453f5e392ccaff2 (git)
Affected: fc3bbf34e643faa8678aabdc3810c60109f3435a , < 617bbd08714857c1613d7c550d43a9092ec0fb97 (git)
guessed Create a notification for this product.
Linux Linux Affected: 7.0
Unaffected: 0 , < 7.0 (semver)
Unaffected: 7.1.10 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed 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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-80582",
      "date": "2026-09-01",
      "epss": "0.00112",
      "percentile": "0.01504"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-80582\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-26T15:17:14.337\",\"lastModified\":\"2026-08-27T06:17:44.570\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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().\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/drm_gem_shmem_helper.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"fc3bbf34e643faa8678aabdc3810c60109f3435a\",\"lessThan\":\"12803e89a1e593fd1e784dfe7453f5e392ccaff2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fc3bbf34e643faa8678aabdc3810c60109f3435a\",\"lessThan\":\"617bbd08714857c1613d7c550d43a9092ec0fb97\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/drm_gem_shmem_helper.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"7.0\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"7.0\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.10\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"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\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/12803e89a1e593fd1e784dfe7453f5e392ccaff2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/617bbd08714857c1613d7c550d43a9092ec0fb97\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-27T10:44:04+00:00",
      "cve": "CVE-2026-80582",
      "id": "CVE-2026-80582",
      "initial_release_date": "2026-08-26T00:00:00+00:00",
      "product_status:known_affected": "76",
      "product_status:known_not_affected": "198",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/shmem_helper: Check VMA boundaries for PMD mappings",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80582.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…