Bug 2587300 (CVE-2026-139148)

Summary: CVE-2026-139148 kernel: kernel: Denial of Service via use-after-free in block control group re-association
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, rhel-process-autobot, sghai, sidsharm, suppawar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's block control group (blk-cgroup) subsystem. A local user can exploit this vulnerability to cause a Denial of Service (DoS) through a system crash or potentially achieve privilege escalation. The issue occurs when block input/output (I/O) request re-association prematurely releases references to a removed control group (cgroup, a mechanism used to manage system resources). This premature release causes a use-after-free condition, allowing the kernel to access freed memory while handling I/O operations.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-30 15:11:37 UTC
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.