VDB

CVE-2023-5717

CVE-2023-5717 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
python3-perfAmazon Linux6.1.61-85.141.amzn2023
kernel-livepatch-6.1.61-85.141Amazon Linux1.0-0.amzn2023
kernel-headersAmazon Linux6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2
kernel-tools-develAmazon Linux6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2
kernel-modules-extraAmazon Linux6.1.61-85.141.amzn2023
kernel-libbpf-develAmazon Linux6.1.61-85.141.amzn2023
perfAmazon Linux6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2
kernel-libbpf-staticAmazon Linux6.1.61-85.141.amzn2023
kernelAmazon Linux6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2
kernel-livepatch-4.14.328-248.540Amazon Linux1.0-0.amzn2
kernel-toolsAmazon Linux6.1.61-85.141.amzn2023, 4.14.328-248.540.amzn2
python-perfAmazon Linux4.14.328-248.540.amzn2

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxKernel4.4
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.61-85.1410
amazon:2kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-devel0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2perf0
amazon:2023kernel-libbpf-static0
amazon:2023kernel0
amazon:2kernel-tools-devel0
amazon:2kernel-livepatch-4.14.328-248.5400
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel-tools0
amazon:2python-perf0
amazon:2kernel-tools0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
SiemensRUGGEDCOM RST2428P0
amazon:2023bpftool0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›