CVE-2026-68272 (GCVE-0-2026-68272)

Vulnerability from cvelistv5 – Published: 2026-08-10 12:01 – Updated: 2026-08-17 05:02
VLAI
Title
drm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1 Add a minimum-length check for the AMDGPU_CHUNK_ID_CP_GFX_SHADOW chunk in amdgpu_cs_pass1(), matching the gate already present for the IB, FENCE and BO_HANDLES chunk types. The CP_GFX_SHADOW case previously shared a bare break with the dependency and syncobj chunk types, which do not dereference a fixed-size struct. When userspace submits this chunk with length_dw == 0, vmemdup_array_user() is called with size 0 and returns ZERO_SIZE_PTR, which passes the IS_ERR() check. amdgpu_cs_p2_shadow() then dereferences chunk->kdata as a struct drm_amdgpu_cs_chunk_cp_gfx_shadow (reading shadow->flags), faulting on the ZERO_SIZE_PTR and causing a NULL-pointer dereference. This is reachable by an unprivileged process in the render group. Reject undersized chunks with -EINVAL during pass1 so the bad submission is rejected before pass2 ever dereferences the data. (cherry picked from commit 7f61b2eef7415eccdb40850aca0de94211948657)
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ac9287055ff16a092416c76a19006764e4c6a978 , < 3f190956404da55560056ce20606010e18bc059c (git)
Affected: ac9287055ff16a092416c76a19006764e4c6a978 , < 2aa9ea2bd5146d237c8cc16d8737d878b0298a94 (git)
Affected: ac9287055ff16a092416c76a19006764e4c6a978 , < 315d2e5741a81b0be763e80413a2677e22b7e596 (git)
Affected: ac9287055ff16a092416c76a19006764e4c6a978 , < 24668ca3ec19434d7a9574bf9112f2b0614c3a4e (git)
Affected: ac9287055ff16a092416c76a19006764e4c6a978 , < 84c4c36acd5c4b2558b5069f869a165b2c655c84 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.5
Unaffected: 0 , < 6.5 (semver)
Unaffected: 6.6.148 , ≤ 6.6.* (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 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/amd/amdgpu/amdgpu_cs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3f190956404da55560056ce20606010e18bc059c",
              "status": "affected",
              "version": "ac9287055ff16a092416c76a19006764e4c6a978",
              "versionType": "git"
            },
            {
              "lessThan": "2aa9ea2bd5146d237c8cc16d8737d878b0298a94",
              "status": "affected",
              "version": "ac9287055ff16a092416c76a19006764e4c6a978",
              "versionType": "git"
            },
            {
              "lessThan": "315d2e5741a81b0be763e80413a2677e22b7e596",
              "status": "affected",
              "version": "ac9287055ff16a092416c76a19006764e4c6a978",
              "versionType": "git"
            },
            {
              "lessThan": "24668ca3ec19434d7a9574bf9112f2b0614c3a4e",
              "status": "affected",
              "version": "ac9287055ff16a092416c76a19006764e4c6a978",
              "versionType": "git"
            },
            {
              "lessThan": "84c4c36acd5c4b2558b5069f869a165b2c655c84",
              "status": "affected",
              "version": "ac9287055ff16a092416c76a19006764e4c6a978",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.5"
            },
            {
              "lessThan": "6.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.148",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "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": "6.6.148",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1\n\nAdd a minimum-length check for the AMDGPU_CHUNK_ID_CP_GFX_SHADOW chunk in\namdgpu_cs_pass1(), matching the gate already present for the IB, FENCE and\nBO_HANDLES chunk types.\n\nThe CP_GFX_SHADOW case previously shared a bare break with the dependency\nand syncobj chunk types, which do not dereference a fixed-size struct. When\nuserspace submits this chunk with length_dw == 0, vmemdup_array_user() is\ncalled with size 0 and returns ZERO_SIZE_PTR, which passes the IS_ERR()\ncheck. amdgpu_cs_p2_shadow() then dereferences chunk-\u003ekdata as a struct\ndrm_amdgpu_cs_chunk_cp_gfx_shadow (reading shadow-\u003eflags), faulting on the\nZERO_SIZE_PTR and causing a NULL-pointer dereference.\n\nThis is reachable by an unprivileged process in the render group. Reject\nundersized chunks with -EINVAL during pass1 so the bad submission is\nrejected before pass2 ever dereferences the data.\n\n(cherry picked from commit 7f61b2eef7415eccdb40850aca0de94211948657)"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:02:05.775Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3f190956404da55560056ce20606010e18bc059c"
        },
        {
          "url": "https://git.kernel.org/stable/c/2aa9ea2bd5146d237c8cc16d8737d878b0298a94"
        },
        {
          "url": "https://git.kernel.org/stable/c/315d2e5741a81b0be763e80413a2677e22b7e596"
        },
        {
          "url": "https://git.kernel.org/stable/c/24668ca3ec19434d7a9574bf9112f2b0614c3a4e"
        },
        {
          "url": "https://git.kernel.org/stable/c/84c4c36acd5c4b2558b5069f869a165b2c655c84"
        }
      ],
      "title": "drm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68272",
    "datePublished": "2026-08-10T12:01:47.708Z",
    "dateReserved": "2026-07-30T09:28:09.378Z",
    "dateUpdated": "2026-08-17T05:02:05.775Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68272",
      "date": "2026-08-20",
      "epss": "0.00175",
      "percentile": "0.07335"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68272\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:16.220\",\"lastModified\":\"2026-08-17T05:18:29.733\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1\\n\\nAdd a minimum-length check for the AMDGPU_CHUNK_ID_CP_GFX_SHADOW chunk in\\namdgpu_cs_pass1(), matching the gate already present for the IB, FENCE and\\nBO_HANDLES chunk types.\\n\\nThe CP_GFX_SHADOW case previously shared a bare break with the dependency\\nand syncobj chunk types, which do not dereference a fixed-size struct. When\\nuserspace submits this chunk with length_dw == 0, vmemdup_array_user() is\\ncalled with size 0 and returns ZERO_SIZE_PTR, which passes the IS_ERR()\\ncheck. amdgpu_cs_p2_shadow() then dereferences chunk-\u003ekdata as a struct\\ndrm_amdgpu_cs_chunk_cp_gfx_shadow (reading shadow-\u003eflags), faulting on the\\nZERO_SIZE_PTR and causing a NULL-pointer dereference.\\n\\nThis is reachable by an unprivileged process in the render group. Reject\\nundersized chunks with -EINVAL during pass1 so the bad submission is\\nrejected before pass2 ever dereferences the data.\\n\\n(cherry picked from commit 7f61b2eef7415eccdb40850aca0de94211948657)\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"ac9287055ff16a092416c76a19006764e4c6a978\",\"lessThan\":\"3f190956404da55560056ce20606010e18bc059c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ac9287055ff16a092416c76a19006764e4c6a978\",\"lessThan\":\"2aa9ea2bd5146d237c8cc16d8737d878b0298a94\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ac9287055ff16a092416c76a19006764e4c6a978\",\"lessThan\":\"315d2e5741a81b0be763e80413a2677e22b7e596\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ac9287055ff16a092416c76a19006764e4c6a978\",\"lessThan\":\"24668ca3ec19434d7a9574bf9112f2b0614c3a4e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ac9287055ff16a092416c76a19006764e4c6a978\",\"lessThan\":\"84c4c36acd5c4b2558b5069f869a165b2c655c84\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.5\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.5\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.148\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.101\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/24668ca3ec19434d7a9574bf9112f2b0614c3a4e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2aa9ea2bd5146d237c8cc16d8737d878b0298a94\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/315d2e5741a81b0be763e80413a2677e22b7e596\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3f190956404da55560056ce20606010e18bc059c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/84c4c36acd5c4b2558b5069f869a165b2c655c84\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-13T23:03:25+00:00",
      "cve": "CVE-2026-68272",
      "id": "CVE-2026-68272",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "92",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68272.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-14T23:45:14Z",
      "cve": "CVE-2026-68272",
      "id": "CVE-2026-68272",
      "initial_release_date": "2026-08-14T17:14:47Z",
      "product_status:known_affected": "30",
      "product_status:known_not_affected": "266",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68272",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68272.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…