{"id":"CVE-2026-99681","aliases":[],"cve":{"records":[{"id":"CVE-2026-99681","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.428Z","published":"2026-11-20T05:50:27.952Z","modified":"2026-11-20T05:50:27.952Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-20T05:50:27.952Z"}],"references":[{"url":"https://git.kernel.org/stable/c/a66d71dddc041ddf02c0476778573c5dba30f758","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/894e4e6084924cfd590968d45fad20908e02ddae","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.4-rc2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16.4"}]}]}]}],"prioritization":[]},"title":"blk-mq: fix out-of-bounds read in blk_mq_free_rqs","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: fix out-of-bounds read in blk_mq_free_rqs\n\nA KASAN slab-out-of-bounds read can occur in blk_mq_free_rqs() when there\nis a mismatch between the number of hardware queues allocated for the IO\nscheduler (et->nr_hw_queues) and the number of hardware queues in the block\ntag set (set->nr_hw_queues).\n\nThis mismatch can happen if blk_mq_update_nr_hw_queues() fails halfway\nthrough (e.g., due to memory pressure during\nblk_mq_prealloc_tag_set_tags()). In this error path, the elevator is\nrestored with a larger number of hardware queues than the block tag set\nactually has.\n\nWhen the elevator is later freed, blk_mq_free_sched_tags() iterates up to\nthe new et->nr_hw_queues and calls blk_mq_free_rqs(). In blk_mq_free_rqs(),\nit attempts to access set->tags[hctx_idx] to get the driver tags. Because\nset->nr_hw_queues was not updated due to the earlier failure, set->tags\nstill has the old (smaller) size, leading to an out-of-bounds read.\n\nBUG: KASAN: slab-out-of-bounds in blk_mq_free_rqs+0xde/0x680\nRead of size 8 at addr ffff88818d67fc28 by task syz-executor117/5839\nCall Trace:\n blk_mq_free_rqs+0xde/0x680\n blk_mq_free_map_and_rqs+0x40/0xf0\n blk_mq_free_sched_tags\n blk_mq_free_sched_res+0xeb/0x280\n elevator_change_done+0x1d2/0x5c0\n elevator_change+0x34f/0x480\n elv_iosched_store+0x504/0x630\n queue_attr_store+0x207/0x2b0\n\nTo fix this, explicitly check if hctx_idx < set->nr_hw_queues before\naccessing set->tags[hctx_idx]. If hctx_idx >= set->nr_hw_queues, the\nhardware queue doesn't exist in the tag set, meaning there are no driver\ntags to clear mappings from. In this case, safely set drv_tags to NULL. The\nsubsequent call to blk_mq_clear_rq_mapping() already handles a NULL\ndrv_tags pointer and will safely return.","score":null,"severity":"unknown","published":"2026-11-20T05:50:27.952Z","modified":"2026-11-20T05:50:27.952Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"04225d13aef11b2a539014def5e47d8c21fd74a5","status":"affected","lessThan":"a66d71dddc041ddf02c0476778573c5dba30f758","versionType":"git"},{"version":"04225d13aef11b2a539014def5e47d8c21fd74a5","status":"affected","lessThan":"92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae","versionType":"git"},{"version":"04225d13aef11b2a539014def5e47d8c21fd74a5","status":"affected","lessThan":"894e4e6084924cfd590968d45fad20908e02ddae","versionType":"git"},{"version":"e01facfb54a9b2e1ad7bbb00601a42b16d276d81","status":"affected","versionType":"git"},{"version":"6.16.4","status":"affected","lessThan":"6.17","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99681"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.64","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.5","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99681"}],"remediation":[],"references":["https://git.kernel.org/stable/c/a66d71dddc041ddf02c0476778573c5dba30f758","https://git.kernel.org/stable/c/92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae","https://git.kernel.org/stable/c/894e4e6084924cfd590968d45fad20908e02ddae"],"sources":[{"name":"CVE","id":"CVE-2026-99681","modified":"2026-11-20T05:50:27.952Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99681"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-20T06:14:29.912Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T13:00:31.692Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T11:10:37.008Z","attemptedAt":"2026-11-21T11:10:37.008Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-21T10:55:34.161Z","attemptedAt":"2026-11-21T10:55:34.161Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T10:40:31.990Z","attemptedAt":"2026-11-21T10:40:31.990Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T09:55:36.329Z","attemptedAt":"2026-11-21T09:55:36.329Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99681","url":"https://www.first.org/epss/","probability":0.00166,"percentile":0.06024,"date":"2026-11-20","checkedAt":"2026-11-21T09:55:36.329Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130974","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130974","modified":"Nov 20, 2026, 5:50:27 AM","checkedAt":"2026-11-21T10:40:31.990Z"},{"source":"GitHub Advisory Database","id":"GHSA-rpcw-gvgh-m6mq","url":"https://github.com/advisories/GHSA-rpcw-gvgh-m6mq","modified":"2026-11-20T06:32:07Z","checkedAt":"2026-11-21T10:55:34.161Z"},{"source":"NVD","id":"CVE-2026-99681","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99681","modified":"2026-11-20T06:18:02.973","checkedAt":"2026-11-21T11:10:37.008Z"}],"aiSummary":{"text":"The Linux kernel has an out-of-bounds read vulnerability in blk_mq_free_rqs when there's a mismatch between allocated and actual hardware queues. This can occur if blk_mq_update_nr_hw_queues fails, leading to an out-of-bounds read when freeing the elevator. The affected versions include Linux kernel 6.16.4 and 6.17.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T08:46:17.174Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-99681"}]}}