CVE-2023-2235

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedMay 1, 2023
First seenMay 1, 2023

How to fix

Update
  • linux linux_kernel5.15.104, 6.1.21, 6.2.8 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.13 ≤ v < 5.15.104, 5.16 ≤ v < 6.1.21, 6.2 ≤ v < 6.2.85.15.104, 6.1.21, 6.2.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.