CWE-368: Context Switching Race Condition

A product performs a series of non-atomic actions to switch between contexts that cross privilege or other security boundaries, but a race condition allows an attacker to modify or misrepresent the product's behavior during the switch.

6 published CVE records name this weakness. Abstraction: Base. Status: Draft. CWE-368 at MITRE

CVETitleCVSSEPSSPublished
CVE-2026-3006 Race Condition Vulnerability 7.0 high 0.13% 27 Apr 2026
CVE-2024-34731 Google Android: Context Switching Race Condition 7.7 high 0.16% 15 Aug 2024
CVE-2022-21806 Anker Eufy Homebase 2: Context Switching Race Condition 10.0 critical 1.79% 17 Jun 2022
CVE-2021-32025 BlackBerry QNX Software Development Platform (SDP), QNX OS for Medical (QOSM), and QNX OS for Safety (QOS): Context Switching Race Condition 8.1 high 0.18% 9 Mar 2022
CVE-2021-21941 n/a Anker: Context Switching Race Condition 10.0 critical 1.68% 12 Oct 2021
CVE-2020-8834 Linux kernel KVM Power8 conflicting use of HSTATE_HOST_R1 6.5 medium 0.35% 9 Apr 2020