CVE-2026-31766

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)
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/amdgpu: validar doorbell_offset en la creación de colas de usuario amdgpu_userq_get_doorbell_index() pasa el doorbell_offset proporcionado por el usuario a amdgpu_doorbell_index_on_bar() sin comprobación de límites. Un doorbell_offset arbitrariamente grande puede causar que el índice de doorbell calculado caiga fuera del BO de doorbell asignado, corrompiendo potencialmente el espacio de doorbell del kernel. Validar que doorbell_offset caiga dentro del BO de doorbell antes de calcular el índice BAR, usando aritmética u64 para prevenir desbordamiento. (seleccionado de la confirmación de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec)

Information

Published : 2026-05-01 15:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-31766

Mitre link : CVE-2026-31766

CVE.ORG link : CVE-2026-31766


JSON object : View

Products Affected

linux

  • linux_kernel