CVE-2023-5717 in Linux Kernel and 25 more products
A heap out-of-bounds write vulnerability in the Linux kernel's Linux Kernel Performance Events (perf) component can be exploited to achieve local privilege escalation. If perf_read_group() is called while an event's sibling_list is smaller than its child's sibling_list, it can increment or write to memory locations outside of the allocated buffer. We recommend upgrading past commit 32671e3799ca2e4590773fd0e63aaa4229e50c06.
Affects 26 products from 2 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | 6.6 ≥ 3.2.95, < 3.3 ≥ 3.16.50, < 3.17 ≥ 4.4, < 4.14.328 ≥ 4.4, < 6.6 ≥ 4.15, < 4.19.297+5 more≥ 4.20, < 5.4.259 ≥ 5.5, < 5.10.199 ≥ 5.11, < 5.15.137 ≥ 5.16, < 6.1.60 ≥ 6.2, < 6.5.9 |
| Siemens | SCALANCE WAM763-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WAM766-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WUM763-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WUM766-1 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7DA0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7DB0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7TA0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7TB0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-3DA0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-3DB0 (device and firmware) | < 3.0.0 |
| Siemens | SIMATIC S7-1500 Tm Mfp (device and firmware) | < 1.1 |
| Siemens | SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0) | < 3.0.0 |
| Siemens | SCALANCE WUB762-1 (6GK5762-1AJ00-1AA0) | < 3.0.0 |
| Siemens | SCALANCE WUB762-1 iFeatures (6GK5762-1AJ00-2AA0) | < 3.0.0 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Scalance Wab762-1 Firmware | < 3.0.0 |
| Siemens | Scalance Wub762-1 Firmware | < 3.0.0 |
| Siemens | Scalance Wub762-1 Ifeatures Firmware | < 3.0.0 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- SIMATIC S7-1500 TM MFP - GNU/Linux subsystem: Update to V1.1 or later version
Source: ICSA-23-166-11
- SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version
Source: ICSA-23-348-10
- SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 more: Update to V3.0.0 or later version
Source: ICSA-25-044-09
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-5717 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-262152-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-10-25 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict access controls and monitoring for the perf subsystem to detect and prevent unauthorized usage. Regularly update the kernel to the latest version to include the necessary security patches.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.