CVE-2026-68272

Source
https://cve.org/CVERecord?id=CVE-2026-68272
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68272.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68272
Downstream
Published
2026-08-10T12:01:47.708Z
Modified
2026-08-12T04:18:47.289872620Z
Summary
drm/amdgpu: validate CP_GFX_SHADOW chunk size in CS pass1
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: validate CPGFXSHADOW chunk size in CS pass1

Add a minimum-length check for the AMDGPUCHUNKIDCPGFXSHADOW chunk in amdgpucspass1(), matching the gate already present for the IB, FENCE and BOHANDLES chunk types.

The CPGFXSHADOW 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 lengthdw == 0, vmemduparrayuser() is called with size 0 and returns ZEROSIZEPTR, which passes the ISERR() check. amdgpucsp2shadow() then dereferences chunk->kdata as a struct drmamdgpucschunkcpgfxshadow (reading shadow->flags), faulting on the ZEROSIZE_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)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68272.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ac9287055ff16a092416c76a19006764e4c6a978
Fixed
3f190956404da55560056ce20606010e18bc059c
Fixed
2aa9ea2bd5146d237c8cc16d8737d878b0298a94
Fixed
315d2e5741a81b0be763e80413a2677e22b7e596
Fixed
24668ca3ec19434d7a9574bf9112f2b0614c3a4e
Fixed
84c4c36acd5c4b2558b5069f869a165b2c655c84

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68272.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68272.json"