{"id":"CVE-2026-139118","summary":"blk-mq: free the bitmaps of tags in the SRCU callback","details":"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.","modified":"2026-11-30T15:02:19.382086921Z","published":"2026-11-30T13:31:44.894Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139118.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0c7429cb66aea8c37dd5200721910fd39327f26a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139118.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139118"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ad0d05dbddc1bf86e92220fea873176de6b12f78"},{"fixed":"0c7429cb66aea8c37dd5200721910fd39327f26a"},{"fixed":"ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19"},{"fixed":"10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139118.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139118.json"}}],"schema_version":"1.9.2"}