{"id":"CVE-2026-139147","summary":"blk-iocost: free struct ioc after a grace period","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-iocost: free struct ioc after a grace period\n\nioc_qos_prfill() and ioc_cost_model_prfill() take ioc-\u003elock from\nblkcg_print_blkgs(), which since commit 56cc24f59c14 runs under RCU only.\nThat covers the policy data, which is freed after a grace period, but\nnot the ioc it points to: ioc_rqos_exit() frees that right away, and a\nconcurrent read of io.cost.qos locks freed memory.\n\nFree the ioc with kfree_rcu_mightsleep().","modified":"2026-11-30T15:02:24.685262911Z","published":"2026-11-30T13:32:00.889Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139147.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/05ce1df3756773862c056ca8698f8ec4cdd7fe98"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c83c406922a2fb59e4abd5fce0624494b4f961d1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139147.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139147"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"56cc24f59c145ce6938959f792df04b8a4f5a4d8"},{"fixed":"c83c406922a2fb59e4abd5fce0624494b4f961d1"},{"fixed":"05ce1df3756773862c056ca8698f8ec4cdd7fe98"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139147.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139147.json"}}],"schema_version":"1.9.2"}