CVE-2023-6931
Out-of-bounds write in Linux kernel's Performance Events system component
Reported by google · Published December 19, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 6.1.72-96.166.amzn2023, 4.14.336-255.557.amzn2 |
| python-perf | Amazon Linux | 4.14.336-255.557.amzn2 |
| perf | Amazon Linux | 6.1.72-96.166.amzn2023, 4.14.336-255.557.amzn2 |
| python3-perf | Amazon Linux | 6.1.72-96.166.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.72-96.166.amzn2023, 4.14.336-255.557.amzn2 |
| kernel-modules-extra-common | Amazon Linux | 6.1.72-96.166.amzn2023 |
| kernel | Amazon Linux | 6.1.72-96.166.amzn2023, 4.14.336-255.557.amzn2 |
| kernel-modules-extra | Amazon Linux | 6.1.72-96.166.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.72-96.166.amzn2023, 4.14.336-255.557.amzn2 |
| kernel-headers | Amazon Linux | 6.1.72-96.166.amzn2023, 4.14.336-255.557.amzn2 |
| kernel-libbpf | Amazon Linux | 6.1.72-96.166.amzn2023 |
| kernel-livepatch-6.1.72-96.166 | Amazon Linux | 1.0-0.amzn2023 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | 4.3.0, 4.20.0, 5.5.0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | perf | 0 |
| amazon:2023 | python3-perf | 0 |
| Linux | Linux Kernel | 6.2.0, 5.16.0, 5.11.0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | kernel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-headers | 0 |
…and 12 more
Timeline
- Dec 19, 2023 CVE Published
- Dec 20, 2023 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (29 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 30, 2026 Distribution Patch (93 in total, the first dated here)
- Mar 30, 2026 Security Advisory (95 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-6931
vulnetix vdb fixes CVE-2023-6931
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-6931/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart