CVE-2026-80618

Source
https://cve.org/CVERecord?id=CVE-2026-80618
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80618.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80618
Downstream
Published
2026-08-28T06:48:38.112Z
Modified
2026-08-29T03:47:01.957289258Z
Summary
drm/amdkfd: Avoid double-unpin of DOORBELL/MMIO BOs on free
Details

In the Linux kernel, the following vulnerability has been resolved:

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

amdgpuamdkfdgpuvmfreememoryofgpu() 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 ttmbounpin() underflow warning:

WARNING: CPU: 18 PID: 15066 at ttm/ttmbo.c:650 amdttmbounpin+0x6d/0x80 [amdttm] Workqueue: kfdprocesswq kfdprocesswqrelease [amdgpu] RIP: 0010:amdttmbounpin+0x6d/0x80 [amdttm] Call Trace: amdgpubounpin+0x1a/0x90 [amdgpu] amdgpuamdkfdgpuvmunpinbo+0x31/0xb0 [amdgpu] amdgpuamdkfdgpuvmfreememoryofgpu+0x3bf/0x460 [amdgpu] kfdprocessfreeoutstandingkfdbos+0xd4/0x170 [amdgpu] kfdprocesswqrelease+0x109/0x1b0 [amdgpu] processonework+0x1e2/0x3b0 workerthread+0x50/0x3a0 kthread+0xdd/0x100 retfrom_fork+0x29/0x50

Move the unpin after the mappedtogpu_memory check so it only happens once we are committed to freeing the BO.

(cherry picked from commit 927c5b2defb9b09856444d94bebfd056a002bd75)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80618.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d25e35bc26c3ca8cd728101545cfb3e86a5d7431
Fixed
461ae406ae12107ebb321cabe561434c27aaea58
Fixed
283e77af49fda96aaa57709fc5408b55ffec075e
Fixed
c055a2088b719e9a4b580685e0ca97f9554a41a8
Fixed
0e27d92f69b8e4c750a4b181cc05a86b9338c4f5
Fixed
1d12ae8b079e173107abec0e5817332954c8e95f
Fixed
3f0cc1735273a57c5116710cf0202e12152f59cc

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80618.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80618.json"