CVE-2026-99985
publisheddrm/amdkfd: don't drop an SVM CWSR reference that was never taken
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb049504e211e8f4dbcd40434f2dcab2215ea1039 to < 25ee77d64ae14e1f4c3035fd867364537a0f3690 · b049504e211e8f4dbcd40434f2dcab2215ea1039 to < 1436e441ad19a475ce3fdaacee7efe670405cae9 · b049504e211e8f4dbcd40434f2dcab2215ea1039 to < 861337bf1a6a0fb64daffdfbc5bb165c1d6ce3aa · b049504e211e8f4dbcd40434f2dcab2215ea1039 to < 030d47cc6720e0f07b502876cdbd266e309f9461 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: don't drop an SVM CWSR reference that was never taken When kfd_queue_acquire_buffers() fails, its error path calls kfd_queue_release_buffers(), which also drops a queue_refcount on the SVM range at ctx_save_restore_area_address. The SVM range is the last buffer acquired, and kfd_queue_buffer_svm_get() takes no reference when it fails, so on every error path this reference was never taken. If another queue of the process uses that CWSR range, its reference is dropped instead, and unmapping the range no longer evicts that queue while its CWSR area is unmapped from the GPU. On navi31, with queue A using an SVM CWSR range: munmap() of the range logs Freeing queue vital buffer 0x..., queue evicted but after a CREATE_QUEUE that reuses A's CWSR address with an unmapped write pointer (-EINVAL), the same munmap() leaves A running without the message. Only put the BOs on the acquire error path. The warning and the eviction are back after the failed CREATE_QUEUE. (cherry picked from commit 9a08122e6361ef73f4b512d5db9596d561305519)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b049504e211e8f4dbcd40434f2dcab2215ea1039 to < 25ee77d64ae14e1f4c3035fd867364537a0f3690 (affected · git)b049504e211e8f4dbcd40434f2dcab2215ea1039 to < 1436e441ad19a475ce3fdaacee7efe670405cae9 (affected · git)b049504e211e8f4dbcd40434f2dcab2215ea1039 to < 861337bf1a6a0fb64daffdfbc5bb165c1d6ce3aa (affected · git)b049504e211e8f4dbcd40434f2dcab2215ea1039 to < 030d47cc6720e0f07b502876cdbd266e309f9461 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12 (affected)0 to < 6.12 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
drm/amdkfd: don't drop an SVM CWSR reference that was never taken
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b60bbf7dd6549df3d310a2b4b709a2ffece6e6dd01f878173bb33468ddba7a33
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record