Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98820 Overview
CVE-2026-98820 affects the Linux kernel's block multi-queue (blk-mq) subsystem. The flaw involves improper handling of the RQF_USE_SCHED request flag when cached requests allocated for one operation are reassigned to another. A passthrough command clears RQF_USE_SCHED, so reusing the request's flags for a subsequent read/write bio inserts it into the I/O scheduler without invoking ->prepare_request() and frees it without ->finish_request(). On the Kyber scheduler, this leaks the domain token acquired at dispatch and stalls the queue.
Critical Impact
Local workloads that mix passthrough and standard block I/O on Kyber-scheduled devices can experience queue stalls and I/O denial of service as domain tokens leak.
Affected Products
- Linux kernel versions containing the cached-request batching logic in blk-mq
- Systems configured with the Kyber I/O scheduler
- Storage stacks that mix passthrough commands with read/write bios on the same queue
Discovery Timeline
- 2026-10-18 - CVE-2026-98820 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98820
Vulnerability Analysis
The Linux block multi-queue layer maintains a per-task cache of pre-allocated requests to accelerate submission. These cached requests inherit flags from the operation they were originally allocated for. When a different operation claims one of these cached requests, the inherited flags no longer match the new operation's requirements.
The specific defect involves RQF_USE_SCHED, which signals that the request must traverse the configured I/O scheduler. A passthrough command clears this flag because passthrough bypasses the scheduler. If the next consumer of that cached request is a standard read or write bio, the request enters the scheduler path with RQF_USE_SCHED incorrectly unset.
For the Kyber scheduler, this inconsistency causes two scheduler callbacks to be skipped: ->prepare_request() on insertion and ->finish_request() on completion. The dispatch path still acquires a Kyber domain token, but no code path releases it. Over time, the leaked tokens exhaust the domain budget and the queue stalls, producing a local denial-of-service condition on affected storage devices.
Root Cause
The root cause is a state-tracking error [CWE-662-class concurrency/state issue]: RQF_USE_SCHED is set based on the operation that first allocated the batch, not the operation that ultimately claims each cached request. The fix introduces a helper, blk_mq_rq_late_init(), which defers the flag assignment until after an operation claims the request, and absorbs blk_mq_rq_time_init() since both initializations run together.
Attack Vector
Exploitation requires local access and the ability to issue block I/O against a device backed by the Kyber scheduler. An unprivileged workload that intermixes passthrough commands (for example, via ioctl-based pass-through interfaces) and ordinary read/write I/O can trigger the token leak. The result is queue stalls that degrade or deny I/O service to co-located workloads sharing the device. No remote attack path is documented, and no public proof-of-concept is referenced.
The vulnerability is a logic/state bug in request-flag initialization. No synthetic exploit code is published; see the upstream fix in kernel.org commit 790730e4d95d for the authoritative patch.
Detection Methods for CVE-2026-98820
Indicators of Compromise
- Unexplained I/O stalls on block devices configured with the Kyber scheduler, visible through sustained zero throughput while requests remain queued.
- Growing inflight counters in /sys/block/<dev>/inflight with no corresponding completions.
- Workloads that combine SCSI/NVMe passthrough ioctl traffic with regular filesystem I/O against the same queue.
Detection Strategies
- Monitor Kyber scheduler statistics under /sys/kernel/debug/block/<dev>/kyber/ for domain tokens that remain allocated across long idle periods.
- Correlate kernel version strings against the fixed commits referenced in the kernel.org advisory to identify unpatched hosts.
- Track process-level I/O wait and D-state task accumulation as early signals of queue stalls.
Monitoring Recommendations
- Collect /proc/diskstats and block layer debugfs metrics into a centralized observability pipeline and alert on queue depth that stays non-zero while completion rate is zero.
- Audit host inventories for Linux kernel build versions and I/O scheduler selection on production storage.
- Baseline passthrough ioctl usage per host so anomalous mixing of passthrough and bio traffic is visible.
How to Mitigate CVE-2026-98820
Immediate Actions Required
- Identify Linux hosts running kernels that include the cached-request batching logic and use the Kyber I/O scheduler on production block devices.
- Apply the upstream stable fix referenced by commit 790730e4d95d and companion commits 2c47ebc27fa7 and ab6c756f28c7 once vendor-packaged kernels become available.
- Schedule reboots on affected systems during maintenance windows, since kernel block-layer fixes cannot be applied through user-space hotpatching alone on most distributions.
Patch Information
The fix is upstream in the Linux kernel stable tree. Relevant commits: kernel.org commit 790730e4d95d, kernel.org commit 2c47ebc27fa7, and kernel.org commit ab6c756f28c7. The patch introduces blk_mq_rq_late_init() and sets RQF_USE_SCHED only after the request is claimed by an operation. Consult the distribution security tracker for the specific kernel package version carrying the backport.
Workarounds
- Switch affected block devices from the Kyber scheduler to mq-deadline or none until the patched kernel is deployed, by writing the scheduler name to /sys/block/<dev>/queue/scheduler.
- Avoid co-locating workloads that issue passthrough ioctl traffic with latency-sensitive filesystem workloads on the same device.
- Isolate passthrough-heavy applications onto dedicated devices or queues that do not share the Kyber scheduler.
# Temporarily change the I/O scheduler away from Kyber
echo mq-deadline | sudo tee /sys/block/nvme0n1/queue/scheduler
# Verify the active scheduler
cat /sys/block/nvme0n1/queue/scheduler
# Confirm running kernel version against the fixed stable release
uname -r
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

