Linux Kernel
CVE-2023-6931
HIGH
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
4DescriptionNVD
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.
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 (
Same weakness CWE-787 – Out-of-bounds Write
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today