{"id":"CVE-2026-98997","state":"PUBLISHED","title":"drm/amdgpu/userq: only accept doorbell BOs as queue doorbell","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/userq: only accept doorbell BOs as queue doorbell\n\namdgpu_userq_get_doorbell_index() pins any BO passed as doorbell_handle\ninto the doorbell domain. For a regular BO, TTM moves it with\nttm_bo_move_null() and its contents are lost. Since an importer on the\nsame device gets the exporter's GEM object, a client can do this to a\nbuffer another client shared with it.\n\nReject BOs that were not created in the doorbell domain.\n\nv2: drop the error message, use a local abo variable (Christian)\n\n(cherry picked from commit f7497bbc19db4821c62b9d97b31c9086feb2d917)","publishedAt":"2026-10-23T12:20:16.267Z","updatedAt":"2026-10-23T12:20:16.267Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","status":"affected","lessThan":"112dbe2b10d6d088a6c599980dd960dcbfa55ff0","versionType":"git"},{"version":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","status":"affected","lessThan":"8640b3f961d743d6dc0458c2b53a3af434690cc1","versionType":"git"},{"version":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","status":"affected","lessThan":"7f7c88dbf4d543f6703e53bdeed380e886733167","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"]}],"references":["https://git.kernel.org/stable/c/112dbe2b10d6d088a6c599980dd960dcbfa55ff0","https://git.kernel.org/stable/c/8640b3f961d743d6dc0458c2b53a3af434690cc1","https://git.kernel.org/stable/c/7f7c88dbf4d543f6703e53bdeed380e886733167"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98997.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98997","state":"PUBLISHED","datePublished":"2026-10-23T12:20:16.267Z","dateUpdated":"2026-10-23T12:20:16.267Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.384Z"},"containers":{"cna":{"title":"drm/amdgpu/userq: only accept doorbell BOs as queue doorbell","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/userq: only accept doorbell BOs as queue doorbell\n\namdgpu_userq_get_doorbell_index() pins any BO passed as doorbell_handle\ninto the doorbell domain. For a regular BO, TTM moves it with\nttm_bo_move_null() and its contents are lost. Since an importer on the\nsame device gets the exporter's GEM object, a client can do this to a\nbuffer another client shared with it.\n\nReject BOs that were not created in the doorbell domain.\n\nv2: drop the error message, use a local abo variable (Christian)\n\n(cherry picked from commit f7497bbc19db4821c62b9d97b31c9086feb2d917)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","status":"affected","lessThan":"112dbe2b10d6d088a6c599980dd960dcbfa55ff0","versionType":"git"},{"version":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","status":"affected","lessThan":"8640b3f961d743d6dc0458c2b53a3af434690cc1","versionType":"git"},{"version":"f09c1e6077abd1bc2ddd2b97e1135215801ca7f9","status":"affected","lessThan":"7f7c88dbf4d543f6703e53bdeed380e886733167","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/112dbe2b10d6d088a6c599980dd960dcbfa55ff0"},{"url":"https://git.kernel.org/stable/c/8640b3f961d743d6dc0458c2b53a3af434690cc1"},{"url":"https://git.kernel.org/stable/c/7f7c88dbf4d543f6703e53bdeed380e886733167"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-23T12:20:16.267Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.2.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}