CVE-2026-31766

drm/amdgpu: validate doorbell_offset in user queue creation

High · published May 1, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
6.0
In the wild
Unconfirmed
What it is

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

drm/amdgpu: validate doorbell_offset in user queue creation

amdgpu_userq_get_doorbell_index() passes the user-provided

doorbell_offset to amdgpu_doorbell_index_on_bar() without bounds

checking. An arbitrarily large doorbell_offset can cause the

calculated doorbell index to fall outside the allocated doorbell BO,

potentially corrupting kernel doorbell space.

Validate that doorbell_offset falls within the doorbell BO before

computing the BAR index, using u64 arithmetic to prevent overflow.

(cherry picked from commit de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec)

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00169 · 6.0th percentile
Published
2026-05-01T14:14Z
EPSS history
Timeline
  • 01 MAY 14:14Z
    drm/amdgpu: validate doorbell_offset in user queue creation
    cvelistv5