Time of Check Time of Use (TOCTOU) Affecting torvalds/linux package, versions [,5.8.3)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.03% (8th 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-3005570
  • published26 Jan 2022
  • disclosed9 Sept 2020
  • creditUnknown

Introduced: 9 Sep 2020

CVE-2020-25212  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.8.3 or higher.

Overview

Affected versions of this package are vulnerable to Time of Check Time of Use (TOCTOU). A TOCTOU mismatch in the NFS client code in the Linux kernel before 5.8.3 could be used by local attackers to corrupt memory or possibly have unspecified other impact because a size check is in fs/nfs/nfs4proc.c instead of fs/nfs/nfs4xdr.c, aka CID-b4487b935452.

References

CVSS Base Scores

version 3.1