# CVE-2026-139118: blk-mq: free the bitmaps of tags in the SRCU callback

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:44.894Z
- Modified: 2026-11-30T14:18:20.830Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

blk-mq: free the bitmaps of tags in the SRCU callback

Commit ad0d05dbddc1 keeps struct blk_mq_tags and the requests until the
iterators under tags_srcu are gone, but the two bitmaps they walk are
still freed right away. When the number of hardware queues shrinks,
blk_mq_tagset_busy_iter() may be about to walk tags that
__blk_mq_update_nr_hw_queues() frees. sbitmap_free() clears the map
pointer, so that's a NULL dereference or a use-after-free, depending on
the timing.

Free the bitmaps with the rest in the callback.

(As written by CVE List.)

## Affected

- Linux Linux: from ad0d05dbddc1bf86e92220fea873176de6b12f78 before 0c7429cb66aea8c37dd5200721910fd39327f26a; from ad0d05dbddc1bf86e92220fea873176de6b12f78 before ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19; from ad0d05dbddc1bf86e92220fea873176de6b12f78 before 10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a; 6.18 (not affected: before 6.18; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/0c7429cb66aea8c37dd5200721910fd39327f26a>
- <https://git.kernel.org/stable/c/ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19>
- <https://git.kernel.org/stable/c/10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a>

## Sources

- CVE List: [CVE-2026-139118](https://www.cve.org/CVERecord?id=CVE-2026-139118), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139118](https://nvd.nist.gov/vuln/detail/CVE-2026-139118), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139118 · Whole record: https://cve.day/CVE-2026-139118.json · Rebuilt by cve.day 2026-11-30T14:32:54.016Z
