{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80576","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-26T14:34:25.768Z","datePublished":"2026-08-26T14:37:35.538Z","dateUpdated":"2026-08-27T05:01:58.528Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-27T05:01:58.528Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: reject oversized IBs with per-ring packet limits\n\nOn GFX rings, amdgpu_cs_p2_ib() passed user-supplied ib_bytes through\nto ib->length_dw without a limit, while ring_emit_ib() encodes length\ninto packet fields. Oversized values can corrupt adjacent control bits\nand destabilize command submission.\n\nAdd a per-ring IB packet size limit helper and reject command\nsubmissions exceeding the corresponding dword limit before IB\nallocation. Use the documented 20-bit limit for GFX/compute/SDMA/VPE,\nand apply the MM fallback limit for other ring types.\n\n(cherry picked from commit 7f48fa2cf62e3fa6c9c3870aa74988f773247e52)"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached only through the AMDGPU_CS DRM ioctl on a local /dev/dri/renderD* render node; amdgpu_cs_p2_ib() takes user-supplied ib_bytes from command-submission chunks during local GPU job setup, with no network, adjacent-radio, or physical-access path to this code.\nAC:L - An attacker fully controls ib_bytes, ring selection, and backing BO mappings in each submit; triggering the flaw only requires one crafted IB chunk with length_dw above the hardware 20-bit packet limit (e.g., >0xFFFFF dwords), with no race or victim-dependent timing.\nPR:L - AMDGPU_CS is registered with DRM_AUTH|DRM_RENDER_ALLOW, so any authenticated render-client process with standard local access to /dev/dri/renderD* (typical render/video group on desktops, gaming PCs, and cloud GPU VMs) can reach amdgpu_cs_ioctl() without real root or init-namespace capabilities.\nUI:N - Exploitation is entirely self-contained in the attacker's own DRM client (open render node, allocate/map buffers, submit CS); no separate victim action such as opening a file, mounting a filesystem, or clicking a link is required.\nS:C - On GFX/compute rings, ring_emit_ib() ORs ib->length_dw into the INDIRECT_BUFFER control dword alongside VMID and preempt/valid bits; oversized values spill into those fields, so the GPU can execute IBs under an unintended VMID and perform DMA outside the attacker's GPU virtual address space, crossing per-client GPU/IOMMU isolation (e.g., multi-tenant cloud GPU).\nC:H - Corrupted VMID and adjacent control bits in the INDIRECT_BUFFER packet can redirect GPU fetches/execution into another client's GPU-mapped memory, providing a cross-context read primitive beyond the attacker's own BO mappings, not merely a benign driver error return.\nI:H - The same control-dword overflow can alter VALID/PREEMPT/VMID encoding so the GPU performs writes and command execution in an unintended address space, yielding cross-context memory corruption and a plausible path to arbitrary GPU-visible memory modification or further kernel compromise.\nA:H - Oversized IB lengths also destabilize command submission and can hang or reset GFX/SDMA rings (as noted in the fix and related IGT oversize-packet tests), denying GPU/display availability until driver reset or reboot on affected AMD systems."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"],"versions":[{"version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","lessThan":"6e164ba1057175fb8a370d8e05cbff5c57eac0c8","status":"affected","versionType":"git"},{"version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","lessThan":"1474f3970d1afd303e12ff14d06808eabb371576","status":"affected","versionType":"git"},{"version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","lessThan":"07fe270ec07c138a70afe7a81e115a85c35c545c","status":"affected","versionType":"git"},{"version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","lessThan":"fd37f9dd5b5ab70a46fa7bc76623c0528d602b27","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"],"versions":[{"version":"4.2","status":"affected"},{"version":"0","lessThan":"4.2","status":"unaffected","versionType":"semver"},{"version":"6.12.105","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.46","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.10","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.12.105"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.18.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.1.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/6e164ba1057175fb8a370d8e05cbff5c57eac0c8"},{"url":"https://git.kernel.org/stable/c/1474f3970d1afd303e12ff14d06808eabb371576"},{"url":"https://git.kernel.org/stable/c/07fe270ec07c138a70afe7a81e115a85c35c545c"},{"url":"https://git.kernel.org/stable/c/fd37f9dd5b5ab70a46fa7bc76623c0528d602b27"}],"title":"drm/amdgpu: reject oversized IBs with per-ring packet limits","x_generator":{"engine":"bippy-1.2.0"}}}}