CVE-2023-54107
Last modified
CVE-2023-54107 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: dropping parent refcount after pd_free_fn() is done Some cgroup policies will access parent pd through child pd even after pd_offline_fn() is done. If pd_free_fn() for parent is called before child, then UAF can be triggered. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: dropping parent refcount after pd_free_fn() is done Some cgroup policies will access parent pd through child pd even after pd_offline_fn() is done. If pd_free_fn() for parent is called before child, then UAF can be triggered. Hence it's better to guarantee the order of pd_free_fn(). Currently refcount of parent blkg is dropped in __blkg_release(), which is before pd_free_fn() is called in blkg_free_work_fn() while blkg_free_work_fn() is called asynchronously. This patch make sure pd_free_fn() called from removing cgroup is ordered by delaying dropping parent refcount after calling pd_free_fn() for child. BTW, pd_free_fn() will also be called from blkcg_deactivate_policy() from deleting device, and following patches will guarantee the order.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d578c770c85233af592e54537f93f3831bde7e9a, < c7241babf0855d8a6180cd1743ff0ec34de40b4e |
| Linux | Linux | 5.18 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2023-54107?
How severe is CVE-2023-54107?
How do I fix CVE-2023-54107?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-54101In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54102In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54103Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2023-54104In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-54105In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54106In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54108In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54109In the Linux kernel, the following vulnerability has been re…
- CVE-2023-5411The Funnelforms Free plugin for WordPress is vulnerable to u…4.3
- CVE-2023-54110In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54111In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54112In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2023-54107?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
