cvelo
P2 · HighCVSS 7.0EPSS 0.2%

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

  • CVE-2026-139148
  • GHSA-695p-4q8h-x7gp
  • EUVD-2026-138702

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    7.2none stated
    before 7.2: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.