{"id":"CVE-2026-139118","aliases":["CVE-2026-139118"],"related":[],"kind":"vulnerability","state":"published","title":"blk-mq: free the bitmaps of tags in the SRCU callback","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: free the bitmaps of tags in the SRCU callback\n\nCommit ad0d05dbddc1 keeps struct blk_mq_tags and the requests until the\niterators under tags_srcu are gone, but the two bitmaps they walk are\nstill freed right away. When the number of hardware queues shrinks,\nblk_mq_tagset_busy_iter() may be about to walk tags that\n__blk_mq_update_nr_hw_queues() frees. sbitmap_free() clears the map\npointer, so that's a NULL dereference or a use-after-free, depending on\nthe timing.\n\nFree the bitmaps with the rest in the callback.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: free the bitmaps of tags in the SRCU callback\n\nCommit ad0d05dbddc1 keeps struct blk_mq_tags and the requests until the\niterators under tags_srcu are gone, but the two bitmaps they walk are\nstill freed right away. When the number of hardware queues shrinks,\nblk_mq_tagset_busy_iter() may be about to walk tags that\n__blk_mq_update_nr_hw_queues() frees. sbitmap_free() clears the map\npointer, so that's a NULL dereference or a use-after-free, depending on\nthe timing.\n\nFree the bitmaps with the rest in the callback.","source":"cvelist"}],"published":"2026-11-30T13:31:44.894Z","modified":"2026-11-30T14:18:20.830Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ad0d05dbddc1bf86e92220fea873176de6b12f78","fixed":"0c7429cb66aea8c37dd5200721910fd39327f26a","status":"affected"},{"type":"git","introduced":"ad0d05dbddc1bf86e92220fea873176de6b12f78","fixed":"ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19","status":"affected"},{"type":"git","introduced":"ad0d05dbddc1bf86e92220fea873176de6b12f78","fixed":"10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0c7429cb66aea8c37dd5200721910fd39327f26a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139118","url":"https://www.cve.org/CVERecord?id=CVE-2026-139118","licence":"CVE Terms of Use","modified":"2026-11-30T13:31:44.894Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139118","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139118","licence":"Public domain","modified":"2026-11-30T14:18:20.830Z"}],"updatedAt":"2026-11-30T14:32:54.016Z","epss":{"score":0.00349,"percentile":0.30529,"date":"2026-12-01T12:00:22.000Z"}}