CVE-2023-52932
mm/swapfile: add cond_resched() in get_swap_pages()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= adfab836f4908deb049a5128082719e689eed964, < 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64; >= adfab836f4908deb049a5128082719e689eed964, < 387217b97e99699c34e6d95ce2b91b327fcd853e; >= adfab836f4908deb049a5128082719e689eed964, < d49c85a1913385eed46dd16a25ad0928253767f0; >= adfab836f4908deb049a5128082719e689eed964, < 30187be29052bba9203b0ae2bdd815e0bc2faaab; >= adfab836f4908deb049a5128082719e689eed964, < 5dbe1ebd56470d03b78fc31491a9e4d433106ef2; >= adfab836f4908deb049a5128082719e689eed964, < 49178d4d61e78aed8c837dfeea8a450700f196e2; >= adfab836f4908deb049a5128082719e689eed964, < 7717fc1a12f88701573f9ed897cc4f6699c661e3; 75b1f2d3ed3169675b69b2f68217ebb839414657; bcbfe6fdf8576a545fafdfe4611f59cc6b166589; >= 3.12.30, < 3.13; …
- Anyone running Linux 3.16
Vulnerability facts
- Affected
- Linux >= adfab836f4908deb049a5128082719e689eed964, < 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64; >= adfab836f4908deb049a5128082719e689eed964, < 387217b97e99699c34e6d95ce2b91b327fcd853e; >= adfab836f4908deb049a5128082719e689eed964, < d49c85a1913385eed46dd16a25ad0928253767f0; >= adfab836f4908deb049a5128082719e689eed964, < 30187be29052bba9203b0ae2bdd815e0bc2faaab; >= adfab836f4908deb049a5128082719e689eed964, < 5dbe1ebd56470d03b78fc31491a9e4d433106ef2; >= adfab836f4908deb049a5128082719e689eed964, < 49178d4d61e78aed8c837dfeea8a450700f196e2; >= adfab836f4908deb049a5128082719e689eed964, < 7717fc1a12f88701573f9ed897cc4f6699c661e3; 75b1f2d3ed3169675b69b2f68217ebb839414657; bcbfe6fdf8576a545fafdfe4611f59cc6b166589; >= 3.12.30, < 3.13; …; Linux 3.16
- Fixed in
- Linux 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64, Linux 387217b97e99699c34e6d95ce2b91b327fcd853e, Linux 30187be29052bba9203b0ae2bdd815e0bc2faaab, Linux 5dbe1ebd56470d03b78fc31491a9e4d433106ef2, Linux 49178d4d61e78aed8c837dfeea8a450700f196e2, Linux 7717fc1a12f88701573f9ed897cc4f6699c661e3, Linux 3.13
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-667
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= adfab836f4908deb049a5128082719e689eed964, < 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64; >= adfab836f4908deb049a5128082719e689eed964, < 387217b97e99699c34e6d95ce2b91b327fcd853e; >= adfab836f4908deb049a5128082719e689eed964, < d49c85a1913385eed46dd16a25ad0928253767f0; >= adfab836f4908deb049a5128082719e689eed964, < 30187be29052bba9203b0ae2bdd815e0bc2faaab; >= adfab836f4908deb049a5128082719e689eed964, < 5dbe1ebd56470d03b78fc31491a9e4d433106ef2; >= adfab836f4908deb049a5128082719e689eed964, < 49178d4d61e78aed8c837dfeea8a450700f196e2; >= adfab836f4908deb049a5128082719e689eed964, < 7717fc1a12f88701573f9ed897cc4f6699c661e3; 75b1f2d3ed3169675b69b2f68217ebb839414657; bcbfe6fdf8576a545fafdfe4611f59cc6b166589; >= 3.12.30, < 3.13; … | — | cvelist |
| Linux | 3.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52932. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52932.md Affected: Linux >= adfab836f4908deb049a5128082719e689eed964, < 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64; >= adfab836f4908deb049a5128082719e689eed964, < 387217b97e99699c34e6d95ce2b91b327fcd853e; >= adfab836f4908deb049a5128082719e689eed964, < d49c85a1913385eed46dd16a25ad0928253767f0; >= adfab836f4908deb049a512… Fixed in: Linux 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64, Linux 387217b97e99699c34e6d95ce2b91b327fcd853e, Linux 30187be29052bba9203b0ae2bdd815e0bc2faaab, Linux 5dbe1ebd56470d03b78fc31491a9e4d433106ef2, Linux 49178d4d61e78aed8c837dfeea8a450700f196e2, Linux 7717fc1a12f88701573f9ed897cc4f6699c661e3, Linux 3.13 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/29f0349c5c76b627fe06b87d4b13fa03a6ce8e64
- https://git.kernel.org/stable/c/387217b97e99699c34e6d95ce2b91b327fcd853e
- https://git.kernel.org/stable/c/d49c85a1913385eed46dd16a25ad0928253767f0
- https://git.kernel.org/stable/c/30187be29052bba9203b0ae2bdd815e0bc2faaab
- https://git.kernel.org/stable/c/5dbe1ebd56470d03b78fc31491a9e4d433106ef2
- https://git.kernel.org/stable/c/49178d4d61e78aed8c837dfeea8a450700f196e2
- https://git.kernel.org/stable/c/7717fc1a12f88701573f9ed897cc4f6699c661e3
FAQ
Is CVE-2023-52932 being exploited?
There is no confirmed exploitation: CVE-2023-52932 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52932?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52932?
Linux >= adfab836f4908deb049a5128082719e689eed964, < 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64; >= adfab836f4908deb049a5128082719e689eed964, < 387217b97e99699c34e6d95ce2b91b327fcd853e; >= adfab836f4908deb049a5128082719e689eed964, < d49c85a1913385eed46dd16a25ad0928253767f0; >= adfab836f4908deb049a5128082719e689eed964, < 30187be29052bba9203b0ae2bdd815e0bc2faaab; >= adfab836f4908deb049a5128082719e689eed964, < 5dbe1ebd56470d03b78fc31491a9e4d433106ef2; >= adfab836f4908deb049a5128082719e689eed964, < 49178d4d61e78aed8c837dfeea8a450700f196e2; >= adfab836f4908deb049a5128082719e689eed964, < 7717fc1a12f88701573f9ed897cc4f6699c661e3; 75b1f2d3ed3169675b69b2f68217ebb839414657; bcbfe6fdf8576a545fafdfe4611f59cc6b166589; >= 3.12.30, < 3.13; …; Linux 3.16.
Is there a fix for CVE-2023-52932?
Yes. Fixed in Linux 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64, Linux 387217b97e99699c34e6d95ce2b91b327fcd853e, Linux 30187be29052bba9203b0ae2bdd815e0bc2faaab, Linux 5dbe1ebd56470d03b78fc31491a9e4d433106ef2, Linux 49178d4d61e78aed8c837dfeea8a450700f196e2, Linux 7717fc1a12f88701573f9ed897cc4f6699c661e3, Linux 3.13. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-52932?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.