SB20261023117 - Time-of-check Time-of-use (TOCTOU) Race Condition in Linux kernel keys



SB20261023117 - Time-of-check Time-of-use (TOCTOU) Race Condition in Linux kernel keys

Published: October 23, 2026

Security Bulletin ID SB20261023117
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Data manipulation

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Time-of-check Time-of-use (TOCTOU) Race Condition (CVE-ID: CVE-2026-99040)

CWE-ID: CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to bypass keyring restrictions and link keys that should be rejected.

The vulnerability exists due to a time-of-check time-of-use race condition in __key_create_or_update() when reading the destination keyring's restriction before acquiring its semaphore. A local user can issue an add_key() call with write permission on the destination keyring and race the installation of a reject-all restriction to link a key using a stale restriction snapshot after restriction installation has completed.


Remediation

Install update from vendor's website.