{"vuln_id":"CVE-2026-99681","aliases":[],"description":"kernel: kernel: Denial of Service via out-of-bounds read in blk-mq","published_at":"2026-11-20T05:50:27Z","modified_at":"2026-11-20T06:18:02.973000Z","first_seen_at":"2026-11-21T19:15:15.261976Z","severity":"medium","severity_source":"redhat","cvss_score":4.1,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-125"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00166,"epss_percentile":0.05926,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99681"},"matched_alias":null,"items":[{"id":9498,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99681: 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…","summary":"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:\nblk_mq_free_rqs+0xde/0x680\nblk_mq_free_map_and_rqs+0x40/0xf0\nblk_mq_free_sched_tags\nblk_mq_free_sched_res+0xeb/0x280\nelevator_change_done+0x1d2/0x5c0\nelevator_change+0x34f/0x480\nelv_iosched_store+0x504/0x630\nqueue_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.\n\nReferences:\nhttps://git.kernel.org/stable/c/894e4e6084924cfd590968d45fad20908e02ddae\nhttps://git.kernel.org/stable/c/92ea40ca224ca9909dc7a5ac80dfb3e7cb0e6cae\nhttps://git.kernel.org/stable/c/a66d71dddc041ddf02c0476778573c5dba30f758","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99681","published_at":"2026-11-20T06:18:02.973000Z","updated_at":"2026-11-20T06:18:02.973000Z","fetched_at":"2026-11-21T19:15:31.485072Z","severity":"medium","cvss_score":4.1,"epss":0.00166,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99681","vuln_ids":["CVE-2026-99681"],"tags":[],"cluster_id":679,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9498","html":"https://vulnwatch.ve1ve2.com/item/9498"}},{"id":940,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99681: kernel: kernel: Denial of Service via out-of-bounds read in blk-mq","summary":"kernel: kernel: Denial of Service via out-of-bounds read in blk-mq","url":"https://access.redhat.com/security/cve/cve-2026-99681","published_at":"2026-11-20T05:50:27Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.893227Z","severity":"medium","cvss_score":4.1,"epss":0.00166,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99681","vuln_ids":["CVE-2026-99681"],"tags":["redhat"],"cluster_id":679,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/940","html":"https://vulnwatch.ve1ve2.com/item/940"}}]}