Time-of-check Time-of-use (TOCTOU) Race Condition Affecting torvalds/linux package, versions [6.18,6.18.14)[6.19,6.19.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (1st 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-20789219
  • published10 Oct 2026
  • disclosed27 May 2026
  • creditUnknown

Introduced: 27 May 2026

CVE-2026-45927  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 6.18.14, 6.19.4 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition through the bpf_map_get_info_by_fd function. An attacker can cause a trusted loader to verify a stale hash by requesting the hash before the map is frozen and then modifying the map contents prior to freezing, potentially leading to unauthorized verification of altered data.

Note: The Linux kernel project assigns a CVE to every bug fix it ships, whether or not the bug has been shown to be exploitable. This advisory was generated from that process and has not been individually assessed for exploitability. See the kernel's CVE process documentation: https://github.com/torvalds/linux/blob/master/Documentation/process/cve.rst

CVSS Base Scores

version 4.0
version 3.1