drm/amdgpu: reject oversized IBs with per-ring packet limits (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: reject oversized IBs with per-ring packet limits On GFX rings, amdgpu_cs_p2_ib() passed user-supplied ib_bytes through to ib->length_dw without a limit, while ring_emit_ib() encodes length into packet fields. Oversized values can corrupt adjacent control bits and destabilize command submission. Add a per-ring IB packet size limit helper and reject command submissions exceeding the corresponding dword limit before IB allocation. Use the documented 20-bit limit for GFX/compute/SDMA/VPE, and apply the MM fallback limit for other ring types. (cherry picked from commit 7f48fa2cf62e3fa6c9c3870aa74988f773247e52)
References
- https://git.kernel.org/stable/c/ecdaefe825555f133a2ef80f39d1ae94d6e1b26a
- https://git.kernel.org/stable/c/67a5d905c17a5066b0f6f950da11da93d56d122b
- https://git.kernel.org/stable/c/6e164ba1057175fb8a370d8e05cbff5c57eac0c8
- https://git.kernel.org/stable/c/1474f3970d1afd303e12ff14d06808eabb371576
- https://git.kernel.org/stable/c/07fe270ec07c138a70afe7a81e115a85c35c545c
- https://git.kernel.org/stable/c/fd37f9dd5b5ab70a46fa7bc76623c0528d602b27
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-66491
- GCVE · GCVE-0-2026-80576
CERT-FR advisories
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < ecdaefe825555f133a2ef80f39d1ae94d6e1b26a ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 67a5d905c17a5066b0f6f950da11da93d56d122b ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 6e164ba1057175fb8a370d8e05cbff5c57eac0c8 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 1474f3970d1afd303e12ff14d06808eabb371576 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 07fe270ec07c138a70afe7a81e115a85c35c545c ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < fd37f9dd5b5ab70a46fa7bc76623c0528d602b27 |
| Linux · Linux | affected 4.2 ; unaffected 0 < 4.2 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.105 ≤ 6.12.* ; unaffected 6.18.46 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |