CVE-2026-99986
7.8HighPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- —
What an attacker gets
Local attackers can gain elevated privileges or cause system instability by exploiting a race condition. This requires local access to the system to trigger the doorbell allocation race in the AMD KFD driver.
Root cause
A race condition exists in the AMD KFD driver where doorbell allocation is performed without proper serialization, allowing duplicate allocations.
Affected versions
Versions not listed — check the vendor advisory.
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Update the Linux kernel to a version containing the patch for commit 4e27ba5ad5f76932d4f6cbacd25c81c2dd40ec4a. If unable to patch, restrict access to /dev/kfd to authorized users only.
$ uname -rAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix doorbell allocation race creating duplicate allocations The check-and-allocate sequence on pdd->qpd.proc_doorbells is lockless at every call site of kfd_alloc_process_doorbells(): kfd_get_process_doorbells() (mmap of /dev/kfd), kfd_ioctl_create_queue() and the CRIU restore path each test the pointer under different locking (or none), so two racing threads can both observe NULL and each allocate a doorbell BO and bitmap, orphaning one allocation and handing the two mappings different backing pages. Move the serialization into kfd_alloc_process_doorbells() itself, using a new per-process-device mutex so all three call sites are covered regardless of their own locking. The device-global kfd->doorbell_mutex is not suitable here: it is acquired under dqm->lock on the kernel-doorbell path (start_cpsch() -> pm_init() -> kq_initialize() -> kfd_get_kernel_doorbell()), so holding it across the sleeping allocations above would create a lock-ordering inversion with dqm->lock via TTM eviction, and it would also serialize doorbell setup of unrelated processes behind a device-wide lock for per-process state. This issue was discovered by Tencent CodeBuddy Security. v3 (Felix Kuehling): - Removed unlocked check in kfd_get_process_doorbell flagged as problematic by Sashiko Bot. Fall back to the locked check inside kfd_alloc_process_doorbells - Added missing mutex_destroy v4 (Felix Kuehling): - Removed unlocked checks around other kfd_alloc_process_doorbells calls (cherry picked from commit 4e27ba5ad5f76932d4f6cbacd25c81c2dd40ec4a)
References
- https://git.kernel.org/stable/c/2081dc291247066cf174f9ad4b20eaffc5663dc0
- https://git.kernel.org/stable/c/84d62591d343e1aa2c045cf4c5f079eee4500da7
- https://git.kernel.org/stable/c/8b1cb368bce3a3a670e36b82372aa0033ffe3d85
- https://git.kernel.org/stable/c/99dfb16dd7cbe0e0c298b65e099e8d5b93ad8ac5
- https://git.kernel.org/stable/c/bebad45050945a3d668d6701fb77ae2571c5d44b
- https://git.kernel.org/stable/c/f56f23b99d67b523c7b92ee0385851de079bbafe
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-999907.8HighLocal attackers can trigger a use-after-free in the ALSA sound subsystem, potentially leading to privilege escalation or system crashes. This requires local access to the system and the ability to interact with the sound driver.
- CVE-2026-999967.8HighLocal attackers can trigger a use-after-free to cause a kernel panic or potentially execute code. This requires local access to a system using the NTFS filesystem driver.
- CVE-2026-999827.8HighLocal attackers can trigger a kernel crash or potentially escalate privileges by exploiting a race condition during GPU resets. This requires local access to the system and the ability to interact with the AMD GPU driver.
- CVE-2026-999837.8HighLocal attackers can gain elevated privileges or cause system instability by exploiting a race condition in the GPU memory management. This requires local access to the system to interact with the AMD GPU driver.
- CVE-2026-999797.8HighLocal attackers can trigger a use-after-free in the IPv6 stack, potentially leading to kernel memory corruption or privilege escalation. This requires local access to the system to trigger the race condition during interface teardown.
- CVE-2026-999587.3HighLocal unprivileged users can disrupt PPPoE network traffic for other users by causing existing session hash entries to be deleted. This requires the ability to initiate a duplicate PPPoE connection attempt.