CVE-2023-52932
MediumIn the Linux kernel, the following vulnerability has been resolved: mm/swapfile: add cond_resched() in get_swap_pages() The softlockup still occurs in get_swap_pages() under memory pressure. 64 CPU cores, 64GB memory, and 28 zram devices, the disksize of each zram device is 50MB with same priority as si. Use the stress-ng tool to increase memory pressure, causing the system to oom frequently. The plist_for_each_entry_safe() loops in get_swap_pages() could reach tens of thousands of times to find available space (extreme case: cond_resched() is not called in scan_swap_map_slots()). Let's add cond_resched() into get_swap_pages() when failed to find available space to avoid softlockup.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-667CVE-2023-52932 is a Improper Locking vulnerability
What is Improper Locking?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
3.12.30,
3.14.21,
3.16
and later are affected. Fixed in
4.14.306,
4.19.273,
5.4.232,
5.10.168,
5.15.93,
6.1.11,
6.2
and their respective stable series.
References
The following references provide additional information about CVE-2023-52932 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/29f0349c5c76b627fe06b87d4b13fa03a6ce8e64
-
PatchKernel patch commithttps://git.kernel.org/stable/c/30187be29052bba9203b0ae2bdd815e0bc2faaab
-
PatchKernel patch commithttps://git.kernel.org/stable/c/387217b97e99699c34e6d95ce2b91b327fcd853e
Frequently asked questions
-
What is CVE-2023-52932?
CVE-2023-52932 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Improper Locking flaw (CWE-667) . It affects Linux kernel versions from 3.12.30 onward and has been patched in 4.14.306, 4.19.273, 5.4.232 and others. CVE-2023-52932 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-52932?
CVE-2023-52932 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2023-52932?
Yes — CVE-2023-52932 has been patched. Fixed versions include 4.14.306, 4.19.273, 5.4.232 and others. If you are running Linux kernel 3.12.30 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-52932 actively exploited?
No — CVE-2023-52932 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Locking (CWE-667)?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. View CWE-667 on MITRE CWE →