# CVE-2026-99681: blk-mq: fix out-of-bounds read in blk\_mq\_free\_rqs

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-20T05:50:27.952Z
- **Modified:** 2026-11-20T06:18:02.973Z

## Who should check

- Anyone running Linux \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< a66d71dddc041ddf02c0476778573c5dba30f758; \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< 92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae; \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< 894e4e6084924cfd590968d45fad20908e02ddae; e01facfb54a9b2e1ad7bbb00601a42b16d276d81; \>= 6.16.4, \< 6.17
- Anyone running Linux 6.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

blk-mq: fix out-of-bounds read in blk\_mq\_free\_rqs

A KASAN slab-out-of-bounds read can occur in blk\_mq\_free\_rqs() when there
is a mismatch between the number of hardware queues allocated for the IO
scheduler (et-\>nr\_hw\_queues) and the number of hardware queues in the block
tag set (set-\>nr\_hw\_queues).

This mismatch can happen if blk\_mq\_update\_nr\_hw\_queues() fails halfway
through (e.g., due to memory pressure during
blk\_mq\_prealloc\_tag\_set\_tags()). In this error path, the elevator is
restored with a larger number of hardware queues than the block tag set
actually has.

When the elevator is later freed, blk\_mq\_free\_sched\_tags() iterates up to
the new et-\>nr\_hw\_queues and calls blk\_mq\_free\_rqs(). In blk\_mq\_free\_rqs(),
it attempts to access set-\>tags\[hctx\_idx\] to get the driver tags. Because
set-\>nr\_hw\_queues was not updated due to the earlier failure, set-\>tags
still has the old (smaller) size, leading to an out-of-bounds read.

BUG: KASAN: slab-out-of-bounds in blk\_mq\_free\_rqs+0xde/0x680
Read of size 8 at addr ffff88818d67fc28 by task syz-executor117/5839
Call Trace:
 blk\_mq\_free\_rqs+0xde/0x680
 blk\_mq\_free\_map\_and\_rqs+0x40/0xf0
 blk\_mq\_free\_sched\_tags
 blk\_mq\_free\_sched\_res+0xeb/0x280
 elevator\_change\_done+0x1d2/0x5c0
 elevator\_change+0x34f/0x480
 elv\_iosched\_store+0x504/0x630
 queue\_attr\_store+0x207/0x2b0

To fix this, explicitly check if hctx\_idx \< set-\>nr\_hw\_queues before
accessing set-\>tags\[hctx\_idx\]. If hctx\_idx \>= set-\>nr\_hw\_queues, the
hardware queue doesn't exist in the tag set, meaning there are no driver
tags to clear mappings from. In this case, safely set drv\_tags to NULL. The
subsequent call to blk\_mq\_clear\_rq\_mapping() already handles a NULL
drv\_tags pointer and will safely return.

## Affected and fixed versions

- Linux: \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< a66d71dddc041ddf02c0476778573c5dba30f758; \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< 92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae; \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< 894e4e6084924cfd590968d45fad20908e02ddae; e01facfb54a9b2e1ad7bbb00601a42b16d276d81; \>= 6.16.4, \< 6.17 (cvelist)
- Linux: 6.17 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99681. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99681.md
Affected: Linux >= 04225d13aef11b2a539014def5e47d8c21fd74a5, < a66d71dddc041ddf02c0476778573c5dba30f758; >= 04225d13aef11b2a539014def5e47d8c21fd74a5, < 92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae; >= 04225d13aef11b2a539014def5e47d8c21fd74a5, < 894e4e6084924cfd590968d45fad20908e02ddae; e01facfb54a9b2e1ad7bbb0060…
Fixed in: Linux 92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae, Linux 894e4e6084924cfd590968d45fad20908e02ddae, Linux 6.17

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99681 being exploited?

There is no confirmed exploitation: CVE-2026-99681 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99681?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99681?

Linux \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< a66d71dddc041ddf02c0476778573c5dba30f758; \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< 92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae; \>= 04225d13aef11b2a539014def5e47d8c21fd74a5, \< 894e4e6084924cfd590968d45fad20908e02ddae; e01facfb54a9b2e1ad7bbb00601a42b16d276d81; \>= 6.16.4, \< 6.17; Linux 6.17.

### Is there a fix for CVE-2026-99681?

Yes. Fixed in Linux 92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae, Linux 894e4e6084924cfd590968d45fad20908e02ddae, Linux 6.17. Upgrade Linux to 6.17 or later.

### How do I check if I'm affected by CVE-2026-99681?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a66d71dddc041ddf02c0476778573c5dba30f758>
- other: <https://git.kernel.org/stable/c/92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae>
- other: <https://git.kernel.org/stable/c/894e4e6084924cfd590968d45fad20908e02ddae>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99681>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99681> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99681>
