Skip to main content
Network Thinking Solutions Logo

CVE-2023-3640

Kernel: x86/mm: a per-cpu entry area leak was identified through the init_cea_offsets function when prefetchnta and prefetcht2 instructions being used for the per-cpu entry area mapping to the user space

All CVEs
CVE-2023-3640Published 7/24/2023

Kernel: x86/mm: a per-cpu entry area leak was identified through the init_cea_offsets function when prefetchnta and prefetcht2 instructions being used for the per-cpu entry area mapping to the user space

Vendor advisory
CVSS 3.17.0High

Overview

A possible unauthorized memory access flaw was found in the Linux kernel's cpu_entry_area mapping of X86 CPU data to memory, where a user may guess the location of exception stacks or other important data. Based on the previous CVE-2023-0597, the 'Randomize per-cpu entry area' feature was implemented in /arch/x86/mm/cpu_entry_area.c, which works through the init_cea_offsets() function when KASLR is enabled. However, despite this feature, there is still a risk of per-cpu entry area leaks. This issue could allow a local user to gain access to some important data with memory in an expected location and potentially escalate their privileges on the system.

Published
7/24/2023
Last modified
11/27/2026
CVE assigner
redhat
NVD analysis
Modified

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Red Hat Enterprise Linux 6
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 7
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 9
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

access.redhat.com/errata/RHSA-2023:6583vendor-advisory · x_refsource_REDHAT

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.0 · High CVSS 3.1

Scored by redhat

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

7.0 · High CVSS 3.1

Scored by secalert@redhat.com

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

7.8 · High CVSS 3.1

Scored by nvd@nist.gov

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

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2023:6583
vendor-advisory
x_refsource_REDHAT
access.redhat.com/security/cve/CVE-2023-3640
vdb-entry
x_refsource_REDHAT
x_transferred
Third Party Advisory
bugzilla.redhat.com/show_bug.cgi?id=2217523
issue-tracking
x_refsource_REDHAT
x_transferred
Issue Tracking
Third Party Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.