Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: vfio: prevent infinite loop in vfio_mig_get_next_state() on blocked arc… (CVE-2026-64474)

0
Medium
Published: 07/25/2026 (07/25/2026, 12:31:37 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's vfio driver caused an infinite loop in the vfio_mig_get_next_state() function when encountering a blocked transition state. This infinite loop occurs because the function's skip loop does not properly handle the ERROR sentinel state, causing the loop condition to remain true indefinitely. The issue can lead to a soft lockup of the system and potentially a kernel panic if softlockup_panic is enabled. The vulnerability has been resolved by terminating the skip loop upon detecting the ERROR sentinel, allowing the function to return an error code instead of looping indefinitely.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:18:11 UTC

Technical Analysis

The Linux kernel vfio driver had a vulnerability in the vfio_mig_get_next_state() function where the skip loop that walks through vfio_from_fsm_table[] failed to account for the ERROR sentinel state (VFIO_DEVICE_STATE_ERROR). Because state_flags_table[ERROR] is ~0U and vfio_from_fsm_table[ERROR][*] is ERROR, once the next_fsm variable becomes ERROR, the loop condition remains true and next_fsm never changes, causing an infinite loop. This infinite loop occurs on blocked transitions such as STOP_COPY -> PRE_COPY and STOP_COPY -> PRE_COPY_P2P, which pass the support check on precopy-capable devices but map to ERROR, resulting in the driver state mutex being held indefinitely. This can cause a system soft lockup and potentially a kernel panic if configured. The fix terminates the skip loop when the ERROR sentinel is detected, allowing the function to return -EINVAL and avoid the infinite loop.

Potential Impact

The vulnerability can cause the Linux kernel to enter an infinite loop while holding a driver state mutex, leading to a system soft lockup. If the kernel is configured with softlockup_panic enabled, this condition can trigger a kernel panic, causing a denial of service. No information about remote code execution or privilege escalation is provided.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid workloads or device configurations that trigger the blocked transitions in vfio_mig_get_next_state(). Monitor vendor channels for updates and apply the official fix once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-67fj-9v49-3ch9
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64474"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a6542079c2644c7f8082712

Added to database: 07/25/2026, 23:08:55 UTC

Last enriched: 07/25/2026, 23:18:11 UTC

Last updated: 07/26/2026, 04:52:05 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses