Data Corruption and Race Condition in Linux Kernel's KCOV on PREEMPT_RT Systems
CVE-2026-80916
What is CVE-2026-80916?
A vulnerability in the Linux kernel related to KCOV functionality has been identified, primarily affecting PREEMPT_RT configurations. The issue arises when softirq handlers, operating as preemptible tasks, preempt a task executing a remote KCOV session, leading to the overwriting of per-CPU storage areas. This race condition results in the loss of the original task's remote KCOV state, causing data corruption. The fix implements a transition to per-thread storage for temporary data, preventing nested softirq preemption from overwriting task contexts. Additionally, the patch addresses potential kernel crashes related to memory allocation failures, ensuring robust handling of KCOV state management in various operational contexts.
Affected Version(s)
Linux 5ff3b30ab57da82d8db4f14662a2858cabfbc2c0
Linux 5ff3b30ab57da82d8db4f14662a2858cabfbc2c0 < 8ed3ddf23d39bf5338406bd9f8863d44748cf6ce
Linux 5ff3b30ab57da82d8db4f14662a2858cabfbc2c0 < 5dc59fc959b2b5742985d7ef24bccd1868217dc2