Skip to main content

CVE-2023-3640

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.

NVD
Severity: HIGH
CVE ID: CVE-2023-3640
CVSS Score: 7.8
CVSS Metrics: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat, Inc.
Severity: HIGH
CVE ID: CVE-2023-3640
CVSS Score: 7.0
CVSS Metrics: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Refrence: NVDMITRE

Proof Of Concept

pray77

SCTF 2023 kernel pwn && CVE-2023-3640

Refrence: GitHub

Content on GitHub

pwndorei | watchers:0

CVE-2023-36407
PoC - CVE-2023-36407

Refrence: GitHub

zha0 | watchers:0

CVE-2023-36407

Refrence: GitHub