Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139145

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to < e1a5a4500286a74cc8cb011eabe6a98b36de4df3affected
  • d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to < e01205c30385f5f2c69df9fd05a34a486a725dd9affected
  • d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to < 7f95ed09d6412c085526a0a78d7c4301e96924e4affected
  • d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to < 3933c871982c626571671e4d4929d046c26da50baffected
  • d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to < 4def096314cf29fb6940b74c087a0b923185580eaffected

Linux Linux

Default version status: affected

  • 5.3affected
  • 0 to < 5.3unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References