PT-2026-152561

CVE-2026-99681

·

Published

2026-11-20

·

Updated

2026-11-20

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾