Linux Kernel
CVE-2023-6931
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged local shell
-
DeliveryCall perf_event_open with crafted group config
-
ExploitTrigger read_size integer overflow in perf_read_group()
-
ExecutionHeap out-of-bounds write corrupts kernel object
-
PersistOverwrite credential or function pointer
-
ImpactExecute arbitrary code as root
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | A low-privileged local user account on the target system is required (PR:L per CVSS vector) - remote unauthenticated exploitation is not possible. The perf_event_open syscall must be accessible to unprivileged users: on systems where kernel.perf_event_paranoid is set to 3 (common in hardened CIS benchmarks), unprivileged access is blocked and this vulnerability cannot be triggered. Default values of perf_event_paranoid vary by distribution - Debian and many upstream defaults allow unprivileged use, making default installations exploitable. Attack complexity is High (AC:H), meaning the attacker must additionally satisfy heap layout or timing prerequisites beyond basic access - reliable exploitation likely requires system-specific tuning. No user interaction from any victim is required (UI:N). Container environments that do not restrict the perf_event_open syscall via seccomp are also at risk if kernel namespace isolation is insufficient. |
| Impact | The CVSS 7.0 score with vector AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects the risk profile. Local access with low privileges is required, but the AC:H rating signals that reliable exploitation demands non-trivial heap layout manipulation or timing precision - this is not a push-button exploit. The full C:H/I:H/A:H impact triad is warranted given that successful kernel heap exploitation yields complete system compromise. EPSS at 0.44% (63rd percentile) shows this is above the median in relative terms but represents a very low absolute exploitation rate, consistent with the technical difficulty and absence of a public POC in the referenced data. There is no CISA KEV listing. The highest residual risk applies to multi-tenant environments where untrusted local users exist - shared hosting, CI/CD runners, container platforms with weak perf_event isolation, and embedded Linux appliances (as evidenced by Siemens advisories). Hardened systems with kernel.perf_event_paranoid=3 are not exploitable via this path. |
| Exploit ScenarioDerived | A low-privileged local user with shell access constructs a malicious perf_event group configuration designed to trigger the read_size integer overflow in perf_read_group(). Through careful heap grooming - allocating and freeing kernel objects to position a high-value target adjacent to the overflowed buffer - the attacker corrupts a kernel credential structure or function pointer, escalating from a regular user account to root. No public POC is referenced in the available data, and AC:H in the CVSS vector confirms this requires non-trivial exploitation precision. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Local privilege escalation in the Linux kernel's Performance Events subsystem exposes any system permitting unprivileged perf_event_open calls to full kernel compromise. The root cause is an integer overflow in the read_size calculation within perf_read_group(), producing a heap out-of-bounds increment or write (CWE-787) that can corrupt kernel data structures. No active exploitation is confirmed via CISA KEV, and EPSS at 0.44% (63rd percentile) indicates moderate relative interest but low absolute exploitation probability, consistent with the high attack complexity required.
RemediationAI
The primary fix is upgrading the Linux kernel past commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b, available at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b and mirrored at https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b. The patch is available from vendor per the intelligence data, though no specific tagged kernel release version is independently confirmed in the provided references. Debian LTS users should apply the January 2024 updates from https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html. Siemens customers must consult the relevant product advisory at cert-portal.siemens.com for their specific platform. As an effective compensating control where patching is not immediately feasible, setting sysctl kernel.perf_event_paranoid=3 disables perf_event_open for unprivileged users entirely, eliminating the attack surface; the trade-off is loss of non-root performance monitoring capability. Alternatively, seccomp profiles that block the perf_event_open syscall in container workloads reduce exposure without system-wide impact.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Linux kernel's Performance Events subsystem (perf_events), accessed via the perf_event_open syscall, enables hardware and software performance monitoring. The vulnerable path in perf_read_group() computes a read_size value that can overflow, causing subsequent heap memory writes to exceed allocated buffer boundaries - a classic CWE-787 Out-of-bounds Write. This class of flaw in kernel heap space can be exploited via heap grooming to overwrite adjacent kernel objects (e.g., cred structures, function pointers), enabling privilege escalation. Per CPE data, all Linux kernel versions are listed as affected (cpe:2.3:o:linux:linux_kernel:*), and Debian Linux 10.0 (Buster) is explicitly confirmed. Siemens has issued four separate CERT advisories (SSA-265688, SSA-398330, SSA-613116, SSA-794697) indicating downstream impact on industrial products shipping vulnerable kernel versions. The fix was coordinated and reported by Google's security team (cve-coordination@google.com).
Know when Debian Linux gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local-only access via perf_event_open, PR:L for required user account, AC:H for heap grooming prerequisites; full kernel compromise justifies C:H/I:H/A:H.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
A heap out-of-bounds write vulnerability in the Linux kernel's Performance Events system component can be exploited to achieve local privilege escalation.
A perf_event's read_size can overflow, leading to an heap out-of-bounds increment or write in perf_read_group().
We recommend upgrading past commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b.
Executive ViewAI
Linux kernel's Performance Events subsystem contains a local privilege escalation vulnerability (CVE-2023-6931) enabling unprivileged users to escalate to kernel level, creating acute risk for organizations operating developer environments, build systems, or multi-tenant Linux infrastructure. Organizations with active local user populations face unauthorized kernel compromise if unpatched. A vendor patch is available and should be prioritized for immediate deployment.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Affected Products (CPE)NVD
More in Debian Linux
View allApache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o
The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB