CVE-2026-139118
publishedblk-mq: free the bitmaps of tags in the SRCU callback
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxad0d05dbddc1bf86e92220fea873176de6b12f78 to < 0c7429cb66aea8c37dd5200721910fd39327f26a · ad0d05dbddc1bf86e92220fea873176de6b12f78 to < ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19 · ad0d05dbddc1bf86e92220fea873176de6b12f78 to < 10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ad0d05dbddc1bf86e92220fea873176de6b12f78 to < 0c7429cb66aea8c37dd5200721910fd39327f26a (affected · git)ad0d05dbddc1bf86e92220fea873176de6b12f78 to < ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19 (affected · git)ad0d05dbddc1bf86e92220fea873176de6b12f78 to < 10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
blk-mq: free the bitmaps of tags in the SRCU callback
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e1ddbca651ce162659fd1b744e37e6001a97921908337c1f2297226e3747c696
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record