CVE-2023-5717
Out-of-bounds write in Linux kernel's Linux Kernel Performance Events (perf) component
Reported by google · Published October 25, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf | Amazon Linux | 6.1.61-85.141.amzn2023 |
| kernel-livepatch-6.1.61-85.141 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2 |
| kernel-tools-devel | Amazon Linux | 6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2 |
| kernel-modules-extra | Amazon Linux | 6.1.61-85.141.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.61-85.141.amzn2023 |
| perf | Amazon Linux | 6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2 |
| kernel-libbpf-static | Amazon Linux | 6.1.61-85.141.amzn2023 |
| kernel | Amazon Linux | 6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2 |
| kernel-livepatch-4.14.328-248.540 | Amazon Linux | 1.0-0.amzn2 |
| kernel-tools | Amazon Linux | 6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2 |
| python-perf | Amazon Linux | 4.14.328-248.540.amzn2 |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Kernel | 4.4 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.61-85.141 | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2 | perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | kernel-livepatch-4.14.328-248.540 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-tools | 0 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| amazon:2023 | bpftool | 0 |
…and 10 more
Timeline
- Oct 25, 2023 CVE Published
- Oct 26, 2023 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 17, 2026 Security Advisory (55 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (50 in total, the first dated here)
- Jul 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-5717
vulnetix vdb fixes CVE-2023-5717
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-5717/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart