Race Condition Affecting perf package, versions <0:4.14.232-176.381.amzn2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (25th 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-AMZN2-PERF-1698425
  • published27 Sept 2021
  • disclosed28 Nov 2020

Introduced: 28 Nov 2020

CVE-2020-29374  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perf to version 0:4.14.232-176.381.amzn2 or higher.
This issue was patched in ALAS2-2021-1636.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An issue was discovered in the Linux kernel before 5.7.3, related to mm/gup.c and mm/huge_memory.c. The get_user_pages (aka gup) implementation, when used for a copy-on-write page, does not properly consider the semantics of read operations and therefore can grant unintended write access, aka CID-17839856fd58.

CVSS Scores

version 3.1