Visit the Wiz Whimzical Shop at AWS re:Invent

CVE-2026-99986: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-99986 is a race condition vulnerability in the Linux kernel's AMD KFD (Kernel Fusion Driver) doorbell allocation mechanism, specifically in the drm/amdkfd subsystem. The flaw allows concurrent threads to bypass locking protections during the check-and-allocate sequence for pdd->qpd.proc_doorbells, resulting in duplicate doorbell buffer object (BO) and bitmap allocations backed by different memory pages. It was discovered by Tencent CodeBuddy Security and disclosed on November 30, 2026. Affected kernel versions begin at 6.1; fixed versions include 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1. The CVSS severity is estimated as Medium (GitHub Advisory).

Technical details

The root cause is a Time-of-Check to Time-of-Use (TOCTOU) race condition (related to CWE-362: Concurrent Execution Using Shared Resource with Improper Synchronization) in kfd_alloc_process_doorbells(). Three call sites — kfd_get_process_doorbells() (triggered via mmap of /dev/kfd), kfd_ioctl_create_queue(), and the CRIU restore path — each test the proc_doorbells pointer under different or no locking, allowing two racing threads to simultaneously observe a NULL pointer and independently allocate separate doorbell BOs and bitmaps. The fix introduces a new per-process-device mutex inside kfd_alloc_process_doorbells() itself, ensuring atomic check-and-allocate semantics across all call sites; the existing device-global kfd->doorbell_mutex was unsuitable due to lock-ordering inversion risks with dqm->lock via TTM eviction (GitHub Advisory).

Impact

Successful exploitation can result in memory corruption, information disclosure, or local privilege escalation on systems with AMD GPU hardware. A local user with access to /dev/kfd and the ability to create GPU queues can trigger the race by spawning multiple concurrent threads, causing two mappings to receive different backing memory pages — orphaning one allocation and potentially corrupting kernel memory state. The impact is limited to local attackers with /dev/kfd access, but on multi-user or shared GPU compute systems (e.g., HPC clusters, cloud GPU nodes), this could be a meaningful privilege escalation vector (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date. The vulnerability requires local access to a system with an AMD GPU and /dev/kfd device access, limiting the attack surface. No threat actor attribution, EPSS score, or CISA KEV catalog listing has been reported for this CVE (GitHub Advisory).

Exploitation steps

  1. Prerequisite: Obtain local user access on a Linux system with an AMD GPU where /dev/kfd is accessible (e.g., a shared GPU compute node or workstation).
  2. Open /dev/kfd: Open the /dev/kfd device file to gain access to the AMD KFD interface.
  3. Spawn concurrent threads: Launch multiple threads simultaneously, each attempting to trigger doorbell allocation — either via mmap of /dev/kfd (invoking kfd_get_process_doorbells()), via KFD_IOC_CREATE_QUEUE ioctl (invoking kfd_ioctl_create_queue()), or via CRIU restore operations.
  4. Trigger the race: The racing threads simultaneously observe pdd->qpd.proc_doorbells as NULL and each independently allocate a doorbell BO and bitmap, resulting in duplicate allocations with different backing memory pages.
  5. Exploit memory state: Leverage the orphaned allocation and mismatched backing pages to achieve memory corruption, read sensitive kernel memory (information disclosure), or escalate privileges depending on the specific memory layout and kernel version (GitHub Advisory).

Mitigation and workarounds

Apply the upstream kernel fix that introduces a per-process-device mutex in kfd_alloc_process_doorbells() to serialize all doorbell allocation call sites. Fixed kernel versions are: 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1. The corresponding stable commits are 99dfb16dd7cb, f56f23b99d67, 8b1cb368bce3, 2081dc291247, 84d62591d343, and bebad45050945. Users should update to a patched kernel version provided by their Linux distribution as soon as available; no configuration-based workaround is known (GitHub Advisory).

Community reactions

The vulnerability was discovered by Tencent CodeBuddy Security and the fix was reviewed and refined by Felix Kuehling (AMD), who contributed multiple patch revisions (v3 and v4) to address unlocked checks flagged during review. No significant broader media coverage or community discussion has been observed beyond the standard kernel patch submission process (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Affected

sid

linux: 7.3.4-1

Fixed

trixie

linux: 6.12.117-1

Fixed

Ubuntu

Unknown

bionic (esm-infra)

linux

Unknown

bionic (fips-updates)

linux-fips

Unknown

bionic (fips)

linux-fips

Unknown

devel

linux

Unknown

focal (esm-infra)

linux

Unknown

focal (fips-updates)

linux-fips

Unknown

focal (fips)

linux-fips

Unknown

jammy

linux

Unknown

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-9

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel.src

Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99988MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules
NoYesNov 30, 2026
CVE-2026-99983MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • libperf
NoYesNov 30, 2026
CVE-2026-99987MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • kernel-uki-virt
NoYesNov 30, 2026
CVE-2026-99986MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • kernel-kmap-internal
NoYesNov 30, 2026
CVE-2026-99984MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-devel
NoYesNov 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management