CVE 7.1 HIGH

drm/amdgpu: validate doorbell_offset in user queue creation_CVE-2026-31766

7.1 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Description

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)

Basic Information

ID CVE-2026-31766
Source Linux
Published May 1, 2026 at 14:14
Modified May 3, 2026 at 05:45

Affected Product

Vendor Linux
Product Linux
Version f09c1e6077abd1bc2ddd2b97e1135215801ca7f9
Affected Versions Linux Linux f09c1e6077abd1bc2ddd2b97e1135215801ca7f9
Linux Linux f09c1e6077abd1bc2ddd2b97e1135215801ca7f9
Linux Linux f09c1e6077abd1bc2ddd2b97e1135215801ca7f9
Linux Linux 6.16

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.