CVE-2026-99985
drm/amdkfd: don't drop an SVM CWSR reference that was never taken
Check your servers for CVE-2026-99985
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99985 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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)
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b049504e211e8f4dbcd40434f2dcab2215ea1039, before 25ee77d64ae14e1f4c3035fd867364537a0f3690 affected from b049504e211e8f4dbcd40434f2dcab2215ea1039, before 1436e441ad19a475ce3fdaacee7efe670405cae9 affected from b049504e211e8f4dbcd40434f2dcab2215ea1039, before 861337bf1a6a0fb64daffdfbc5bb165c1d6ce3aa affected from b049504e211e8f4dbcd40434f2dcab2215ea1039, before 030d47cc6720e0f07b502876cdbd266e309f9461
Other versions: unaffected
|
| Linux |
affected 6.12 unaffected before 6.12 unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99985 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99985
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99985
trivy image --scanners vuln IMAGE | grep CVE-2026-99985
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/25ee77d64ae14e1f4c3035fd867364537a0f3690 git.kernel.org
- https://git.kernel.org/stable/c/1436e441ad19a475ce3fdaacee7efe670405cae9 git.kernel.org
- https://git.kernel.org/stable/c/861337bf1a6a0fb64daffdfbc5bb165c1d6ce3aa git.kernel.org
- https://git.kernel.org/stable/c/030d47cc6720e0f07b502876cdbd266e309f9461 git.kernel.org
Source: the record CVE-2026-99985 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse