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=1793187765; b=MMKDPvUXk+0o8XXF03JwCHsNJGr6E4jap70EHNye3mQS23DR7bfB3LG+RCh6pfg8TqjB X0Dgc6dBSxiKevVtvHLiNyyhjTDSsNi/aoLktEsxX21gmxzjY6fPufP+pj/Rjqv0FZMwo 3jUvaEVHPBUpvBkZ9nGHflEW2p/svws+n9NMWCoNsueqoZ2jGZ5zx7G0zMKmBAg/LlK3u mlvJohsmB1RTrgzGumt45wFlJAXJ0GKTq5m7vf9AkJxz3x4u0wnmSnWUsvhAOCt79hCdP BMvC4GwtrN1wc258pJSPBsctQouuoTe90AkC6tHcm/sQQRsOokAALTBO2tSxxDk1AbQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187765; 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=AEHcM8WY/CD1ErVj2HlbNCCXTE5q6LvIUj59hsM5bF0=; b=waR8gmlJUuR+VMOakiOJmZ3a5zQ7SEIwKZ0SZoBrsphZl5ey26D/IAWC4HTyJrJWCtDF 2pB8Xti7B56Mp0ta2Kj2ZyMTJeiT/5BzKctGfzzJPWRYYZtcHhtsBXjml2wE46q6TpmN6 Ay2EyjFuGANl5Ky7zlZVRcd4W/Vln1/zJjgbyGGjP12gOU9/AUdVSTaSxzeY9rxQpK3iL q9nYLFuq55vZ2KrUN6aheasEWh3EuMR+KVQpG4ukkhx26XniYA61bAPSRtVRErUVdK6CB kXc/3RK9rcOahfTZGFRQ21qBK8pdYbXMxYFZmRsvZz41uKv97h3SX+wgnKvBv4uJ/xw== 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=q4DPae7L; 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 7C359606A31A for ; Wed, 28 Oct 2026 11:42:45 +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=q4DPae7L Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90D571F01825; Wed, 28 Oct 2026 11:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187765; bh=AEHcM8WY/CD1ErVj2HlbNCCXTE5q6LvIUj59hsM5bF0=; h=From:To:Cc:Subject:Date:Reply-To; b=q4DPae7Lw1RHM4dKy27WtNUaXnIt9ReID3uBsPJt+YkBv+4u5WiDv5RVJQskSftYm UQwF0maFb7DkFZSlVUUAeNhwPtlvxO5ngIzeuXCzumVgePFr2u+jItWf2/vO13tz1B 9urDYE+BAcSiIUjQmXDx4v/q4YEIWi5jf9ioPrqQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99216: Drivers: hv: Don't reset VMBus connection state on error/exit paths Date: Wed, 28 Oct 2026 11:36:43 +0100 Message-ID: <2026102817-CVE-2026-99216-947c@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=3294; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+6vvCJZIaTHGZvbJU/NEitlpOd6RgX9fwhiEmXhwu0k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPzz/9sYu/7HIp68nI3JLz5Wsn58yzSYo03LpLZe6xo s+SgsouHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRc7UMc2XCKtS0Djg227WZ 1vrt5Dn56vuOawwLlqYaq2ozZm7Kcv18RWL6vO2anQudAA== 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: Don't reset VMBus connection state on error/exit paths In two places, current code forces vmbus_connection.conn_state to DISCONNECTED prior to calling vmbus_disconnect(). But vmbus_disconnect() calls vmbus_initiate_unload(), which unloads the VMBus connection only if the conn_state is CONNECTED. Consequently, the connection remains and the Hyper-V host might continue to send messages or post VMBus interrupts. The problem was introduced in commit 74347a99e73ae ("x86/Hyper-V: Unload vmbus channel in hv panic callback"), in that vmbus_initiate_unload() started checking the current connection state before doing the unload. This commit removed some occurrences where conn_state was forced to DISCONNECTED, but these two remained, apparently due to an oversight at the time. Fix this by not forcing conn_state to DISCONNECTED during VMBus exit, or if a failure occurs when establishing the connection in the first place. Whatever value conn_state has at the time is then read by vmbus_initiate_unload() to determine if there is a connection to be unloaded. The Linux kernel CVE team has assigned CVE-2026-99216 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 74347a99e73ae00b8385f1209aaea193c670f901 and fixed in 6.18.59 with commit f47ce27af80b87cc684d5c12b65506af498ac7e5 Issue introduced in 5.7 with commit 74347a99e73ae00b8385f1209aaea193c670f901 and fixed in 7.2.13 with commit 3195546a377c2d8d176d837e8baad5ce15d11195 Issue introduced in 5.7 with commit 74347a99e73ae00b8385f1209aaea193c670f901 and fixed in 7.3 with commit ec31dc39e835ccde0930daccece8c492d28282fc Issue introduced in 4.19.118 with commit 5e059fc0f054309036d3f612bc8b0a502ca58545 Issue introduced in 5.4.35 with commit 9f38f7b46de0747c1909e8c557aa21715dce20c5 Issue introduced in 5.6.7 with commit caeeb3787167c884b955404a7e669fd77f267e44 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-99216 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/connection.c drivers/hv/vmbus_drv.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/f47ce27af80b87cc684d5c12b65506af498ac7e5 https://git.kernel.org/stable/c/3195546a377c2d8d176d837e8baad5ce15d11195 https://git.kernel.org/stable/c/ec31dc39e835ccde0930daccece8c492d28282fc