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

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2026-11-20 · Modified: 2026-11-20
- Aliases: DEBIAN-CVE-2026-99681, UBUNTU-CVE-2026-99681, CGA-4wx9-wrrm-rxfx, CGA-5qvx-qp95-rw4w, CGA-836h-j4v7-g87m, CGA-88xh-vvpx-9vr2, CGA-g27f-rpjm-7f6x, CGA-gqx3-xmj9-jr7j, CGA-jpc2-rjh4-f7vc, CGA-p2mq-gwgg-775v, CGA-x563-244w-c8ph, CGA-x7hp-cq99-ghhp, CGA-65vr-qmv2-vm5r, CGA-6q7g-c3rp-3xm3, CGA-c7cf-5rjc-5m2p, CGA-pfgf-22fp-p56g, CGA-vj7j-53wc-x8fq, CGA-w48j-3w2r-jm29, CGA-wvqx-p8xf-j7cq, CGA-j5mr-979j-v4vf, CGA-xq3w-g3mh-vqg3
- Record: https://cvemate.com/vulnerability/CVE-2026-99681 · JSON: https://cvemate.com/vulnerability/CVE-2026-99681/json

## Description

```text
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.
```

## Signals

- CVSS: none published
- EPSS: 0.166%, percentile 6.146%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 7.3.5-1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/a66d71dddc041ddf02c0476778573c5dba30f758>
- <https://git.kernel.org/stable/c/92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae>
- <https://git.kernel.org/stable/c/894e4e6084924cfd590968d45fad20908e02ddae>
- <https://security-tracker.debian.org/tracker/CVE-2026-99681>
- <https://ubuntu.com/security/CVE-2026-99681>
- <https://www.cve.org/CVERecord?id=CVE-2026-99681>
- <https://git.kernel.org/linus/894e4e6084924cfd590968d45fad20908e02ddae>

---

Data as of 2026-12-05T14:04:13.558Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
