Skip to content
Fencer Vulns
medium 4.7

CVE-2023-4732 json

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 2023-10-03 3 y ago modified 2026-11-07 43 h ago also EUVD-2023-54580

cvss
4.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 7%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 8 0:4.18.0-513.5.1.el8_9, 0:4.18.0-513.5.1.rt7.307.el8_9
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support 0:4.18.0-372.87.1.el8_6
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support 0:4.18.0-477.36.1.el8_8
  • Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 0:4.18.0-372.87.1.el8_6
  • linux Debian 14, Debian 13, Debian 12 5.14.6-1

debian advisories DEBIAN-CVE-2023-4732

  • perf rhev hypervisor 4.4, RHEL 8.6 EUS 4.18.0-372.87.1.el8_6
  • kernel RHEL 8 4.18.0-513.5.1.el8_9
  • perf RHEL 8 4.18.0-513.5.1.el8_9
  • bpftool RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-core RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-tools RHEL 8 4.18.0-513.5.1.el8_9
  • python3-perf RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-modules RHEL 8 4.18.0-513.5.1.el8_9

red hat advisories RHSA-2024:0412RHSA-2023:7539RHSA-2023:7077RHSA-2023:6901

  • kernel AlmaLinux 8 4.18.0-513.5.1.el8_9
  • perf AlmaLinux 8 4.18.0-513.5.1.el8_9
  • bpftool AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-core AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-tools AlmaLinux 8 4.18.0-513.5.1.el8_9
  • python3-perf AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-modules AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-zfcpdump AlmaLinux 8 4.18.0-513.5.1.el8_9

almalinux advisories ALSA-2023:7077

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-4732 updated cvss 4.7

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

  • Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.5.1.el8_9
    fixed: vendor fix “A possible workaround is disabling Transparent Hugepage” RHSA-2023:7077
  • Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.87.1.el8_6
    fixed: vendor fix “A possible workaround is disabling Transparent Hugepage” RHSA-2024:0412
  • Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-debuginfo-common-x86_64 4.18.0-477.36.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.36.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.36.1.el8_8
    fixed: vendor fix “A possible workaround is disabling Transparent Hugepage” RHSA-2023:7539
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.5.1.el8_9, kernel 4.18.0-513.5.1.el8_9, bpftool 4.18.0-513.5.1.el8_9, kernel-core 4.18.0-513.5.1.el8_9, kernel-tools 4.18.0-513.5.1.el8_9, python3-perf 4.18.0-513.5.1.el8_9, +15 more
    fixed: vendor fix “A possible workaround is disabling Transparent Hugepage” RHSA-2023:7077
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.87.1.el8_6, kernel 4.18.0-372.87.1.el8_6, bpftool 4.18.0-372.87.1.el8_6, kernel-core 4.18.0-372.87.1.el8_6, kernel-tools 4.18.0-372.87.1.el8_6, python3-perf 4.18.0-372.87.1.el8_6, +15 more
    fixed: vendor fix “A possible workaround is disabling Transparent Hugepage” RHSA-2024:0412
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) perf 4.18.0-477.36.1.el8_8, kernel 4.18.0-477.36.1.el8_8, bpftool 4.18.0-477.36.1.el8_8, kernel-core 4.18.0-477.36.1.el8_8, kernel-tools 4.18.0-477.36.1.el8_8, python3-perf 4.18.0-477.36.1.el8_8, +15 more
    fixed: vendor fix “A possible workaround is disabling Transparent Hugepage” RHSA-2023:7539
  • Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules-extra 4.18.0-513.5.1.rt7.307.el8_9, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-kvm 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-kvm 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-core 4.18.0-513.5.1.rt7.307.el8_9, +4 more
    fixed: vendor fix “A possible workaround is disabling Transparent Hugepage” RHSA-2023:6901
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.87.1.el8_6
    fixed: vendor fix “A possible workaround is disabling Transparent Hugepage” RHSA-2024:0412
show 1 more
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
  • Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 9

Classification

Weakness
  • CWE-366 Race Condition within a Thread
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.