CVE-2026-99251

Drivers: hv: Avoid infinite retry loop in init_vp_index()

Published Nov 3, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

Drivers: hv: Avoid infinite retry loop in init_vp_index()

There is a retry loop in init_vp_index() where the CPUs from a certain
node are stripped out if they have already been in the allocated cpumask
or not in HK_TYPE_MANAGED_IRQ housekeeping cpumask. If there is no
CPU left, the allocated cpumask is ignored and the process is retried
again. However, if the HK_TYPE_MANAGED_IRQ housekeeping cpumask turns
out not to contain any CPU in that particular node, that will become an
infinite retry loop. This particular problem was reported by sashiko
[1]. This should rarely happen, but we still need to guard against this.

Fix this infinite loop problem by also skipping NUMA node that has no
housekeeping CPU in the inner while loop of init_vp_index(). Also update
the early abort check to check for the absence of online housekeeping
CPUs instead of just the emptiness of the cpumask. As the outer for
loop will only be reached if the housekeeping cpumask has at least one
online CPU, a NUMA node with housekeeping CPUs will eventually be found.

Analysis

AI-generated

Technical impact

The Linux kernel contains a logic flaw in the hypervisor driver init_vp_index() function that causes an infinite retry loop when a NUMA node has no housekeeping CPU in its cpumask. In this scenario, the kernel repeatedly attempts to allocate CPUs, never finds a suitable node, and becomes stuck, effectively hanging the system. This issue can lead to a loss of availability as the kernel stalls during initialization or during normal operation if the faulty path is exercised.

Affected Systems

All Linux kernel implementations that include the unpatched init_vp_index() routine are potentially affected. The vulnerability exists in any kernel version released before the patch that removes the infinite loop logic. No specific distribution or version is singled out, so all distributions using the affected kernel codebase are at risk.

Risk and Exploitability

The CVSS score is not provided, and the EPSS score is not available; the vulnerability is not listed in CISA KEV. Because the flaw is triggered during kernel initialization and depends on internal scheduler state rather than external input, it is considered a local, system-wide denial of service rather than a remotely exploitable attack. The risk remains high due to the potential for a complete system lock‑up, but the likelihood of exploitation depends on the presence of the rare CPU‑mask condition that drives the infinite loop. Current guidance is to treat the vulnerability as a critical local issue that warrants priority patching.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel update that includes the patch for init_vp_index()
  • Ensure that each NUMA node’s housekeeping cpumask contains at least one online CPU, adjusting the cpumask if necessary
  • Reboot the system after the kernel update or cpumask adjustment to complete initialization and recover from any lingering loop condition

Generated by OpenCVE AI on November 3, 2026 at 12:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9166-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-730
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: Avoid infinite retry loop in init_vp_index() There is a retry loop in init_vp_index() where the CPUs from a certain node are stripped out if they have already been in the allocated cpumask or not in HK_TYPE_MANAGED_IRQ housekeeping cpumask. If there is no CPU left, the allocated cpumask is ignored and the process is retried again. However, if the HK_TYPE_MANAGED_IRQ housekeeping cpumask turns out not to contain any CPU in that particular node, that will become an infinite retry loop. This particular problem was reported by sashiko [1]. This should rarely happen, but we still need to guard against this. Fix this infinite loop problem by also skipping NUMA node that has no housekeeping CPU in the inner while loop of init_vp_index(). Also update the early abort check to check for the absence of online housekeeping CPUs instead of just the emptiness of the cpumask. As the outer for loop will only be reached if the housekeeping cpumask has at least one online CPU, a NUMA node with housekeeping CPUs will eventually be found.
Title Drivers: hv: Avoid infinite retry loop in init_vp_index()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 3, 2026, 11:18 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 3, 2026, 12:17 PM
Modified
Nov 3, 2026, 12:17 PM