Use After Free Affecting torvalds/linux package, versions [,6.3-rc3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-5500420
  • published9 May 2023
  • disclosed15 Mar 2023
  • creditUnknown

Introduced: 15 Mar 2023

CVE-2023-2235  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 6.3-rc3 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. 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 for exploitation.

CVSS Base Scores

version 3.1