VDB

CVE-2023-2235

CVE-2023-2235 PUBLISHED CVSS 7.8 HIGH

Use-after-free in Linux kernel's Performance Events subsystem

Reported by google · Published May 1, 2023

A use-after-free vulnerability in the Linux Kernel Performance Events system can be exploited to achieve local privilege escalation. The perf_group_detach function did not check the event's siblings' attach_state before calling add_event_to_groups(), but remove_on_exec made it possible to call list_del_event() on before detaching from their group, making it possible to use a dangling pointer causing a use-after-free vulnerability. We recommend upgrading past commit fd0815f632c24878e325821943edccc7fde947a2.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux6.1.21-1.45.amzn2023
kernel-headersAmazon Linux6.1.21-1.45.amzn2023
kernel-libbpf-develAmazon Linux6.1.21-1.45.amzn2023
kernel-libbpfAmazon Linux6.1.21-1.45.amzn2023
kernel-libbpf-staticAmazon Linux6.1.21-1.45.amzn2023
kernelAmazon Linux6.1.21-1.45.amzn2023
kernel-tools-develAmazon Linux6.1.21-1.45.amzn2023
kernel-livepatch-6.1.21-1.45Amazon Linux1.0-0.amzn2023
kernel-develAmazon Linux6.1.21-1.45.amzn2023
python3-perfAmazon Linux6.1.21-1.45.amzn2023
bpftoolAmazon Linux6.1.21-1.45.amzn2023
kernel-toolsAmazon Linux6.1.21-1.45.amzn2023

2 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
LinuxLinux Kernel5.13
amazon:2023perf0
amazon:2023kernel-headers0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-static0
amazon:2023kernel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.21-1.450
amazon:2023kernel-devel0
amazon:2023python3-perf0
LinuxLinux Kernel5.13
amazon:2023bpftool0
amazon:2023kernel-tools0

Timeline

  • May 1, 2023 CVE Published
  • May 2, 2023 EPSS Score (30 in total, the first dated here)
  • Apr 10, 2025 CVE Updated
  • Mar 21, 2026 Distribution Patch (55 in total, the first dated here)
  • Mar 21, 2026 Security Advisory (59 in total, the first dated here)
  • May 19, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-2235
vulnetix vdb fixes CVE-2023-2235

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-2235/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 ›