Skip to main content

Loop with Unreachable Exit Condition ('Infinite Loop')


Severity Low
Score 3.2/10


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.

  • LOW
  • NONE
  • NONE
  • HIGH
  • NONE
  • LOW

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.

Advisory Timeline

  • Published