# CVE-2026-139147: blk-iocost: free struct ioc after a grace period

- 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.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:32:00.889Z
- Modified: 2026-11-30T14:18:32.470Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 56cc24f59c145ce6938959f792df04b8a4f5a4d8 before c83c406922a2fb59e4abd5fce0624494b4f961d1; from 56cc24f59c145ce6938959f792df04b8a4f5a4d8 before 05ce1df3756773862c056ca8698f8ec4cdd7fe98; 7.2 (not affected: before 7.2; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/c83c406922a2fb59e4abd5fce0624494b4f961d1>
- <https://git.kernel.org/stable/c/05ce1df3756773862c056ca8698f8ec4cdd7fe98>

## Sources

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

---

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