CVE-2023-2235Use After Free in Kernel

CWE-416Use After Free19 documents9 sources
Severity
7.8HIGHNVD
OSV6.5OSV5.5OSV4.7
EPSS
0.0%
top 97.51%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 1
Latest updateFeb 14

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 fd0815f632c24878e325821943ed

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages7 packages

CVEListV5linux/linux_kernel5.136.3
NVDlinux/linux_kernel5.135.15.104+2
Debianlinux/linux_kernel< 6.1.25-1+2
Ubuntulinux/linux_kernel< 5.15.0-79.86
debiandebian/linux< linux 6.1.25-1 (bookworm)

Patches

🔴Vulnerability Details

7
OSV
linux-oem-6.0 vulnerabilities2023-09-19
OSV
linux-azure-fde-5.15 vulnerabilities2023-09-06
OSV
linux-azure, linux-azure-5.15, linux-azure-fde vulnerabilities2023-08-31
OSV
linux-gcp-5.15, linux-gke, linux-gke-5.15, linux-gkeop, linux-gkeop-5.15 vulnerabilities2023-08-28
OSV
linux, linux-aws, linux-aws-5.15, linux-gcp, linux-hwe-5.15, linux-ibm, linux-intel-iotg, linux-intel-iotg-5.15, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-nvidia, linux-oracle, lin2023-08-17

📋Vendor Advisories

10
Palo Alto
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS2024-02-14
Ubuntu
Linux kernel (OEM) vulnerabilities2023-09-19
Ubuntu
Linux kernel (Azure CVM) vulnerabilities2023-09-06
Ubuntu
Linux kernel (Azure) vulnerabilities2023-08-31
Ubuntu
Linux kernel vulnerabilities2023-08-28

💬Community

1
Bugzilla
CVE-2023-2235 kernel: use-after-free vulnerability in the perf_group_detach function of the Linux Kernel Performance Events2023-05-02
CVE-2023-2235 — Use After Free in Linux Kernel | cvebase