CVE-2023-2235

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:58

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20230609-0002/ -
References () https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd0815f632c24878e325821943edccc7fde947a2 - Mitigation, Patch () https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd0815f632c24878e325821943edccc7fde947a2 - Mitigation, Patch
References () https://kernel.dance/fd0815f632c24878e325821943edccc7fde947a2 - Patch () https://kernel.dance/fd0815f632c24878e325821943edccc7fde947a2 - Patch

25 Aug 2023, 15:24

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*

28 Jun 2023, 21:15

Type Values Removed Values Added
References
  • {'url': 'https://security.netapp.com/advisory/ntap-20230609-0002/', 'name': 'https://security.netapp.com/advisory/ntap-20230609-0002/', 'tags': [], 'refsource': 'MISC'}

09 Jun 2023, 08:15

Type Values Removed Values Added
References
  • (MISC) https://security.netapp.com/advisory/ntap-20230609-0002/ -

Information

Published : 2023-05-01 13:15

Updated : 2024-11-21 07:58


NVD link : CVE-2023-2235

Mitre link : CVE-2023-2235

CVE.ORG link : CVE-2023-2235


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free