Out-of-bounds Write Affecting torvalds/linux package, versions [,5.18-rc4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.76% (72nd 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 IDSNYK-UNMANAGED-TORVALDSLINUX-3014225
  • published2 Sept 2022
  • disclosed2 Sept 2022
  • creditUnknown

Introduced: 2 Sep 2022

CVE-2022-2639  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.18-rc4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Given a sufficiently large number of actions, while copying and reserving memory for a new action of a new flow, the reserve_sfa_size() function does not return -EMSGSIZE as expected. This flaw allows a local user to crash or potentially escalate their privileges on the system.

CVSS Base Scores

version 3.1