Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793705161; b=DTqe3AZDehkPIffUva1kvvl4GSmr6ZJehqSQauiNLxbgWLGWMQyHgPMQVN6vSEdK6/CK PVGZ/OcI8KPnh3qOq3X9rFRTuvkDEbGqnkpY4xCQsC1h+4d/Qh8V1ROo3ESseLRkUFXtv YlMEdR1rxvSd814a3uPCpWJ+2mFr/r7t27Gy6d7Fekm0On/UFQwHoTWFMVP/QhESsuUPC hwyHr3ctEWhZQoQ8LviiIP+mRDKh49JoEwJjz/XfGOmRdyoplq8ztN0hZpy60d+xt9ayF UoGd3/gH1AbIDmfgIYTpE30gLsKpNvIgBaqYzvOhXGaoheAsFJB825XVW2kvGNAU0uw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793705161; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=SEnpniKOQlXbcN/2XRBxDl3IwWH2vxumHkcqEDkSWZQ=; b=d9Vka3wN1VjHlSS6+Qidk65ozH06gr8EB74X3TD4zEr5JAh9kLUwPr4TiBbvvSYDbo07 BDbJLZ+17ODV2bGWyxsTEAfpLEfh+MoaC1IKPjDCPXDNOTn+6g+gNORx/76ysfrn+ic4q 2CUmCOGuBWAuZiaqVUUOFtdgbEQJu4feJ0hn241JXt2UUp7umswvEA01LSv1iCmFnkE0q zxAA3lzb31U5Pvmeug2bBwdaaO5Tc9keQv+2WKy+z822kOmIN1mbAtu/fbZ+617pXO8so eM4WjPXAoDKN+gVSXCIMjH5tJLHL+nWX/i4aEFBg850Pw7n1jrPPRPOrKIhrWQ3sZMA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=PwFLHO+i; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C27B7606B108 for ; Tue, 3 Nov 2026 11:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=PwFLHO+i Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14E6C1F00A1A; Tue, 3 Nov 2026 11:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793705160; bh=SEnpniKOQlXbcN/2XRBxDl3IwWH2vxumHkcqEDkSWZQ=; h=From:To:Cc:Subject:Date:Reply-To; b=PwFLHO+iKvWEkzi6K+UhsrVbQamPVr3iq/Su21ph3lzl8YewCn6YzKNyBsTF9U0Ty p1b3I+O4+zSu8LGnH1pgQ/lNB90knTFaGcpBHUVMUZfYIvcEXA5wSzOZDQqXDknAaE CtqmN47OcKrKU5/fHr7zZr9A7H30kypgLOA4CHWQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99251: Drivers: hv: Avoid infinite retry loop in init_vp_index() Date: Tue, 3 Nov 2026 12:18:50 +0100 Message-ID: <2026110345-CVE-2026-99251-90d4@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3687; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I9VrMLqpQ3enp1zKagwClSohQAplI+A3OgBzIVrSwS8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvD4taTot/ZCRoEHDk0sJ//7feMs3rWRS4pDpc7UCzg naR0rWGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI+l8MC3aclUivFuhZP7PA P7j5RMMzMWe2boYFjROLv+x/8yNSa2+y/BuL9K7LT4vEAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99251 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 6640b5df1a38801be6d0595c8cd2177d968d7ee0 and fixed in 6.1.191 with commit b3993f6dc106ff416c7a613c631e1e0af451aed7 Issue introduced in 5.19 with commit 6640b5df1a38801be6d0595c8cd2177d968d7ee0 and fixed in 6.6.161 with commit f561392afb44a8a42c54c1cfd3f33dace0b50537 Issue introduced in 5.19 with commit 6640b5df1a38801be6d0595c8cd2177d968d7ee0 and fixed in 6.12.115 with commit 15dd3429f0e76ca071657e480cb7e6ff3a1af730 Issue introduced in 5.19 with commit 6640b5df1a38801be6d0595c8cd2177d968d7ee0 and fixed in 6.18.59 with commit 7141331f2d245efc07175802a6bf76badec871ed Issue introduced in 5.19 with commit 6640b5df1a38801be6d0595c8cd2177d968d7ee0 and fixed in 7.2.13 with commit 95fec47cdbf747b81ab22affd7252dda6050ad0c Issue introduced in 5.19 with commit 6640b5df1a38801be6d0595c8cd2177d968d7ee0 and fixed in 7.3 with commit 32ea0a33e3a0fb7c10c601b43e1b2f6c06a3f5fd Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99251 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/hv/channel_mgmt.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b3993f6dc106ff416c7a613c631e1e0af451aed7 https://git.kernel.org/stable/c/f561392afb44a8a42c54c1cfd3f33dace0b50537 https://git.kernel.org/stable/c/15dd3429f0e76ca071657e480cb7e6ff3a1af730 https://git.kernel.org/stable/c/7141331f2d245efc07175802a6bf76badec871ed https://git.kernel.org/stable/c/95fec47cdbf747b81ab22affd7252dda6050ad0c https://git.kernel.org/stable/c/32ea0a33e3a0fb7c10c601b43e1b2f6c06a3f5fd