CVE-2026-99986
Last modified
CVE-2026-99986 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.
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)
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 16f0013157bf8c95d10b9360491e3c920f85641e, < 99dfb16dd7cbe0e0c298b65e099e8d5b93ad8ac5; >= 16f0013157bf8c95d10b9360491e3c920f85641e, < f56f23b99d67b523c7b92ee0385851de079bbafe; >= 16f0013157bf8c95d10b9360491e3c920f85641e, < 8b1cb368bce3a3a670e36b82372aa0033ffe3d85; >= 16f0013157bf8c95d10b9360491e3c920f85641e, < 2081dc291247066cf174f9ad4b20eaffc5663dc0; >= 16f0013157bf8c95d10b9360491e3c920f85641e, < 84d62591d343e1aa2c045cf4c5f079eee4500da7; >= 16f0013157bf8c95d10b9360491e3c920f85641e, < bebad45050945a3d668d6701fb77ae2571c5d44b |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99986?
How severe is CVE-2026-99986?
How do I fix CVE-2026-99986?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99980In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99981In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99982In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99983In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99984In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99985In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99987In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99988In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99989In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9999Inappropriate implementation in ANGLE in Google Chrome on Ma…8.8
- CVE-2026-99990In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99991In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99986?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
