CVE-2026-139147

Source
https://cve.org/CVERecord?id=CVE-2026-139147
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139147.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139147
Downstream
Published
2026-11-30T13:32:00Z
Modified
2026-11-30T15:02:24Z
Summary
blk-iocost: free struct ioc after a grace period
Details

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139147.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"