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

- Severity: High 7.8 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2023-05-01T12:51:25.433Z
- Modified: 2026-08-07T19:17:32.960Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- kernel: from 5.13 before 6.3
- linux linux_kernel: from 5.13 before 5.15.104; from 5.16 before 6.1.21; from 6.2 before 6.2.8

## Every score

- Google: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd0815f632c24878e325821943edccc7fde947a2> (mitigation, patch)
- <https://kernel.dance/fd0815f632c24878e325821943edccc7fde947a2> (patch)
- <https://security.netapp.com/advisory/ntap-20230609-0002/>

## Sources

- CVE List: [CVE-2023-2235](https://www.cve.org/CVERecord?id=CVE-2023-2235), CVE Terms of Use, modified 2026-08-07
- NVD: [CVE-2023-2235](https://nvd.nist.gov/vuln/detail/CVE-2023-2235), Public domain, modified 2026-08-07

---

Page: https://cve.day/CVE-2023-2235 · Whole record: https://cve.day/CVE-2023-2235.json · Rebuilt by cve.day 2026-11-25T22:58:23.840Z
