Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31766

published high CVSS 3.1 · 7.1

drm/amdgpu: validate doorbell_offset in user queue creation

Published
01 May 2026, 14:14:56 UTC
Updated
05 Aug 2026, 12:25:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf09c1e6077abd1bc2ddd2b97e1135215801ca7f9 to < 3543005a42d7e8e12b21897ef6798541bf7cbcd3 · f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 to < 86b732fbc37ce4fb76cdd4af0fb7e30a6acdbce6 · f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 to < a018d1819f158991b7308e4f74609c6c029b670c · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.22 through 6.18.* (unaffected · semver) · 6.19.12 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached through the local AMDGPU DRM USERQ ioctl on a render-capable device, not through network or physical input. AC:L - The attacker directly controls the doorbell GEM handle and doorbell_offset in queue creation; no race or external timing condition is required. PR:L - A local unprivileged process with access to the AMDGPU render node can create normal user queues; the optional high-priority path is not required. UI:N - Exploitation is performed by the attacking process issuing ioctls and does not require another user to take action. S:U - The impact remains within the local kernel/GPU driver security authority and does not by itself cross a VM, IOMMU, or sandbox boundary. C:N - The unchecked value corrupts or aliases doorbell MMIO selector state; I found no direct path that exposes kernel memory or sensitive data. I:H - The attacker can cause a user queue to use a doorbell index outside its allocated doorbell BO, potentially corrupting kernel-controlled doorbell space and queue state. A:H - Misprogrammed or corrupted doorbells can wedge queues, trigger GPU reset paths, or destabilize the driver, causing high availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 to < 3543005a42d7e8e12b21897ef6798541bf7cbcd3 (affected · git)f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 to < 86b732fbc37ce4fb76cdd4af0fb7e30a6acdbce6 (affected · git)f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 to < a018d1819f158991b7308e4f74609c6c029b670c (affected · git)Default: unaffected Linux · cna
Linux Linux 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.22 through 6.18.* (unaffected · semver)6.19.12 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

drm/amdgpu: validate doorbell_offset in user queue creation

Provenance

Schema
5.2
Searchable
yes
Content hash
cb4d0a7bf8a275f88e4317a864f8096d191a29188f3a816a8ba31cbde9439117
Ingested
23 Sep 2026, 09:09:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected