CVE-2026-80541 PUBLISHED

drm/amdgpu: validate GEM_CREATE domain combinations

Assigner: Linux
Reserved: 26.08.2026 Published: 26.08.2026 Updated: 26.08.2026

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)

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 5c73485af7ad9c3ae592db3481f370bc07705391 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 584e3d47736fe2e7184ef3fc16b00b41485f96c6 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 66133fc05c3af002f45de8a71b833c026ccbfba6 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to ce5da474c3ddf7cccec5dce6aa4296297dd7caff (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 493355096e397f9217b41c8574ed2784c7351443 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 220aa2589d7321fb68d2e8597862711b5f22ae0b (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 80f0b53860d02577709d69a312a29ca674b9297c (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 5e9d136ad74df4edec67e502ce267597064d8f86 (excl.)
  • affected from 0 to 5.10.266 (excl.)
  • affected from 0 to 5.15.217 (excl.)
  • affected from 0 to 6.1.184 (excl.)
  • affected from 0 to 6.6.153 (excl.)
  • affected from 0 to 6.12.105 (excl.)
  • affected from 0 to 6.18.46 (excl.)
  • affected from 0 to 7.1.10 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 5.10.266 to 5.10.* (incl.)
  • unaffected from 5.15.217 to 5.15.* (incl.)
  • unaffected from 6.1.184 to 6.1.* (incl.)
  • unaffected from 6.6.153 to 6.6.* (incl.)
  • unaffected from 6.12.105 to 6.12.* (incl.)
  • unaffected from 6.18.46 to 6.18.* (incl.)
  • unaffected from 7.1.10 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References