Skip to main content

Linux Kernel CVE-2023-6931

HIGH
Out-of-bounds Write (CWE-787)
2023-12-19 cve-coordination@google.com
7.0
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.0 HIGH

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.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 17, 2026 - 14:32 vuln.today
v1 (cvss_changed)
Re-analysis Queued
Aug 17, 2026 - 14:22 vuln.today
cvss_changed
CVSS changed
Aug 17, 2026 - 14:22 NVD
7.8 (HIGH) 7.0 (HIGH)
CVE Published
Dec 19, 2023 - 14:15 cve.org
HIGH 7.8

DescriptionNVD

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.

AnalysisAI

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.

Technical ContextAI

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

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.

CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2017-7494 CRITICAL POC
9.8 May 30

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

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2022-30333 HIGH POC
7.5 May 09

RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

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

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2018-7602 CRITICAL POC
9.8 Jul 19

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (

Share

CVE-2023-6931 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy