CVE-2026-139147: blk-iocost: free struct ioc after a grace period
blk-iocost: free struct ioc after a grace period
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
Free the struct ioc with kfree_rcu_mightsleep() after a grace period.
Event History
Frequently Asked Questions
What condition is required to trigger the vulnerable access?
A concurrent read of the io.cost.qos control path must occur while ioc_rqos_exit() is freeing the associated ioc structure. The read path can then attempt to take ioc->lock after that memory has been freed.
Which systems are most relevant to assess?
Systems using the Linux kernel and the blk-iocost I/O cost controller are relevant. The affected path involves reporting block cgroup data through blkcg_print_blkgs() and access to io.cost.qos.
What is the remediation?
Apply a kernel update containing the fix that defers freeing struct ioc until after an RCU grace period, using kfree_rcu_mightsleep(). The provided stable-kernel references identify fixes for this issue.