QID 355358

Date Published: 2023-06-07

QID 355358: Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2023-019

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. (
( CVE-2023-2235)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2KERNEL-5.15-2023-019 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355358

    Software Advisories
    Advisory ID Software Component Link
    ALAS2KERNEL-5.15-2023-019 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASKERNEL-5.15-2023-019.html