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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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().

ProductVersions
Linux Linuxd3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to before e1a5a4500286a74cc8cb011eabe6a98b36de4df3 Affectedd3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to before e01205c30385f5f2c69df9fd05a34a486a725dd9 Affectedd3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to before 7f95ed09d6412c085526a0a78d7c4301e96924e4 Affectedd3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to before 3933c871982c626571671e4d4929d046c26da50b Affectedd3f77dfdc71835f8db71ca57d272b1fbec9dfc18 to before 4def096314cf29fb6940b74c087a0b923185580e Affected
Linux Linux5.3 Affectedbefore 5.3 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.