Out-of-bounds write in Linux kernel's Performance Events system component
Summary
| CVE | CVE-2023-6931 |
|---|---|
| State | PUBLISHED |
| Assigner | |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-12-19 14:15:08 UTC |
| Updated | 2026-05-12 11:16:18 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7 HIGH from [email protected]
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.002370000 probability, percentile 0.466670000 (date 2026-05-12)
Problem Types: CWE-787 | CWE-787 CWE-787 Out-of-bounds Write
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Kernel | affected 4.3 6.7 custom | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | unaffected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b | af854a3a-2127-422b-91ae-364da2661108 | kernel.dance | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| [SECURITY] [DLA 3711-1] linux-5.10 security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| perf: Fix perf_event_validate_size() - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| cert-portal.siemens.com/productcert/html/ssa-613116.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-794697.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| lists.debian.org/debian-lts-announce/2024/01/msg00004.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Budimir Markovic (en)
Legacy QID Mappings
- 161479 Oracle Enterprise Linux Security Update for kernel (ELSA-2024-1607)
- 200065 Ubuntu Security Notification for Linux kernel (AWS) Vulnerabilities (USN-6603-1)
- 200067 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6602-1)
- 200068 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6608-1)
- 200070 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6606-1)
- 200072 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6604-1)
- 200074 Ubuntu Security Notification for Linux kernel (Azure) Vulnerabilities (USN-6607-1)
- 200076 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6609-1)
- 200077 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6605-1)
- 200079 Ubuntu Security Notification for Linux kernel (Azure) Vulnerabilities (USN-6604-2)
- 200080 Ubuntu Security Notification for Linux kernel (KVM) Vulnerabilities (USN-6605-2)
- 200088 Ubuntu Security Notification for Linux kernel (NVIDIA) Vulnerabilities (USN-6609-2)
- 200096 Ubuntu Security Notification for Linux kernel (Oracle) Vulnerabilities (USN-6609-3)
- 200103 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6628-1)
- 200112 Ubuntu Security Notification for Linux kernel (NVIDIA) Vulnerabilities (USN-6608-2)
- 200113 Ubuntu Security Notification for Linux kernel (GCP) Vulnerabilities (USN-6635-1)
- 200118 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6628-2)
- 242941 Red Hat Update for kernel (RHSA-2024:0930)
- 242985 Red Hat Update for kernel (RHSA-2024:1018)
- 242986 Red Hat Update for kernel-rt (RHSA-2024:1019)
- 243087 Red Hat Update for kernel (RHSA-2024:1404)
- 243160 Red Hat Update for kernel security (RHSA-2024:1607)
- 243167 Red Hat Update for kernel-rt (RHSA-2024:1614)
- 357055 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2024-047
- 357057 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2024-035
- 357071 Amazon Linux Security Advisory for kernel : ALAS-2024-1912
- 357089 Amazon Linux Security Advisory for kernel : ALAS2-2024-2443
- 379435 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2024:0012)
- 379614 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-2024:0017)
- 6000418 Debian Security Update for linux (DSA 5593-1)
- 6000419 Debian Security Update for linux (DSA 5594-1)
- 6000428 Debian Security Update for linux-5.10 (DLA 3711-1)
- 6000429 Debian Security Update for linux (DLA 3710-1)
- 6140378 AWS Bottlerocket Security Update for kernel (GHSA-pqf7-r638-84pj)
- 673321 EulerOS Security Update for kernel (EulerOS-SA-2024-1337)
- 673547 EulerOS Security Update for kernel (EulerOS-SA-2024-1315)
- 673714 EulerOS Security Update for kernel (EulerOS-SA-2024-1196)
- 673723 EulerOS Security Update for kernel (EulerOS-SA-2024-1237)
- 673902 EulerOS Security Update for kernel (EulerOS-SA-2024-1176)
- 673992 EulerOS Security Update for kernel (EulerOS-SA-2024-1215)
- 673995 EulerOS Security Update for kernel (EulerOS-SA-2024-1275)
- 755604 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0129-1)
- 755605 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0120-1)
- 755606 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0117-1)
- 755607 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0115-1)
- 907801 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (32264-1)
- 941650 AlmaLinux Security Update for kernel (ALSA-2024:1607)
- 961147 Rocky Linux Security Update for kernel (RLSA-2024:1607)
- 961150 Rocky Linux Security Update for kernel-rt (RLSA-2024:1614)