Loop with Unreachable Exit Condition ('Infinite Loop')
An infinite loop flaw was found in the USB "xHCI" controller emulation of QEMU, while computing the length of the Transfer Request Block (TRB) Ring. This flaw allows a privileged guest user to hang the QEMU process on the host, resulting in a denial of service. This vulnerability affects QEMU version prior to 7.1.0-rc3.
CWE-835 - Loop with Unreachable Exit Condition
Loops with multiple exits and flags detract from the quality of an application. They tend to make control structures difficult to understand, and introduce the risk of non-termination and other structural problems. The vulnerability “loop with unreachable exit condition” enables attackers to exploit this flaw, leading to denial of service.