Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.0CVE-2026-139148

blk-cgroup: keep the old blkg while reassociating a bio

Published 30/11/2026 · Updated 01/12/2026 · 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 products and versions

Linux Linux457d3c4f0fdd6cf8a4bd8115bf470809984a9f02 – < ea58c831fa3e8af216b8a35668f8f8bc9cbedb0a · 457d3c4f0fdd6cf8a4bd8115bf470809984a9f02 – < 0e1daaf9b20df2125452846f768a68d8ea280adfFixed in: ea58c831fa3e8af216b8a35668f8f8bc9cbedb0a · 0e1daaf9b20df2125452846f768a68d8ea280adf
Linux Linux7.2Fixed in: 7.3.6 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.