CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Linux

CVE-2023-2235
Linux Kernel vulnerability

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.

Affected products

Linux Kernel. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Linux products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.