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

Published Sep 2, 2023
·
Updated

A flaw was found in pfnswapentrytopage 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 pmdt x.

Other sources

A flaw was found in the Linux Kernel's memory management subsytem. In this flaw, A task is exiting and releasing 2MB page in a vma (vmareastruct) and hits the BUG statement in pfnswapentrytopage() referencing pmdt x.

208 static inline struct page pfnswapentrytopage(swpentryt entry) 209 { <omit> 216 BUGON(ismigrationentry(entry) && !PageLocked(p)); <-----

It finds the entry is of type SWPMIGRATIONREAD and the page is not locked, Another task is calling migratepages() on the same addresses and has just completed with the above pmdt x and is moving to pmdt x+1 in trytounmapone().

Red Hat

Linux Kernel is vulnerable to a denial of service, caused by a race condition between task migrating pages and another task calling exitmmap to release those same pages getting invalid opcode BUG in include/linux/swapops.h in the memory management subsytem. A local authenticated attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

13 affected componentsFixes available
redhat/Kernel<5.14
5.14
Linux Linux kernel<=5.13.19
redhat Enterprise Linux=8.0
redhat Codeready Linux Builder=8.0
redhat Codeready Linux Builder For Arm64=8.0_aarch64
redhat Codeready Linux Builder For Power Little Endian=8.0_ppc64le
redhat Enterprise Linux For Arm 64=8.0_aarch64
redhat Enterprise Linux For Ibm Z Systems=8.0_s390x
redhat Enterprise Linux For Power Little Endian=8.0_ppc64le
redhat Enterprise Linux For Real Time=8.0
redhat Enterprise Linux For Real Time For Nfv=8.0
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2

Event History

Oct 3, 2023
CVE Published
via MITRE·04:55 PM
Data Sourced
via MITRE·04:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-4732?

The severity of CVE-2023-4732 is medium with a CVSS score of 4.7.

2

What is the affected software for CVE-2023-4732?

The affected software for CVE-2023-4732 includes the Linux Kernel version up to and including 5.13.19, and Redhat Enterprise Linux 8.0.

3

How can an attacker exploit CVE-2023-4732?

An attacker with local user privilege can exploit CVE-2023-4732 by causing a denial of service problem through a BUG statement referencing pmd_t x in the Linux Kernel's memory management subsystem.

4

How can I fix CVE-2023-4732?

To fix CVE-2023-4732, update your Linux Kernel to version 5.14 or apply the appropriate remedy provided by Redhat.

5

Where can I find more information about CVE-2023-4732?

You can find more information about CVE-2023-4732 in the references provided: [1](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2236982#c1), [2](https://bugzilla.redhat.com/show_bug.cgi?id=2236982), [3](https://access.redhat.com/security/cve/CVE-2023-4732)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203