# 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

- Severity: High 7.0 (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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-02)
- Published: 2023-07-24T15:19:29.983Z
- Modified: 2026-11-27T05:09:03.550Z
- Weaknesses: CWE-203, CWE-385
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- kernel: no versions given
- kernel-rt: no versions given
- linux linux_kernel: no versions given
- redhat enterprise_linux: 8.0; 9.0

## Every score

- redhat: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2023:6583> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-3640> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2217523> (issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2023-3640](https://www.cve.org/CVERecord?id=CVE-2023-3640), CVE Terms of Use, modified 2026-11-27
- NVD: [CVE-2023-3640](https://nvd.nist.gov/vuln/detail/CVE-2023-3640), Public domain, modified 2026-11-27

---

Page: https://cve.day/CVE-2023-3640 · Whole record: https://cve.day/CVE-2023-3640.json · Rebuilt by cve.day 2026-11-27T05:22:09.128Z
