Linux Kernel Race Condition Vulnerability in Performance Event Handling

Vulnerability

A race condition vulnerability has been identified in the Linux kernel's performance event handling. This issue arises in the 'perf_event_overflow' function, where interrupts should be disabled to prevent conflicts with the 'perf_remove_from_context' function. The vulnerability allows 'perf_event_exit_event' to free resources that 'perf_event_overflow' relies on, such as the BPF program. The problem occurs because software events can trigger 'perf_event_overflow' with only preemption disabled, leaving it vulnerable to interference.

Impact

Exploitation of this vulnerability can lead to a race condition that disrupts the normal handling of performance events, potentially causing inconsistencies or errors in event processing.

Reproduction

The vulnerability can be reproduced by creating a performance event that is configured to generate overflow conditions, such as a software event that is only preemption-disabled. This can be done by setting up a BPF program that interacts with performance events and allows 'perf_event_exit_event' to remove the event while it is being processed, creating a race condition.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed.

Added: Mar 20, 2026, 9:21 AM
Updated: Mar 20, 2026, 9:21 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
7.5
exploitability
3.9
remediation
7.7
relevance
4.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.