CVE-2023-52942
Last modified
CVE-2023-52942 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Fix wrong check in update_parent_subparts_cpumask() It was found that the check to see if a partition could use up all the cpus from the parent cpuset in update_parent_subparts_cpumask() was incorrect. As a result, it is possible to leave parent with no effective cpu left even if there are tasks in the parent cpuset. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Fix wrong check in update_parent_subparts_cpumask() It was found that the check to see if a partition could use up all the cpus from the parent cpuset in update_parent_subparts_cpumask() was incorrect. As a result, it is possible to leave parent with no effective cpu left even if there are tasks in the parent cpuset. This can lead to system panic as reported in [1]. Fix this probem by updating the check to fail the enabling the partition if parent's effective_cpus is a subset of the child's cpus_allowed. Also record the error code when an error happens in update_prstate() and add a test case where parent partition and child have the same cpu list and parent has task. Enabling partition in the child will fail in this case. [1] https://www.spinics.net/lists/cgroups/msg36254.html
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.1, < 6.1.11 | — |
| Linux | Linux Kernel | 6.2 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-52942?
How severe is CVE-2023-52942?
How do I fix CVE-2023-52942?
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-52937In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52938In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52939In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-5294A vulnerability has been found in ECshop 4.1.1 and classifie…8.8
- CVE-2023-52940In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52941In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52943Incorrect authorization vulnerability in Alert.Setting webap…4.3
- CVE-2023-52944Incorrect authorization vulnerability in ActionRule webapi c…4.3
- CVE-2023-52945Uncontrolled search path element vulnerability in OpenSSL DL…7.8
- CVE-2023-52946Buffer copy without checking size of input ('Classic Buffer …8.2
- CVE-2023-52947Missing authentication for critical function vulnerability i…3.3
- CVE-2023-52948Missing encryption of sensitive data vulnerability in settin…5
Are you affected by CVE-2023-52942?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
