# CVE-2026-139148: blk-cgroup: keep the old blkg while reassociating a bio

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-30T13:32:01.453Z
- Modified: 2026-12-01T06:17:37.323Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/ea58c831fa3e8af216b8a35668f8f8bc9cbedb0a>
- <https://git.kernel.org/stable/c/0e1daaf9b20df2125452846f768a68d8ea280adf>

## Sources

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

---

Page: https://cve.day/CVE-2026-139148 · Whole record: https://cve.day/CVE-2026-139148.json · Rebuilt by cve.day 2026-12-01T06:32:20.708Z
