PT-2026-64695 · Linux · Linux
CVE-2026-64474
·
Publicado
2026-07-25
·
Atualizado
2026-07-25
Nenhuma
Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
vfio: prevent infinite loop in vfio mig get next state() on blocked arc
vfio mig get next state() walks vfio from fsm table[] one step at a time,
looping to skip optional states the device does not support until
*next fsm is supported. A blocked transition is encoded as
VFIO DEVICE STATE ERROR, which the trailing return reports as -EINVAL.
The skip loop does not account for the ERROR sentinel.
state flags table[ERROR] is ~0U and vfio from fsm table[ERROR][*] is
ERROR, so once *next fsm becomes ERROR the loop condition stays true and
*next fsm never changes. The blocked arcs STOP COPY -> PRE COPY and
STOP COPY -> PRE COPY P2P map to ERROR yet pass the support check on a
precopy-capable device, causing the loop to spin forever while holding
the driver state mutex. This can result in a soft lockup, and a panic
with softlockup panic set.
Terminate the skip loop on the ERROR sentinel so a blocked transition
falls through to the existing return and reports -EINVAL.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux