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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (26th 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 Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-KERNELTOOLS-1698404
  • 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 kernel-tools 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 kernel-tools package and not the kernel-tools 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