{
  "id": "CVE-2026-31766",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31766",
  "published_at": "2026-05-01T14:14:56.622Z",
  "title": "drm/amdgpu: validate doorbell_offset in user queue creation",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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)",
  "cpes": [
    "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:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f09c1e6077abd1bc2ddd2b97e1135215801ca7f9, \u003c 3543005a42d7e8e12b21897ef6798541bf7cbcd3",
          "\u003e= f09c1e6077abd1bc2ddd2b97e1135215801ca7f9, \u003c 86b732fbc37ce4fb76cdd4af0fb7e30a6acdbce6",
          "\u003e= f09c1e6077abd1bc2ddd2b97e1135215801ca7f9, \u003c a018d1819f158991b7308e4f74609c6c029b670c"
        ],
        "fixed_in": [
          "3543005a42d7e8e12b21897ef6798541bf7cbcd3",
          "86b732fbc37ce4fb76cdd4af0fb7e30a6acdbce6",
          "a018d1819f158991b7308e4f74609c6c029b670c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.16"
        ],
        "fixed_in": [
          "0",
          "6.18.22",
          "6.19.12",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3543005a42d7e8e12b21897ef6798541bf7cbcd3 or 86b732fbc37ce4fb76cdd4af0fb7e30a6acdbce6 or a018d1819f158991b7308e4f74609c6c029b670c or later.",
      "Upgrade Linux to 0 or 6.18.22 or 6.19.12 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
