CVE-2026-139148
7.0high
blk-cgroup: keep the old blkg while reassociating a bio
- Severity
- 7.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: keep the old blkg while reassociating a bio bio_associate_blkg_from_css() drops the bio's old blkg before it looks up the new one through the css. The css is pinned by the blkg, not by the bio, so if the cgroup is gone the bio may hold the last reference and the blkcg can be freed under blkg_tryget_closest(). The rcu_read_lock() around the whole thing used to cover that, until commit 457d3c4f0fdd dropped it. Put the old blkg after the new one has been looked up.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 457d3c4f0fdd6cf8a4bd8115bf470809984a9f02 before ea58c831fa3e8af216b8a35668f8f8bc9cbedb0a, from 457d3c4f0fdd6cf8a4bd8115bf470809984a9f02 before 0e1daaf9b20df2125452846f768a68d8ea280adf, 7.2 Not affected: before 7.2, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139148 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-139148 changed 2026-12-01 | Public domain |