CVE-2023-2235CWE-416

CVE-2023-2235

High · published May 1, 2023

CVSS v3.1
7.8
EPSS
0%
Percentile
15.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00250 · 15.4th percentile
Weakness
CWE-416 · Use After Free
Published
2023-05-01T17:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.13, < 5.15.1045.15.104
linux/linux_kernel≥ 5.16, < 6.1.216.1.21
linux/linux_kernel≥ 6.2, < 6.2.86.2.8
References (5)
EPSS history
Timeline
  • 01 MAY 12:51Z
    Use-after-free in Linux kernel's Performance Events subsystem
    cvelistv5