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)
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Based on the description, it is inferred that the attack vector involves local kernel manipulation via GPU buffer object allocation and deallocation. A defect in the AMDGPU amdkfd GPU memory manager of the Linux kernel causes a buffer object (BO) to be unpinned twice during process teardown. The code removes the pin on a doorbell or MMIO BO before it confirms that the BO is still mapped to the GPU. When the BO remains mapped, the function returns an error but the BO has already been unpinned; a second unpin during final deallocation then triggers an underflow warning in ttm_bo_unpin(). This double‑unpin can corrupt the reference counter of the BO and may lead to a kernel panic or at least repeated warning messages, effectively providing a denial‑of‑service weakness for code that can manipulate AMDKFD GPU memory.

Affected Systems

Based on the description, it is inferred that the attack vector requires local access to the GPU subsystem. All users of the Linux kernel that include the vulnerable AMDKFD code path, specifically those running the AMDGPU driver on AMD GPUs. The defect exists in kernel versions that predate commit 927c5b2defb9b09856444d94bebfd056a002bd75. Vendor information is limited to the Linux kernel itself with no version lattice supplied.

Risk and Exploitability

Based on the description, it is inferred that the attack vector is local to user‑space processes that allocate GPU buffers. The vulnerability requires entry into kernel space, so it is effectively a local escalation or a bug that can be triggered by any process that allocates and later frees GPU buffer objects. No public exploit has been documented and there is no KEV listing; EPSS data is not available. Nonetheless, the fault can cause kernel instability and potentially a crash under normal GPU workloads, presenting a high risk of denial of service. The fix reorders the unpin operation to prevent the double‑unpin but does not provide an alternative mitigation path beyond updating the kernel.

Generated by OpenCVE AI on August 28, 2026 at 11:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes commit 927c5b2defb9b09856444d94bebfd056a002bd75 or any later release that contains the AMDKFD fix.
  • Update the AMDGPU driver package to the most recent distribution signed release or rebuild from source to ensure the driver is aligned with the patched kernel.
  • If an update cannot be applied immediately, limit GPU access for untrusted or privileged user processes and monitor for kernel panic logs to detect premature faults.

Generated by OpenCVE AI on August 28, 2026 at 11:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-416

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
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)
Title drm/amdkfd: Avoid double-unpin of DOORBELL/MMIO BOs on free
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:48:38.112Z

Reserved: 2026-08-26T14:34:25.774Z

Link: CVE-2026-80618

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:45.823

Modified: 2026-08-28T08:16:45.823

Link: CVE-2026-80618

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T11:30:06Z

Weaknesses