CVE-2026-98997
drm/amdgpu/userq: only accept doorbell BOs as queue doorbell
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/userq: only accept doorbell BOs as queue doorbell amdgpu_userq_get_doorbell_index() pins any BO passed as doorbell_handle into the doorbell domain. For a regular BO, TTM moves it with ttm_bo_move_null() and its contents are lost. Since an importer on the same device gets the exporter's GEM object, a client can do this to a buffer another client shared with it. Reject BOs that were not created in the doorbell domain. v2: drop the error message, use a local abo variable (Christian) (cherry picked from commit f7497bbc19db4821c62b9d97b31c9086feb2d917)
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | affected: f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 … < 112dbe2b10d6d088a6c599980dd960dcbfa55ff0 affected: f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 … < 8640b3f961d743d6dc0458c2b53a3af434690cc1 affected: f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 … < 7f7c88dbf4d543f6703e53bdeed380e886733167 default: unaffected |
| Linux | Linux | affected: 6.16 unaffected: 0 … < 6.16 unaffected: 6.18.57 … <= 6.18.* unaffected: 7.2.11 … <= 7.2.* unaffected: 7.3 … <= * default: affected |
Open-source packages (GitHub Advisory / OSV)
drm/amdgpu/userq: only accept doorbell BOs as queue doorbell
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| >= f09c1e6077abd1bc2ddd2b97e1135215801ca7f9, < 112dbe2b10d6d088a6c599980dd960dcbfa55ff0; < 8640b3f961d743d6dc0458c2b53a3af434690cc1; < 7f7c88dbf4d543f6703e53bdeed380e886733167 | 112dbe2b10d6d088a6c599980dd960dcbfa55ff0, 8640b3f961d743d6dc0458c2b53a3af434690cc1, 7f7c88dbf4d543f6703e53bdeed380e886733167 | ||
| Linux | Kernel | >= 6.16.0, < 6.18.57; >= 6.19.0, < 7.2.11 | 6.18.57, 7.2.11 |
Linux distribution status
References (6)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git OSV
- https://git.kernel.org/stable/c/112dbe2b10d6d088a6c599980dd960dcbfa55ff0 NVD, CNA, OSV
- https://git.kernel.org/stable/c/7f7c88dbf4d543f6703e53bdeed380e886733167 NVD, CNA, OSV
- https://git.kernel.org/stable/c/8640b3f961d743d6dc0458c2b53a3af434690cc1 NVD, CNA, OSV
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98997.json OSV
- https://nvd.nist.gov/vuln/detail/CVE-2026-98997 OSV