CVE Catalog

CVE-2023-2235

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

16th percentile - higher than 16% of all known CVEs

Summary

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() before detaching from their group, leading to a dangling pointer.

Risk Assessment

An attacker with local access can escalate privileges to root, potentially leading to full system compromise.

Recommendation

Upgrade the Linux kernel to a version containing the fix (commit fd0815f632c24878e325821943edccc7fde947a2).

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS