{"id":"CVE-2023-54107","published":"2025-12-24T13:06:31Z","modified":"2026-10-30T12:17:40Z","title":"blk-cgroup: dropping parent refcount after pd_free_fn() is done","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-cgroup: dropping parent refcount after pd_free_fn() is done\n\nSome cgroup policies will access parent pd through child pd even\nafter pd_offline_fn() is done. If pd_free_fn() for parent is called\nbefore child, then UAF can be triggered. Hence it's better to guarantee\nthe order of pd_free_fn().\n\nCurrently refcount of parent blkg is dropped in __blkg_release(), which\nis before pd_free_fn() is called in blkg_free_work_fn() while\nblkg_free_work_fn() is called asynchronously.\n\nThis patch make sure pd_free_fn() called from removing cgroup is ordered\nby delaying dropping parent refcount after calling pd_free_fn() for\nchild.\n\nBTW, pd_free_fn() will also be called from blkcg_deactivate_policy()\nfrom deleting device, and following patches will guarantee the order.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00219,"percentile":0.07154,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c2f355e68126fd374e3bc0782aa6840faa7d3b1f","tags":[]},{"url":"https://git.kernel.org/stable/c/c7241babf0855d8a6180cd1743ff0ec34de40b4e","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.43},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d578c770c85233af592e54537f93f3831bde7e9a, < c2f355e68126fd374e3bc0782aa6840faa7d3b1f",">= d578c770c85233af592e54537f93f3831bde7e9a, < c7241babf0855d8a6180cd1743ff0ec34de40b4e"]},{"vendor":"Linux","product":"Linux","versions":["5.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:38:32.237187Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-60338","exploited":false,"provenance":"source"}}