CVE-2026-80541 (GCVE-0-2026-80541)
Vulnerability from cvelistv5
Published
2026-08-26 14:37
Modified
2026-08-27 05:01
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate GEM_CREATE domain combinations AMDGPU_GEM_CREATE checked domain bits against AMDGPU_GEM_DOMAIN_MASK, but did not validate domain combinations. Userspace could combine CPU|GTT|VRAM with DOORBELL, GDS, GWS, or OA, making amdgpu_bo_placement_from_domain() exceed AMDGPU_BO_MAX_PLACEMENTS and hit BUG_ON(). Allow combinations only within CPU/GTT/VRAM, and require non-CPU/GTT/ VRAM domains to be specified one at a time. Return -EINVAL for invalid combinations in amdgpu_gem_create_ioctl(). v2: Rename helper from amdgpu_gem_domain_valid() to amdgpu_gem_are_domains_valid() (Christian) (cherry picked from commit db39852d0c39843cb02048dfb47e4b8c703e9080)
Impacted products
Vendor Product Version
Linux Linux Version: 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd
Version: 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd
Version: 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd
Version: 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd
Version: 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd
Version: 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd
Version: 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd
Version: 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5c73485af7ad9c3ae592db3481f370bc07705391",
              "status": "affected",
              "version": "77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd",
              "versionType": "git"
            },
            {
              "lessThan": "584e3d47736fe2e7184ef3fc16b00b41485f96c6",
              "status": "affected",
              "version": "77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd",
              "versionType": "git"
            },
            {
              "lessThan": "66133fc05c3af002f45de8a71b833c026ccbfba6",
              "status": "affected",
              "version": "77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd",
              "versionType": "git"
            },
            {
              "lessThan": "ce5da474c3ddf7cccec5dce6aa4296297dd7caff",
              "status": "affected",
              "version": "77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd",
              "versionType": "git"
            },
            {
              "lessThan": "493355096e397f9217b41c8574ed2784c7351443",
              "status": "affected",
              "version": "77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd",
              "versionType": "git"
            },
            {
              "lessThan": "220aa2589d7321fb68d2e8597862711b5f22ae0b",
              "status": "affected",
              "version": "77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd",
              "versionType": "git"
            },
            {
              "lessThan": "80f0b53860d02577709d69a312a29ca674b9297c",
              "status": "affected",
              "version": "77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd",
              "versionType": "git"
            },
            {
              "lessThan": "5e9d136ad74df4edec67e502ce267597064d8f86",
              "status": "affected",
              "version": "77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.20"
            },
            {
              "lessThan": "4.20",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.266",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.217",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.184",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.153",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.105",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.46",
              "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": "5.10.266",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.217",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.184",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.153",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.105",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.46",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.10",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: validate GEM_CREATE domain combinations\n\nAMDGPU_GEM_CREATE checked domain bits against AMDGPU_GEM_DOMAIN_MASK,\nbut did not validate domain combinations. Userspace could combine\nCPU|GTT|VRAM with DOORBELL, GDS, GWS, or OA, making\namdgpu_bo_placement_from_domain() exceed AMDGPU_BO_MAX_PLACEMENTS and\nhit BUG_ON().\n\nAllow combinations only within CPU/GTT/VRAM, and require non-CPU/GTT/\nVRAM domains to be specified one at a time. Return -EINVAL for invalid\ncombinations in amdgpu_gem_create_ioctl().\n\nv2: Rename helper from amdgpu_gem_domain_valid() to\n    amdgpu_gem_are_domains_valid() (Christian)\n\n(cherry picked from commit db39852d0c39843cb02048dfb47e4b8c703e9080)"
        }
      ],
      "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 - The bug is reached only via DRM_IOCTL_AMDGPU_GEM_CREATE on a local amdgpu render node (/dev/dri/renderD*); userspace passes crafted domain flags into amdgpu_gem_create_ioctl(), which calls amdgpu_bo_placement_from_domain() during amdgpu_bo_create(). There is no network, adjacent-radio, or physical-access path to this code.\nAC:L - Triggering is a single deterministic ioctl with an invalid domain bitmask (e.g. CPU|GTT|VRAM|DOORBELL); the attacker fully controls the domains field and needs no race, special memory layout, or victim state. Invalid combinations reliably exceed AMDGPU_BO_MAX_PLACEMENTS (3) and hit BUG_ON() on every attempt.\nPR:L - AMDGPU_GEM_CREATE is registered with DRM_AUTH|DRM_RENDER_ALLOW, so any local unprivileged user who can open the render node (default on desktops, ChromeOS, Steam Deck, and cloud GPU tenants via render/video group or ACL) can invoke it without real root or init-namespace capabilities.\nUI:N - The attacking process performs the GEM_CREATE ioctl itself; no other user must mount a filesystem, open a file, click a link, or take any other action for the invalid domain combination to reach amdgpu_bo_placement_from_domain() and panic the kernel.\nS:U - Impact is confined to host-kernel memory corruption and panic within the amdgpu/TTM driver; it does not cross a VM, IOMMU, or sandbox security boundary, and is standard local kernel privilege-escalation/DoS scope rather than a guest-to-host escape.\nC:H - Before BUG_ON(), amdgpu_bo_placement_from_domain() writes past the fixed placements[AMDGPU_BO_MAX_PLACEMENTS] array into adjacent amdgpu_bo fields (including struct ttm_placement) with attacker-influenced mem_type and flag values; this out-of-bounds write is memory corruption that could be leveraged for kernel info disclosure.\nI:H - The same out-of-bounds placement writes corrupt adjacent kernel heap objects in the amdgpu_bo allocation with partially attacker-controlled ttm_place contents; out-of-bounds writes into kernel structures are classed as high integrity impact and could enable further heap corruption or control-flow hijacking.\nA:H - Once placement count exceeds three the kernel hits BUG_ON(c \u003e AMDGPU_BO_MAX_PLACEMENTS), causing an oops or panic; an unprivileged GPU client on shared AMD hardware (multi-user workstations or cloud GPU nodes) can repeatedly crash the entire host, denying service to all co-tenants."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-27T05:01:30.566Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5c73485af7ad9c3ae592db3481f370bc07705391"
        },
        {
          "url": "https://git.kernel.org/stable/c/584e3d47736fe2e7184ef3fc16b00b41485f96c6"
        },
        {
          "url": "https://git.kernel.org/stable/c/66133fc05c3af002f45de8a71b833c026ccbfba6"
        },
        {
          "url": "https://git.kernel.org/stable/c/ce5da474c3ddf7cccec5dce6aa4296297dd7caff"
        },
        {
          "url": "https://git.kernel.org/stable/c/493355096e397f9217b41c8574ed2784c7351443"
        },
        {
          "url": "https://git.kernel.org/stable/c/220aa2589d7321fb68d2e8597862711b5f22ae0b"
        },
        {
          "url": "https://git.kernel.org/stable/c/80f0b53860d02577709d69a312a29ca674b9297c"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e9d136ad74df4edec67e502ce267597064d8f86"
        }
      ],
      "title": "drm/amdgpu: validate GEM_CREATE domain combinations",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80541",
    "datePublished": "2026-08-26T14:37:14.572Z",
    "dateReserved": "2026-08-26T14:34:25.765Z",
    "dateUpdated": "2026-08-27T05:01:30.566Z",
    "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…