VDB

CVE-2026-80618

CVE-2026-80618 PUBLISHED

drm/amdkfd: Avoid double-unpin of DOORBELL/MMIO BOs on free

Reported by linux · Published August 28, 2026

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Avoid double-unpin of DOORBELL/MMIO BOs on free amdgpu_amdkfd_gpuvm_free_memory_of_gpu() unpinned DOORBELL and MMIO remap BOs (which are pinned at allocation time) before checking whether the BO is still mapped to the GPU. When the BO is still mapped, the function returns -EBUSY and leaves the BO alive, but it has already been unpinned. The BO is then unpinned again when it is finally freed during process teardown, triggering a ttm_bo_unpin() underflow warning: WARNING: CPU: 18 PID: 15066 at ttm/ttm_bo.c:650 amdttm_bo_unpin+0x6d/0x80 [amdttm] Workqueue: kfd_process_wq kfd_process_wq_release [amdgpu] RIP: 0010:amdttm_bo_unpin+0x6d/0x80 [amdttm] Call Trace: amdgpu_bo_unpin+0x1a/0x90 [amdgpu] amdgpu_amdkfd_gpuvm_unpin_bo+0x31/0xb0 [amdgpu] amdgpu_amdkfd_gpuvm_free_memory_of_gpu+0x3bf/0x460 [amdgpu] kfd_process_free_outstanding_kfd_bos+0xd4/0x170 [amdgpu] kfd_process_wq_release+0x109/0x1b0 [amdgpu] process_one_work+0x1e2/0x3b0 worker_thread+0x50/0x3a0 kthread+0xdd/0x100 ret_from_fork+0x29/0x50 Move the unpin after the mapped_to_gpu_memory check so it only happens once we are committed to freeing the BO. (cherry picked from commit 927c5b2defb9b09856444d94bebfd056a002bd75)

EPSS 0.22% · 11.9th percentile

Risk scores

EPSS Score
0.22%
11.9th percentile

Affected products

VendorProductVersions
LinuxLinuxd25e35bc26c3ca8cd728101545cfb3e86a5d7431, d25e35bc26c3ca8cd728101545cfb3e86a5d7431, d25e35bc26c3ca8cd728101545cfb3e86a5d7431
LinuxLinux5.17, 0, 6.1.178
linuxlinux_kernel5.17, 5.17, 5.17
LinuxLinux*, *, *

Timeline

  • Aug 28, 2026 EPSS Score (15 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score
  • Aug 28, 2026 CVE Published
  • Sep 1, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80618
vulnetix vdb fixes CVE-2026-80618

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80618/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›