{"id":"CVE-2026-139145","summary":"blk-cgroup: don't free a blkg with its punt work queued","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-cgroup: don't free a blkg with its punt work queued\n\nblkg_async_bio_workfn() relies on the bios on the list pinning the blkg.\nBut blkcg_punt_bio_submit() can call queue_work() after a running\ninstance already took and completed the bio, and queue_work() succeeds\non an empty list for the same reason. Nothing holds the blkg then, and\nfree_work shares its memory with async_bio_work on top of that.\n\nHold a reference across blkcg_punt_bio_submit(), give the two works\nmemory of their own, and cancel async_bio_work in blkg_free_workfn().","modified":"2026-12-01T07:00:34.277628525Z","published":"2026-11-30T13:31:59.783Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139145.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3933c871982c626571671e4d4929d046c26da50b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4def096314cf29fb6940b74c087a0b923185580e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f95ed09d6412c085526a0a78d7c4301e96924e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e01205c30385f5f2c69df9fd05a34a486a725dd9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1a5a4500286a74cc8cb011eabe6a98b36de4df3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139145.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139145"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d3f77dfdc71835f8db71ca57d272b1fbec9dfc18"},{"fixed":"e1a5a4500286a74cc8cb011eabe6a98b36de4df3"},{"fixed":"e01205c30385f5f2c69df9fd05a34a486a725dd9"},{"fixed":"7f95ed09d6412c085526a0a78d7c4301e96924e4"},{"fixed":"3933c871982c626571671e4d4929d046c26da50b"},{"fixed":"4def096314cf29fb6940b74c087a0b923185580e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139145.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139145.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}