{"id":"CVE-2026-98820","revision":"7d88f8726e624db6a7bb197dfb06c7f2","records":[{"revision":"7d88f8726e624db6a7bb197dfb06c7f2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98820","aliases":[],"title":"blk-mq: set RQF_USE_SCHED when the operation is known","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: set RQF_USE_SCHED when the operation is known\n\nThe cached requests are allocated for one operation but can be handed\nout for another. A passthrough command has RQF_USE_SCHED cleared, so\nusing those flags for a subsequent read/write bio will insert it into\nthe scheduler without ->prepare_request() and frees it without\n->finish_request(). For kyber, this leaks the domain token acquired at\ndispatch and stalls the queue.\n\nDon't set RQF_USE_SCHED based on the first operation the batch happened\nto be allocated for. Instead, set it after the request is claimed by an\noperation. Introduce a helper function, blk_mq_rq_late_init() for this,\nand absorb blk_mq_rq_time_init() since the two run together.","state":0,"publishedAt":"2026-10-18T15:49:12.251+00:00","modifiedAt":"2026-10-19T09:26:13.21+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"block/blk-mq.c\",\n                        \"block/mq-deadline.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4b6a5d9cea911424e84107df8c4eb8317938d2cd\",\n                            \"lessThan\": \"790730e4d95de8356a573d4b4864486bba731863\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4b6a5d9cea911424e84107df8c4eb8317938d2cd\",\n                            \"lessThan\": \"2c47ebc27fa72078e26177cd458cdaf3006a9685\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4b6a5d9cea911424e84107df8c4eb8317938d2cd\",\n                            \"lessThan\": \"ab6c756f28c741d704a7c3e04814bfc3adf6f818\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"block/blk-mq.c\",\n                        \"block/mq-deadline.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.1\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.56\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.10\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/790730e4d95de8356a573d4b4864486bba731863","https://git.kernel.org/stable/c/2c47ebc27fa72078e26177cd458cdaf3006a9685","https://git.kernel.org/stable/c/ab6c756f28c741d704a7c3e04814bfc3adf6f818"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98820","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98820","identifiers":["CVE-2026-98820"]},"retained":false,"historicalAffected":[]}],"coverage":[]}