Use-after-free in Linux kernel's Performance Events subsystem

Summary

CVECVE-2023-2235
StatePUBLISHED
AssignerGoogle
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-05-01 13:15:44 UTC
Updated2026-08-07 19:17:32 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-416 | CWE-416 CWE-416 Use After Free


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux Kernel affected 5.13 6.3 custom Not specified

References

ReferenceSourceLinkTags
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mitigation, Patch
CVE-2023-2235 Linux Kernel Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
kernel.dance/fd0815f632c24878e325821943edccc7fde947a2 af854a3a-2127-422b-91ae-364da2661108 kernel.dance Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Budimir Markovic (en)

Legacy QID Mappings

  • 160806 Oracle Enterprise Linux Security Update for kernel (ELSA-2023-3723)
  • 160859 Oracle Enterprise Linux Security Update for kernel (ELSA-2023-4517)
  • 182346 Debian Security Update for linux (CVE-2023-2235)
  • 199422 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6175-1)
  • 199437 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6186-1)
  • 199670 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6300-1)
  • 199764 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6385-1)
  • 241732 Red Hat Update for kpatch-patch (RHSA-2023:3705)
  • 241733 Red Hat Update for kernel (RHSA-2023:3723)
  • 241740 Red Hat Update for kernel-rt (RHSA-2023:3708)
  • 241823 Red Hat Update for kernel (RHSA-2023:4137)
  • 241830 Red Hat Update for kernel-rt (RHSA-2023:4138)
  • 241927 Red Hat Update for kernel-rt (RHSA-2023:4541)
  • 241936 Red Hat Update for kernel (RHSA-2023:4517)
  • 242151 Red Hat Update for kernel security (RHSA-2023:5627)
  • 355178 Amazon Linux Security Advisory for kernel : ALAS2023-2023-148
  • 355358 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2023-019
  • 755851 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2023:2646-1)
  • 906906 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (26389-1)
  • 941166 AlmaLinux Security Update for kernel (ALSA-2023:3723)
  • 941167 AlmaLinux Security Update for kernel-rt (ALSA-2023:3708)
  • 941227 AlmaLinux Security Update for kernel (ALSA-2023:4517)
  • 941228 AlmaLinux Security Update for kernel-rt (ALSA-2023:4541)
  • 961032 Rocky Linux Security Update for kernel (RLSA-2023:4517)
  • 961046 Rocky Linux Security Update for kernel-rt (RLSA-2023:4541)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report