Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
Race Condition
A race condition is a fundamental vulnerability class 1 where the security or correctness of a system depends on the relative timing of events across concurrent execution paths.
Manifestations
Race conditions emerge when security-sensitive values can be modified between validation and use across multiple CPUs or threads 2. They require specific execution interleaving to trigger 3, making them notoriously difficult to detect and reproduce. Scheduler tweaks or code changes may pass local testing but surface only under NUMA workloads or production conditions months after deployment 4.
Consequences
The impact ranges across multiple severity levels:
- Privilege escalation 5
- Arbitrary code execution
- Arbitrary file overwrite
- Execution failure
- Financial loss through concurrent allocation without atomic guarantees, enabling double-spend attacks
Classification
Race conditions are classified under CWE-362, a base-level weakness in the vulnerability taxonomy.
Context
Race conditions are particularly dangerous in multi-threaded-systems and systems with multiple CPUs or cores where memory operations lack proper synchronization. The vulnerability often involves time-of-check-time-of-use (TOCTOU) patterns, though the underlying issue is broader: any gap between a security decision and its enforcement across concurrent execution contexts creates exploitable windows.
In the news 5
- ZDI-26-681: Linux Kernel FUSE Subsystem Race Condition Local Privilege Escalation Vulnerability · Zero Day Initiative
- Linux eBPF Security Fixes Stop Interpreter Paths From Changing During Program Launch · LinuxSecurity: Articles
- Testing race conditions with memory access tracing and stack-based delay injection · Google Project Zero
- The New Rules for AI-Assisted Contributions: Ownership is Not Optional · LinuxSecurity: Features
- Mak's Weekly Security Roundup: Linux Security Priorities This Week · LinuxSecurity: Features
Sign in for the full story cards: summaries, tags and starring.