Race Condition Affecting torvalds/linux package, versions [,5.7.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (32nd 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-3005075
  • published26 Jan 2022
  • disclosed28 Nov 2020
  • creditUnknown

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 torvalds/linux to version 5.7.3 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition. 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.

References

CVSS Base Scores

version 3.1