{"id":"CVE-2026-139147","aliases":["CVE-2026-139147"],"related":[],"kind":"vulnerability","state":"published","title":"blk-iocost: free struct ioc after a grace period","summary":"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->lock 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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->lock 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().","source":"cvelist"}],"published":"2026-11-30T13:32:00.889Z","modified":"2026-11-30T14:18:32.470Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"56cc24f59c145ce6938959f792df04b8a4f5a4d8","fixed":"c83c406922a2fb59e4abd5fce0624494b4f961d1","status":"affected"},{"type":"git","introduced":"56cc24f59c145ce6938959f792df04b8a4f5a4d8","fixed":"05ce1df3756773862c056ca8698f8ec4cdd7fe98","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.2","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c83c406922a2fb59e4abd5fce0624494b4f961d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05ce1df3756773862c056ca8698f8ec4cdd7fe98","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139147","url":"https://www.cve.org/CVERecord?id=CVE-2026-139147","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:00.889Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139147","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139147","licence":"Public domain","modified":"2026-11-30T14:18:32.470Z"}],"updatedAt":"2026-11-30T14:32:42.143Z","epss":{"score":0.0019,"percentile":0.09068,"date":"2026-12-01T12:00:22.000Z"}}