CVE-2023-6931

HIGH

Linux Kernel 4.3-6.7 - Heap Out-of-bounds Write in Performance Events System

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2023-6931. PoCs published by K0n9-log.

AI-analyzed exploit summary The repository contains a functional PoC for CVE-2023-6931, demonstrating a heap buffer overflow in the Linux kernel's `perf_event` subsystem due to an integer overflow in `read_size` when handling group events. The exploit creates a large number of sibling events to trigger the overflow, leading to a kernel panic.

Description

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.

Exploits (1)

nomisec WORKING POC 2 stars
by K0n9-log · poc
https://github.com/K0n9-log/CVE-2023-6931

The repository contains a functional PoC for CVE-2023-6931, demonstrating a heap buffer overflow in the Linux kernel's `perf_event` subsystem due to an integer overflow in `read_size` when handling group events. The exploit creates a large number of sibling events to trigger the overflow, leading to a kernel panic.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (with CONFIG_PERF_EVENTS enabled)
No auth needed
Prerequisites: perf_event_paranoid <= 1 · ulimit -n >= 4100 · CONFIG_PERF_EVENTS enabled
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.8
EPSS 0.0072
EPSS Percentile 49.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (3)
debian/debian_linux 10.0
Linux/Kernel 4.3 - 6.7
linux/linux_kernel 4.3 - 6.7
Published Dec 19, 2023
Tracked Since Feb 18, 2026