CVE-2026-139145

blk-cgroup: don't free a blkg with its punt work queued

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

blk-cgroup: don't free a blkg with its punt work queued

blkg_async_bio_workfn() relies on the bios on the list pinning the blkg.
But blkcg_punt_bio_submit() can call queue_work() after a running
instance already took and completed the bio, and queue_work() succeeds
on an empty list for the same reason. Nothing holds the blkg then, and
free_work shares its memory with async_bio_work on top of that.

Hold a reference across blkcg_punt_bio_submit(), give the two works
memory of their own, and cancel async_bio_work in blkg_free_workfn().

Analysis

AI-generated

Technical impact

A memory‑management flaw in the Linux kernel’s block‑cgroup subsystem prevented a block group (blkg) from being held while asynchronous work queued for it was still pending. When blkcg_punt_bio_submit() queued work after the biolink had already been processed, the blkg was freed and its resources were reclaimed, yet the queued work continued to reference the same memory. This created a use‑after‑free condition that could allow an attacker to trigger a crash or potentially execute arbitrary code if they could influence the queued work path. The vulnerability is a classic example of improper handling of shared memory, leading to instability and the risk of privilege‑escalation within the kernel context.

Affected Systems

The flaw resides in the Linux kernel source, affecting any distribution or custom kernel that has not been updated to include the resolution in the block‑cgroup code. No specific vendor or kernel version bounds are listed in the data provided, so all unpatched kernels are potentially impacted.

Risk and Exploitability

The CVSS score is not supplied, and the EPSS score is unavailable, so the precise likelihood of exploitation is unknown. The vulnerability is not currently listed in the CISA KEV catalog. Because the bug involves a use‑after‑free in a core subsystem, it is a high‑risk condition that could be leveraged locally by anyone with permission to submit block I/O, and may be chained to break out of privileged contexts in more complex attack scenarios. The absence of a publicly listed solution or workaround suggests that the most reliable mitigation is to apply a patched kernel version once it becomes available.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install a kernel release that includes the blk-cgroup fix from the Linux kernel commit history
  • If an immediate kernel update is not possible, disable the blk‑cgroup subsystem or prevent blkcg_punt_bio_submit from executing by disabling related configuration options
  • Monitor system stability for abnormal crashes or memory‑corruption logs to detect exploitation attempts

Generated by OpenCVE AI on November 30, 2026 at 19:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: don't free a blkg with its punt work queued blkg_async_bio_workfn() relies on the bios on the list pinning the blkg. But blkcg_punt_bio_submit() can call queue_work() after a running instance already took and completed the bio, and queue_work() succeeds on an empty list for the same reason. Nothing holds the blkg then, and free_work shares its memory with async_bio_work on top of that. Hold a reference across blkcg_punt_bio_submit(), give the two works memory of their own, and cancel async_bio_work in blkg_free_workfn().
Title blk-cgroup: don't free a blkg with its punt work queued
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-416

    Use After Free

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM