{"id":"CVE-2026-31766","aliases":["CVE-2026-31766"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu: validate doorbell_offset in user queue creation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: validate doorbell_offset in user queue creation\n\namdgpu_userq_get_doorbell_index() passes the user-provided\ndoorbell_offset to amdgpu_doorbell_index_on_bar() without bounds\nchecking. An arbitrarily large doorbell_offset can cause the\ncalculated doorbell index to fall outside the allocated doorbell BO,\npotentially corrupting kernel doorbell space.\n\nValidate that doorbell_offset falls within the doorbell BO before\ncomputing the BAR index, using u64 arithmetic to prevent overflow.\n\n(cherry picked from commit de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: validate doorbell_offset in user queue creation\n\namdgpu_userq_get_doorbell_index() passes the user-provided\ndoorbell_offset to amdgpu_doorbell_index_on_bar() without bounds\nchecking. An arbitrarily large doorbell_offset can cause the\ncalculated doorbell index to fall outside the allocated doorbell BO,\npotentially corrupting kernel doorbell space.\n\nValidate that doorbell_offset falls within the doorbell BO before\ncomputing the BAR index, using u64 arithmetic to prevent overflow.\n\n(cherry picked from commit de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/amdgpu: validar doorbell_offset en la creación de colas de usuario\n\namdgpu_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.\n\nValidar que doorbell_offset caiga dentro del BO de doorbell antes de calcular el índice BAR, usando aritmética u64 para prevenir desbordamiento.\n\n(seleccionado de la confirmación de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec)","source":"nvd"}],"published":"2026-05-01T14:14:56.622Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","fixed":"3543005a42d7e8e12b21897ef6798541bf7cbcd3","status":"affected"},{"type":"git","introduced":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","fixed":"86b732fbc37ce4fb76cdd4af0fb7e30a6acdbce6","status":"affected"},{"type":"git","introduced":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","fixed":"a018d1819f158991b7308e4f74609c6c029b670c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.16","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3543005a42d7e8e12b21897ef6798541bf7cbcd3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86b732fbc37ce4fb76cdd4af0fb7e30a6acdbce6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a018d1819f158991b7308e4f74609c6c029b670c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31766","url":"https://www.cve.org/CVERecord?id=CVE-2026-31766","licence":"CVE Terms of Use","modified":"2026-08-05T12:25:00.359Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31766","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31766","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.376Z","epss":{"score":0.00129,"percentile":0.02743,"date":"2026-12-01T12:00:22.000Z"}}