{"api_version":"1","generated_at":"2026-08-22T09:26:13+00:00","cve":"CVE-2026-68272","urls":{"html":"https://cve.report/CVE-2026-68272","api":"https://cve.report/api/cve/CVE-2026-68272.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-68272","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68272"},"summary":{"title":"drm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1","description":"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->kdata as a struct\ndrm_amdgpu_cs_chunk_cp_gfx_shadow (reading shadow->flags), 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)","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-10 13:20:16","updated_at":"2026-08-17 05:18:29"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/2aa9ea2bd5146d237c8cc16d8737d878b0298a94","name":"https://git.kernel.org/stable/c/2aa9ea2bd5146d237c8cc16d8737d878b0298a94","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/84c4c36acd5c4b2558b5069f869a165b2c655c84","name":"https://git.kernel.org/stable/c/84c4c36acd5c4b2558b5069f869a165b2c655c84","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/24668ca3ec19434d7a9574bf9112f2b0614c3a4e","name":"https://git.kernel.org/stable/c/24668ca3ec19434d7a9574bf9112f2b0614c3a4e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3f190956404da55560056ce20606010e18bc059c","name":"https://git.kernel.org/stable/c/3f190956404da55560056ce20606010e18bc059c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/315d2e5741a81b0be763e80413a2677e22b7e596","name":"https://git.kernel.org/stable/c/315d2e5741a81b0be763e80413a2677e22b7e596","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68272","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68272","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac9287055ff16a092416c76a19006764e4c6a978 3f190956404da55560056ce20606010e18bc059c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac9287055ff16a092416c76a19006764e4c6a978 2aa9ea2bd5146d237c8cc16d8737d878b0298a94 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac9287055ff16a092416c76a19006764e4c6a978 315d2e5741a81b0be763e80413a2677e22b7e596 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac9287055ff16a092416c76a19006764e4c6a978 24668ca3ec19434d7a9574bf9112f2b0614c3a4e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac9287055ff16a092416c76a19006764e4c6a978 84c4c36acd5c4b2558b5069f869a165b2c655c84 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.5","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.148 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.101 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.42 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.6 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"68272","cve":"CVE-2026-68272","epss":"0.001750000","percentile":"0.073200000","score_date":"2026-08-17","updated_at":"2026-08-18 00:11:47"},"legacy_qids":[]},"source_records":{"cve_program":{"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->kdata as a struct\ndrm_amdgpu_cs_chunk_cp_gfx_shadow (reading shadow->flags), 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"},"nvd":{"publishedDate":"2026-08-10 13:20:16","lastModifiedDate":"2026-08-17 05:18:29","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"68272","Ordinal":"1","Title":"drm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1","CVE":"CVE-2026-68272","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"68272","Ordinal":"1","NoteData":"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->kdata as a struct\ndrm_amdgpu_cs_chunk_cp_gfx_shadow (reading shadow->flags), 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)","Type":"Description","Title":"drm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1"}]}}}