CVE-2026-80618

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

No CVSS score yet EPSS 0.17%

Published 28 Aug 2026 Updated 28 Aug 2026 CNA: Linux

Check your servers for CVE-2026-80618

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-80618 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.

Check my servers

Description

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)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.00% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d25e35bc26c3ca8cd728101545cfb3e86a5d7431, before 461ae406ae12107ebb321cabe561434c27aaea58
affected from d25e35bc26c3ca8cd728101545cfb3e86a5d7431, before 283e77af49fda96aaa57709fc5408b55ffec075e
affected from d25e35bc26c3ca8cd728101545cfb3e86a5d7431, before c055a2088b719e9a4b580685e0ca97f9554a41a8
affected from d25e35bc26c3ca8cd728101545cfb3e86a5d7431, before 0e27d92f69b8e4c750a4b181cc05a86b9338c4f5
affected from d25e35bc26c3ca8cd728101545cfb3e86a5d7431, before 1d12ae8b079e173107abec0e5817332954c8e95f
affected from d25e35bc26c3ca8cd728101545cfb3e86a5d7431, before 3f0cc1735273a57c5116710cf0202e12152f59cc
Other versions: unaffected
Linux
affected 5.17
unaffected before 5.17
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.97 up to and including 6.12.*
unaffected from 6.18.40 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 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-80618 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80618

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-80618
trivy image --scanners vuln IMAGE | grep CVE-2026-80618

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

Source: the record CVE-2026-80618 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.