CVE-2023-6931
Out-of-bounds write in Linux kernel's Performance Events system component
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.
INFO
Published Date :
Dec. 19, 2023, 2:15 p.m.
Last Modified :
Feb. 13, 2025, 6:16 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected kernel packages.
- Apply relevant kernel-livepatch updates if available.
Public PoC/Exploit Available at Github
CVE-2023-6931 has a 2 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-6931
.
URL | Resource |
---|---|
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b | Mailing List Patch |
https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b | Patch |
https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html | Mailing List Third Party Advisory |
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b | Mailing List Patch |
https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b | Patch |
https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html | Mailing List Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-6931
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-6931
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CVE-2023-6931 kernel panic PoC
C
A collection of links related to Linux kernel security and exploitation
linux-kernel kernel-exploitation exploit privilege-escalation security
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-6931
vulnerability anywhere in the article.

-
Daily CyberSecurity
Linux Kernel Vulnerability Exposes Local Systems to Privilege Escalation, PoC Published
A security researcher has recently disclosed technical details and proof-of-concept (PoC) exploit code for a vulnerability in the Linux kernel’s Performance Events system component. This flaw, identif ... Read more
The following table lists the changes that have been made to the
CVE-2023-6931
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Feb. 13, 2025
Action Type Old Value New Value Changed 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. 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. -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b Added Reference https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b Added Reference https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html Added Reference https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Feb. 01, 2024
Action Type Old Value New Value Removed CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 11, 2024
Action Type Old Value New Value Added Reference Google Inc. https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html [No types assigned] -
CVE Modified by [email protected]
Jan. 11, 2024
Action Type Old Value New Value Added Reference Google Inc. https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html [No types assigned] -
Initial Analysis by [email protected]
Dec. 28, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b Mailing List, Patch Changed Reference Type https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b No Types Assigned https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b Patch Added CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.3 up to (excluding) 6.7 -
CVE Received by [email protected]
Dec. 19, 2023
Action Type Old Value New Value Added 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. Added Reference Google Inc. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b [No types assigned] Added Reference Google Inc. https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b [No types assigned] Added CWE Google Inc. CWE-787 Added CVSS V3.1 Google Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Scoring Details
Base CVSS Score: 7.8
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.18 }} -0.00%
score
0.39774
percentile