CVE-2026-98820

Source
https://cve.org/CVERecord?id=CVE-2026-98820
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98820.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98820
Downstream
Published
2026-10-18T15:49:12Z
Modified
2026-10-19T02:47:31Z
Summary
blk-mq: set RQF_USE_SCHED when the operation is known
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98820.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4b6a5d9cea911424e84107df8c4eb8317938d2cd
Fixed
790730e4d95de8356a573d4b4864486bba731863
Fixed
2c47ebc27fa72078e26177cd458cdaf3006a9685
Fixed
ab6c756f28c741d704a7c3e04814bfc3adf6f818

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98820.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98820.json"