CVE-2023-52932

Medium

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.

Package Linux Kernel
Published 2025-03-27
Last modified 2025-10-01
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-667

CVE-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.

Affected from
≥ 3.12.30 ≥ 3.14.21 ≥ 3.16
Fixed in
✓ 4.14.306 4.14.x ✓ 4.19.273 4.19.x ✓ 5.4.232 5.4.x ✓ 5.10.168 5.10.x ✓ 5.15.93 5.15.x ✓ 6.1.11 6.1.x ✓ 6.2

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.

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 →