Linux blk-cgroup frees a blkg while its punt work is still queued
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The blk-cgroup code in the Linux kernel could free a blkg while its punt work was still queued. blkg_async_bio_workfn() assumed the queued bios kept the blkg alive, but blkcg_punt_bio_submit() can queue work after a running instance has already completed the bio, so nothing holds the blkg. The free_work item also shares memory with async_bio_work. CVSS 3.1 rates the issue 7.0 (HIGH), with local access, high attack complexity and low privileges required.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Install a fixed kernel: 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, matching your release branch. The fix holds a reference across blkcg_punt_bio_submit(), gives the two works separate memory, and cancels async_bio_work in blkg_free_workfn().
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139145
- 2026-11-30 Alias added: GHSA-5jmf-v2f6-cm8f
- 2026-12-01 CVSS score added · CNA
References
Other 5
- https://git.kernel.org/stable/c/e1a5a4500286a74cc8cb011eabe6a98b36de4df3
- https://git.kernel.org/stable/c/e01205c30385f5f2c69df9fd05a34a486a725dd9
- https://git.kernel.org/stable/c/7f95ed09d6412c085526a0a78d7c4301e96924e4
- https://git.kernel.org/stable/c/3933c871982c626571671e4d4929d046c26da50b
- https://git.kernel.org/stable/c/4def096314cf29fb6940b74c087a0b923185580e
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139145 · CVE Program
- CVE-2026-139145 · NVD
- GHSA-5jmf-v2f6-cm8f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences