CVE-2026-31766
Awaiting Analysis Awaiting Analysis - Queue
AMDGPU Kernel Doorbell Offset Validation Flaw

Publication date: 2026-05-01

Last updated on: 2026-05-03

Assigner: kernel.org

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)
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-01
Last Modified
2026-05-03
Generated
2026-05-07
AI Q&A
2026-05-01
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's AMD GPU driver (amdgpu). Specifically, it involves the handling of a user-provided value called doorbell_offset during the creation of a user queue.

The function amdgpu_userq_get_doorbell_index() passes this doorbell_offset to another function without checking if the value is within valid bounds. If an attacker provides an arbitrarily large doorbell_offset, it can cause the calculated doorbell index to fall outside the allocated doorbell buffer object (BO).

This out-of-bounds calculation can potentially corrupt kernel doorbell space, which is a critical area used for communication between the GPU and the kernel.

The fix involves validating that the doorbell_offset is within the doorbell BO before computing the BAR index, using 64-bit arithmetic to prevent overflow.


How can this vulnerability impact me? :

This vulnerability can lead to corruption of kernel memory related to the doorbell space, which is used for GPU and kernel communication.

Such corruption could potentially cause system instability, crashes, or allow an attacker to execute arbitrary code with kernel privileges.

Therefore, exploitation of this vulnerability could compromise the security and stability of a system running the affected Linux kernel with the AMD GPU driver.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability in the Linux kernel related to the amdgpu driver involves improper validation of the doorbell_offset in user queue creation, which can lead to kernel doorbell space corruption.

To mitigate this vulnerability, you should update your Linux kernel to a version that includes the fix where doorbell_offset is validated before use, ensuring it falls within the doorbell BO and preventing overflow.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart