drm/amdgpu: validate GEM_CREATE domain combinations (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.13 % · percentile 3 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate GEM_CREATE domain combinations AMDGPU_GEM_CREATE checked domain bits against AMDGPU_GEM_DOMAIN_MASK, but did not validate domain combinations. Userspace could combine CPU|GTT|VRAM with DOORBELL, GDS, GWS, or OA, making amdgpu_bo_placement_from_domain() exceed AMDGPU_BO_MAX_PLACEMENTS and hit BUG_ON(). Allow combinations only within CPU/GTT/VRAM, and require non-CPU/GTT/ VRAM domains to be specified one at a time. Return -EINVAL for invalid combinations in amdgpu_gem_create_ioctl(). v2: Rename helper from amdgpu_gem_domain_valid() to amdgpu_gem_are_domains_valid() (Christian) (cherry picked from commit db39852d0c39843cb02048dfb47e4b8c703e9080)
References
- https://git.kernel.org/stable/c/5c73485af7ad9c3ae592db3481f370bc07705391
- https://git.kernel.org/stable/c/584e3d47736fe2e7184ef3fc16b00b41485f96c6
- https://git.kernel.org/stable/c/66133fc05c3af002f45de8a71b833c026ccbfba6
- https://git.kernel.org/stable/c/ce5da474c3ddf7cccec5dce6aa4296297dd7caff
- https://git.kernel.org/stable/c/493355096e397f9217b41c8574ed2784c7351443
- https://git.kernel.org/stable/c/220aa2589d7321fb68d2e8597862711b5f22ae0b
- https://git.kernel.org/stable/c/80f0b53860d02577709d69a312a29ca674b9297c
- https://git.kernel.org/stable/c/5e9d136ad74df4edec67e502ce267597064d8f86
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-66456
- GCVE · GCVE-0-2026-80541
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
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd < 5c73485af7ad9c3ae592db3481f370bc07705391 ; affected 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd < 584e3d47736fe2e7184ef3fc16b00b41485f96c6 ; affected 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd < 66133fc05c3af002f45de8a71b833c026ccbfba6 ; affected 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd < ce5da474c3ddf7cccec5dce6aa4296297dd7caff ; affected 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd < 493355096e397f9217b41c8574ed2784c7351443 ; affected 77a2faa55c1a497f4e7e89eabd11830f0e3cb3dd < 220aa2589d7321fb68d2e8597862711b5f22ae0b |
| Linux · Linux | affected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.10.266 ≤ 5.10.* ; unaffected 5.15.217 ≤ 5.15.* ; unaffected 6.1.184 ≤ 6.1.* ; unaffected 6.6.153 ≤ 6.6.* |
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 |