CVE-2023-2235: Use-after-free in Linux kernel's Performance Events subsystem

Published May 1, 2023
·
Updated

A flaw in the Linux Kernel found. A use-after-free vulnerability in the Linux Kernel Performance Events system can be exploited to achieve local privilege escalation.

The perfgroupdetach function did not check the event's siblings' attachstate before calling addeventtogroups(), but removeonexec made it possible to call listdelevent() on before detaching from their group, making it possible to use a dangling pointer causing a use-after-free vulnerability.

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd0815f632c24878e325821943edccc7fde947a2

Other sources

A use-after-free vulnerability in the Linux Kernel Performance Events system can be exploited to achieve local privilege escalation.

The perfgroupdetach function did not check the event's siblings' attachstate before calling addeventtogroups(), but removeonexec made it possible to call listdelevent() 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.

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by a use-after-free flaw in the perfgroupdetach function in the Performance Events system. By sending a specially crafted request, an authenticated attacker could exploit this vulnerability to gain elevated privileges.

IBM

Affected Software

9 affected componentsFixes available
Linux Linux kernel>=5.13<5.15.104
Linux Linux kernel>=5.16<6.1.21
Linux Linux kernel>=6.2<6.2.8
Linux Linux kernel=6.3-rc1
Linux Linux kernel=6.3-rc2
Linux Linux kernel>=5.13<6.3
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

May 1, 2023
CVE Published
via MITRE·12:51 PM
Data Sourced
via MITRE·12:51 PM
DescriptionSeverityWeakness
May 2, 2023
Data Sourced
via Red Hat·12:05 PM
DescriptionSeverityAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:16 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·02:11 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-2235?

CVE-2023-2235 is classified as a local privilege escalation vulnerability in the Linux Kernel.

2

How do I fix CVE-2023-2235?

To fix CVE-2023-2235, update the Linux Kernel to a patched version such as 5.10.223-1 or 6.1.128-1.

3

Which versions of the Linux Kernel are affected by CVE-2023-2235?

CVE-2023-2235 affects Linux Kernel versions between 5.13 and 6.3, including specific release candidates.

4

What are the potential impacts of exploiting CVE-2023-2235?

Exploiting CVE-2023-2235 could allow an attacker to gain elevated privileges on the affected system.

5

What software components are affected by CVE-2023-2235?

CVE-2023-2235 affects IBM Security Verify Governance, Identity Manager software components and virtual appliances, among other Linux Kernel installations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203