# mm/swapfile: add cond_resched() in get_swap_pages()

CVE record · `CVE-2023-52932`

- **Identifiers:** `CVE-2023-52932`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-667](https://cwe.mitre.org/data/definitions/667.html)
- **Tags:** [CWE-667](https://agentprime.io/advisories/tag/cwe-667.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Mar 2025
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Mar 2025, 16:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `adfab836f4908deb049a5128082719e689eed964 to before 29f0349c5c76b627fe06b87d4b13fa03a6ce8e64` (git)
  - affected: `adfab836f4908deb049a5128082719e689eed964 to before 387217b97e99699c34e6d95ce2b91b327fcd853e` (git)
  - affected: `adfab836f4908deb049a5128082719e689eed964 to before d49c85a1913385eed46dd16a25ad0928253767f0` (git)
  - affected: `adfab836f4908deb049a5128082719e689eed964 to before 30187be29052bba9203b0ae2bdd815e0bc2faaab` (git)
  - affected: `adfab836f4908deb049a5128082719e689eed964 to before 5dbe1ebd56470d03b78fc31491a9e4d433106ef2` (git)
  - affected: `adfab836f4908deb049a5128082719e689eed964 to before 49178d4d61e78aed8c837dfeea8a450700f196e2` (git)
  - affected: `adfab836f4908deb049a5128082719e689eed964 to before 7717fc1a12f88701573f9ed897cc4f6699c661e3` (git)
  - affected: `75b1f2d3ed3169675b69b2f68217ebb839414657` (git)
  - affected: `bcbfe6fdf8576a545fafdfe4611f59cc6b166589` (git)
  - affected: `3.12.30 to before 3.13` (semver)
  - affected: `3.14.21 to before 3.15` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.16`
  - unaffected: `before 3.16` (semver)
  - unaffected: `4.14.306 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.273 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.232 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.168 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.93 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.11 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 10th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 27 Mar 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-52932](https://www.cve.org/CVERecord?id=CVE-2023-52932)
- [NVD: CVE-2023-52932](https://nvd.nist.gov/vuln/detail/CVE-2023-52932)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-52932>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-52932/>. Everything for agents: <https://agentprime.io/llms.txt>.
