CVE-2026-139145
7.0high
blk-cgroup: don't free a blkg with its punt work queued
- Severity
- 7.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.17% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 before e1a5a4500286a74cc8cb011eabe6a98b36de4df3, from d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 before e01205c30385f5f2c69df9fd05a34a486a725dd9, from d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 before 7f95ed09d6412c085526a0a78d7c4301e96924e4, from d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 before 3933c871982c626571671e4d4929d046c26da50b, from d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 before 4def096314cf29fb6940b74c087a0b923185580e, 5.3 Not affected: before 5.3, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.*, from 6.18.65 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139145 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-139145 changed 2026-12-01 | Public domain |