Visit the Wiz Whimzical Shop at AWS re:Invent

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

Overview

CVE-2026-99987 is a denial-of-service vulnerability in the Linux kernel's blk-mq (block multi-queue) subsystem caused by a stale BLK_MQ_S_INACTIVE flag not being cleared when a hardware queue context (hctx) is reused after CPU hotplug events. The flaw was published on November 30, 2026, and affects Linux kernel versions starting from 5.8 up through multiple stable branches. Fixed versions include 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1. The CVSS category is estimated as Medium severity (GitHub Advisory).

Technical details

The root cause is improper state management in the blk-mq subsystem: when the last CPU mapped to an hctx goes offline, blk_mq_hctx_notify_offline() sets the BLK_MQ_S_INACTIVE flag. When hardware queues are later updated, parked hctx instances from q->unused_hctx_list can be reused via blk_mq_alloc_and_init_hctx() at a different queue index without clearing this stale flag. As a result, blk_mq_get_tag() persistently returns BLK_MQ_NO_TAG for the reused hctx even when it is mapped to an online CPU, causing __blk_mq_alloc_requests() to sleep and retry indefinitely. Re-onlining the original CPU does not recover the state because blk_mq_hctx_notify_online() only clears the flag on the hctx that CPU currently maps to, not the reused one. The fix clears BLK_MQ_S_INACTIVE in blk_mq_init_hctx() so a reused hctx behaves like a freshly allocated one (GitHub Advisory).

Impact

Successful triggering of this vulnerability causes block I/O requests submitted to affected hardware queues to stall indefinitely, resulting in a denial-of-service condition for any process performing block device I/O on the affected CPU. Tasks pinned to the affected CPU enter an uninterruptible sleep (D state) and cannot complete I/O operations, with no self-recovery even after CPU hotplug events. The impact is limited to availability — there is no evidence of confidentiality or integrity compromise — but it can render block devices effectively unusable on affected queue mappings (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability requires local access to trigger CPU hotplug events (offlining/onlining CPUs) in conjunction with hardware queue reconfiguration on systems using block devices such as null_blk. No threat actor attribution, CISA KEV listing, or EPSS score data is currently available for this CVE (GitHub Advisory).

Exploitation steps

  1. Gain local access: Obtain local user access on a Linux system running kernel 5.8 or later with a multi-queue block device (e.g., null_blk) and multiple CPUs.
  2. Configure block device with multiple queues: Load and configure null_blk with multiple submit queues matching the number of available CPUs (e.g., modprobe null_blk nr_devices=0, then configure via configfs with submit_queues=4).
  3. Offline a CPU: Take a CPU offline that is mapped to an hctx, causing blk_mq_hctx_notify_offline() to set BLK_MQ_S_INACTIVE on that hctx (e.g., echo 0 > /sys/devices/system/cpu/cpu3/online).
  4. Trigger hardware queue reconfiguration: Update the number of submit queues twice to force the parked hctx to be reused at a different queue index without clearing the stale flag (e.g., echo 2 > submit_queues; echo 4 > submit_queues).
  5. Submit I/O on the affected CPU: Pin a process to the CPU now mapped to the reused (still-INACTIVE) hctx and perform block I/O (e.g., a 4K O_DIRECT read). The process will hang indefinitely in D state, demonstrating the denial-of-service condition (GitHub Advisory).

Indicators of compromise

  • Process: Processes in uninterruptible sleep (D state) performing block I/O on a specific CPU, detectable via ps aux showing D state or top.
  • File System / sysfs: The hctx state file showing INACTIVE for a queue mapped to an online CPU: cat /sys/kernel/debug/block/<device>/hctx<N>/state returns INACTIVE.
  • Logs: Kernel logs may show repeated blk_mq_get_tag failures or I/O timeout messages for the affected block device; check dmesg for block layer warnings.
  • System Behavior: Block device I/O hangs on one CPU while completing normally on others; CPU hotplug events (online/offline) in system logs correlating with I/O stalls (GitHub Advisory).

Mitigation and workarounds

Apply the kernel patches that clear BLK_MQ_S_INACTIVE in blk_mq_init_hctx() when reusing a parked hctx. Fixed stable kernel versions are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1. As a workaround where patching is not immediately possible, avoid frequent CPU hotplug operations on systems with dynamic hardware queue reconfiguration, and consider pinning critical I/O workloads to CPUs that are not subject to hotplug events (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-8

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel-rt.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