CVE-2023-52932 Details
Description
In 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.
A vulnerability in the Linux kernel's memory management can cause a soft lockup, particularly under memory pressure. This issue arises in the 'get_swap_pages()' function, which can be called tens of thousands of times to find available memory space. The problem is exacerbated in systems with high CPU counts and multiple zram devices, leading to frequent out-of-memory conditions. The root cause is the 'plist_for_each_entry_safe()' loops in 'get_swap_pages()', which can become excessively repetitive when 'cond_resched()' is not called, preventing the system from recovering from the lockup.
The vulnerability has been addressed by adding a 'cond_resched()' call in the 'get_swap_pages()' function, allowing the system to recover and preventing the soft lockup.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/29f0349c5c76b627fe06b87d4b13fa03a6ce8e64 | kernel.org | Patch |
| https://git.kernel.org/stable/c/30187be29052bba9203b0ae2bdd815e0bc2faaab | kernel.org | Patch |
| https://git.kernel.org/stable/c/387217b97e99699c34e6d95ce2b91b327fcd853e | kernel.org | Patch |
| https://git.kernel.org/stable/c/49178d4d61e78aed8c837dfeea8a450700f196e2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5dbe1ebd56470d03b78fc31491a9e4d433106ef2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7717fc1a12f88701573f9ed897cc4f6699c661e3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d49c85a1913385eed46dd16a25ad0928253767f0 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-667 | Improper Locking | [email protected] |
| CWE-667 | Improper Locking | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.14.306 >= 4.15, < 4.19.273 >= 4.20, < 5.4.232 >= 5.5, < 5.10.168 >= 5.11, < 5.15.93 >= 5.16, < 6.1.11 6.2 rc1 6.2 rc2 6.2 rc3 6.2 rc4 6.2 rc5 6.2 rc6 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Apr 15, 2025 | Initial Analysis | [email protected] |
| Mar 27, 2025 | New CVE Received | kernel.org |