# CVE-2026-80618: drm/amdkfd: Avoid double-unpin of DOORBELL/MMIO BOs on free

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-28T06:48:38.112Z
- **Modified:** 2026-08-28T08:16:45.823Z

## Who should check

- Anyone running Linux \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 461ae406ae12107ebb321cabe561434c27aaea58; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 283e77af49fda96aaa57709fc5408b55ffec075e; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< c055a2088b719e9a4b580685e0ca97f9554a41a8; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 0e27d92f69b8e4c750a4b181cc05a86b9338c4f5; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 1d12ae8b079e173107abec0e5817332954c8e95f; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 3f0cc1735273a57c5116710cf0202e12152f59cc
- Anyone running Linux 5.17

## 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)

## Affected and fixed versions

- Linux: \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 461ae406ae12107ebb321cabe561434c27aaea58; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 283e77af49fda96aaa57709fc5408b55ffec075e; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< c055a2088b719e9a4b580685e0ca97f9554a41a8; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 0e27d92f69b8e4c750a4b181cc05a86b9338c4f5; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 1d12ae8b079e173107abec0e5817332954c8e95f; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 3f0cc1735273a57c5116710cf0202e12152f59cc (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 3f0cc1735273a57c5116710cf0202e12152f59cc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80618. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80618.md
Affected: Linux >= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, < 461ae406ae12107ebb321cabe561434c27aaea58; >= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, < 283e77af49fda96aaa57709fc5408b55ffec075e; >= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, < c055a2088b719e9a4b580685e0ca97f9554a41a8; >= d25e35bc26c3ca8cd728101…
Fixed in: Linux 461ae406ae12107ebb321cabe561434c27aaea58, Linux 283e77af49fda96aaa57709fc5408b55ffec075e, Linux 0e27d92f69b8e4c750a4b181cc05a86b9338c4f5, Linux 1d12ae8b079e173107abec0e5817332954c8e95f, Linux 3f0cc1735273a57c5116710cf0202e12152f59cc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80618 being exploited?

There is no confirmed exploitation: CVE-2026-80618 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80618?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80618?

Linux \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 461ae406ae12107ebb321cabe561434c27aaea58; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 283e77af49fda96aaa57709fc5408b55ffec075e; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< c055a2088b719e9a4b580685e0ca97f9554a41a8; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 0e27d92f69b8e4c750a4b181cc05a86b9338c4f5; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 1d12ae8b079e173107abec0e5817332954c8e95f; \>= d25e35bc26c3ca8cd728101545cfb3e86a5d7431, \< 3f0cc1735273a57c5116710cf0202e12152f59cc; Linux 5.17.

### Is there a fix for CVE-2026-80618?

Yes. Fixed in Linux 461ae406ae12107ebb321cabe561434c27aaea58, Linux 283e77af49fda96aaa57709fc5408b55ffec075e, Linux 0e27d92f69b8e4c750a4b181cc05a86b9338c4f5, Linux 1d12ae8b079e173107abec0e5817332954c8e95f, Linux 3f0cc1735273a57c5116710cf0202e12152f59cc. Upgrade Linux to 3f0cc1735273a57c5116710cf0202e12152f59cc or later.

### How do I check if I'm affected by CVE-2026-80618?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/461ae406ae12107ebb321cabe561434c27aaea58>
- other: <https://git.kernel.org/stable/c/283e77af49fda96aaa57709fc5408b55ffec075e>
- other: <https://git.kernel.org/stable/c/c055a2088b719e9a4b580685e0ca97f9554a41a8>
- other: <https://git.kernel.org/stable/c/0e27d92f69b8e4c750a4b181cc05a86b9338c4f5>
- other: <https://git.kernel.org/stable/c/1d12ae8b079e173107abec0e5817332954c8e95f>
- other: <https://git.kernel.org/stable/c/3f0cc1735273a57c5116710cf0202e12152f59cc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80618>

HTML: <https://flawdb.com/CVE-2026-80618> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80618>
