{"schema_version":"1.9.0","id":"CVE-2023-2235","published":"2023-05-01T12:51:25.433Z","modified":"2026-08-12T03:51:49.090769969Z","related":["ALSA-2023:3708","ALSA-2023:3723","ALSA-2023:4517","ALSA-2023:4541","SUSE-SU-2023:2140-1","SUSE-SU-2023:2141-1","SUSE-SU-2023:2231-1","SUSE-SU-2023:2646-1","SUSE-SU-2023:2809-1","SUSE-SU-2023:2871-1","SUSE-SU-2023:3055-1","SUSE-SU-2023:3063-1","SUSE-SU-2023:3079-1","SUSE-SU-2023:3116-1","SUSE-SU-2023:3153-1"],"summary":"Use-after-free in Linux kernel's Performance Events subsystem","details":"A use-after-free vulnerability in the Linux Kernel Performance Events system can be exploited to achieve local privilege escalation.\n\n\n\nThe 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.\n\n\n\nWe recommend upgrading past commit fd0815f632c24878e325821943edccc7fde947a2.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"62fb9874f5da54fdb243003b386128037319b219"},{"fixed":"457391b0380335d5e9a5babdec90ac53928b23b4"}],"database_specific":{"extracted_events":[{"introduced":"5.13"},{"fixed":"6.3"}],"source":"AFFECTED_FIELD"}}],"versions":["v6.3-rc1","v6.3-rc7","v6.3-rc2","v6.3-rc3","v6.3-rc5","v6.3-rc6","v6.3-rc4","v6.2-rc6","v6.2-rc1","v6.2","v6.2-rc2","v6.2-rc8","v6.2-rc5","v6.2-rc4","v6.2-rc7","v6.2-rc3","v6.1-rc1","v6.1","v6.1-rc8","v6.1-rc3","v6.1-rc6","v6.1-rc7","v6.1-rc4","v6.1-rc2","v6.1-rc5","v6.0-rc1","v6.0","v6.0-rc7","v6.0-rc3","v6.0-rc2","v6.0-rc6","v6.0-rc4","v6.0-rc5","v5.19","v5.19-rc1","v5.19-rc5","v5.19-rc8","v5.19-rc6","v5.18","v5.19-rc2","v5.19-rc7","v5.19-rc3","v5.19-rc4","v5.18-rc1","v5.18-rc7","v5.18-rc2","v5.18-rc5","v5.17","v5.18-rc4","v5.18-rc3","v5.18-rc6","v5.17-rc6","v5.17-rc4","v5.17-rc8","v5.17-rc7","v5.17-rc1","v5.17-rc3","v5.17-rc2","v5.17-rc5","v5.16","v5.16-rc1","v5.16-rc8","v5.16-rc5","v5.16-rc6","v5.16-rc7","v5.16-rc3","v5.16-rc2","v5.16-rc4","v5.15","v5.15-rc2","v5.15-rc1","v5.15-rc4","v5.15-rc7","v5.15-rc3","v5.15-rc5","v5.15-rc6","v5.14","v5.14-rc3","v5.14-rc1","v5.14-rc2","v5.14-rc7","v5.14-rc6","v5.14-rc5","v5.14-rc4","v5.13"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2235.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org"},{"type":"WEB","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd0815f632c24878e325821943edccc7fde947a2"},{"type":"WEB","url":"https://kernel.dance/fd0815f632c24878e325821943edccc7fde947a2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2235.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2235"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230609-0002/"}],"database_specific":{"cna_assigner":"Google","cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2235.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}