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

Summary

CVECVE-2023-4732
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-03 17:15:09 UTC
Updated2026-11-07 14:16:57 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 4.7 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.001830000 probability, percentile 0.079270000 (date 2026-11-08)

Problem Types: CWE-366 | CWE-362 | CWE-366 Race Condition within a Thread


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary4.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1[email protected]Secondary4.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS4.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All
Application Redhat Codeready Linux Builder 8.0 All All All
Application Redhat Codeready Linux Builder For Arm64 8.0_aarch64 All All All
Application Redhat Codeready Linux Builder For Power Little Endian 8.0_ppc64le All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux For Arm 64 8.0_aarch64 All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 8.0_s390x All All All
Operating System Redhat Enterprise Linux For Power Little Endian 8.0_ppc64le All All All
Operating System Redhat Enterprise Linux For Real Time 8.0 All All All
Operating System Redhat Enterprise Linux For Real Time For Nfv 8.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.0-513.5.1.rt7.307.el8_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.0-513.5.1.el8_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support unaffected 0:4.18.0-372.87.1.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support unaffected 0:4.18.0-477.36.1.el8_8 * rpm Not specified
CNA Red Hat Red Hat Virtualization 4 For Red Hat Enterprise Linux 8 unaffected 0:4.18.0-372.87.1.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified

References

ReferenceSourceLinkTags
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
2236982 – (CVE-2023-4732) 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 af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-09-02T00:00:00.000ZReported to Red Hat.
CNA2023-09-02T00:00:00.000ZMade public.

Workarounds

CNA: A possible workaround is disabling Transparent Hugepage

Legacy QID Mappings

  • 161147 Oracle Enterprise Linux Security Update for kernel (ELSA-2023-7077)
  • 242434 Red Hat Update for kernel-rt security (RHSA-2023:6901)
  • 242451 Red Hat Update for kernel security (RHSA-2023:7077)
  • 242521 Red Hat Update for kernel security (RHSA-2023:7539)
  • 242855 Red Hat Update for kernel (RHSA-2024:0412)
  • 941453 AlmaLinux Security Update for kernel (ALSA-2023:7077)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report