Time-of-check Time-of-use (TOCTOU) Race Condition Affecting torvalds/linux package, versions [,6.0-rc1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.03% (7th 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-5458969
  • published25 Apr 2023
  • disclosed25 Apr 2023
  • creditUnknown

Introduced: 25 Apr 2023

CVE-2023-2007  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 6.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition. The specific flaw exists within the DPT I2O Controller driver. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this in conjunction with other vulnerabilities to escalate privileges and execute arbitrary code in the context of the kernel.

References

CVSS Base Scores

version 3.1