# CVE-2026-98820: blk-mq: set RQF_USE_SCHED when the operation is known

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-10-18T15:49:12.251Z
- Modified: 2026-10-19T10:19:46.087Z
- Assigned by: Linux

## Description

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

blk-mq: set RQF_USE_SCHED when the operation is known

The cached requests are allocated for one operation but can be handed
out for another. A passthrough command has RQF_USE_SCHED cleared, so
using those flags for a subsequent read/write bio will insert it into
the scheduler without ->prepare_request() and frees it without
->finish_request(). For kyber, this leaks the domain token acquired at
dispatch and stalls the queue.

Don't set RQF_USE_SCHED based on the first operation the batch happened
to be allocated for. Instead, set it after the request is claimed by an
operation. Introduce a helper function, blk_mq_rq_late_init() for this,
and absorb blk_mq_rq_time_init() since the two run together.

(As written by CVE List.)

## Affected

- Linux Linux: from 4b6a5d9cea911424e84107df8c4eb8317938d2cd before 790730e4d95de8356a573d4b4864486bba731863; from 4b6a5d9cea911424e84107df8c4eb8317938d2cd before 2c47ebc27fa72078e26177cd458cdaf3006a9685; from 4b6a5d9cea911424e84107df8c4eb8317938d2cd before ab6c756f28c741d704a7c3e04814bfc3adf6f818; 6.1 (not affected: before 6.1; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/790730e4d95de8356a573d4b4864486bba731863>
- <https://git.kernel.org/stable/c/2c47ebc27fa72078e26177cd458cdaf3006a9685>
- <https://git.kernel.org/stable/c/ab6c756f28c741d704a7c3e04814bfc3adf6f818>

## Sources

- CVE List: [CVE-2026-98820](https://www.cve.org/CVERecord?id=CVE-2026-98820), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98820](https://nvd.nist.gov/vuln/detail/CVE-2026-98820), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98820 · Whole record: https://cve.day/CVE-2026-98820.json · Rebuilt by cve.day 2026-11-25T22:59:45.314Z
