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

Published May 1, 2026
·
Updated

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

drm/amdgpu: validate doorbelloffset in user queue creation

amdgpuuserqgetdoorbellindex() passes the user-provided doorbelloffset to amdgpudoorbellindexonbar() without bounds checking. An arbitrarily large doorbelloffset can cause the calculated doorbell index to fall outside the allocated doorbell BO, potentially corrupting kernel doorbell space.

Validate that doorbelloffset falls within the doorbell BO before computing the BAR index, using u64 arithmetic to prevent overflow.

(cherry picked from commit de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec)

Affected Software

9 affected components
Linux Foundation Linux kernel (drm/amdgpu)
Linux Linux kernel>=6.16<6.18.22
Linux Linux kernel>=6.19<6.19.12
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Ensure doorbell_offset used for user queue creation is validated to fall within the doorbell BO (doorbell buffer object) before amdgpu_userq_get_doorbell_index() computes the doorbell index.

Event History

May 1, 2026
CVE Published
via MITRE·02:14 PM
Data Sourced
via MITRE·02:14 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-31766?

CVE-2026-31766 has been classified with a severity rating that indicates potential risks associated with the doorbell_offset validation in user queue creation.

2

How do I fix CVE-2026-31766?

To fix CVE-2026-31766, ensure you apply the latest patches provided by the Linux kernel to address the doorbell_offset validation issue.

3

Which software is affected by CVE-2026-31766?

CVE-2026-31766 affects the Linux kernel specifically related to the drm/amdgpu components.

4

What is the impact of CVE-2026-31766?

The impact of CVE-2026-31766 could allow unauthorized access or manipulation of doorbell_offset parameters affecting system stability.

5

Is there a workaround for CVE-2026-31766?

Currently, implementing the recommended kernel patches is the most effective way to mitigate CVE-2026-31766, as no official workaround is specified.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203