Linux Kernel Indirect Branch Tracker WFE State Management Vulnerability

Vulnerability

A vulnerability in the Linux kernel's handling of the indirect branch tracker (IBT) can lead to a deadlock situation. This issue arises when an indirect branch instruction sets the CPU's IBT into a WAIT_FOR_ENDBRANCH (WFE) state, which is then improperly maintained across instruction boundaries. During the 'kernel IBT no ENDBR' self-test, where #CP faults are intentionally triggered, the WFE state must be cleared to prevent execution from getting stuck in a loop. While the Interrupt Descriptor Table (IDT) does not retain the WFE state, the FRED mechanism does, requiring software to manually clear it. Failure to do so can cause the CPU to repeatedly enter a dead loop, exacerbating the problem.

Impact

This vulnerability can cause the CPU to enter a dead loop, continuously raising 'missing-ENDBRANCH' #CP faults, effectively halting execution.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

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