CVE-2026-139147
publishedblk-iocost: free struct ioc after a grace period
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux56cc24f59c145ce6938959f792df04b8a4f5a4d8 to < c83c406922a2fb59e4abd5fce0624494b4f961d1 · 56cc24f59c145ce6938959f792df04b8a4f5a4d8 to < 05ce1df3756773862c056ca8698f8ec4cdd7fe98 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.2 (affected) · 0 to < 7.2 (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 |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: blk-iocost: free struct ioc after a grace period ioc_qos_prfill() and ioc_cost_model_prfill() take ioc->lock from blkcg_print_blkgs(), which since commit 56cc24f59c14 runs under RCU only. That covers the policy data, which is freed after a grace period, but not the ioc it points to: ioc_rqos_exit() frees that right away, and a concurrent read of io.cost.qos locks freed memory. Free the ioc with kfree_rcu_mightsleep().
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 | 56cc24f59c145ce6938959f792df04b8a4f5a4d8 to < c83c406922a2fb59e4abd5fce0624494b4f961d1 (affected · git)56cc24f59c145ce6938959f792df04b8a4f5a4d8 to < 05ce1df3756773862c056ca8698f8ec4cdd7fe98 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.2 (affected)0 to < 7.2 (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
2Provider assertions
1Linux · cna
blk-iocost: free struct ioc after a grace period
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9002da71f8f6a7bd857da42806435e7472d5d7421622f7f341c66edd22a0c05
- Ingested
- 30 Nov 2026, 13:42:22 UTC
- Source record
- Official CVE record