CVE-2023-3640 Information disclosure in Red Hat Enterprise Linux 6

High 7.0 Published Updated

A local attacker can leak per-cpu entry area addresses to bypass KASLR, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-3640?

CVE-2023-3640 is a high-severity vulnerability in Linux kernel, published on 24 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-203, CWE-385

Which versions are affected by CVE-2023-3640?

It affects 2 products.

Products include Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2023-3640?

Apply the vendor's patch.

Is CVE-2023-3640 being exploited?

There is no known exploitation of CVE-2023-3640 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-3640, GHSA-g854-mv2r-2r5h, ROOT-OS-DEBIAN-11-CVE-2023-3640, ROOT-OS-DEBIAN-12-CVE-2023-3640, ROOT-OS-DEBIAN-13-CVE-2023-3640, ROOT-OS-UBUNTU-2204-CVE-2023-3640 and 1 more.

Is CVE-2023-3640 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free