KernelScan.io

HIGH Introduced in 5.7

hv VMBus UAF

CVE-2026-99216

CVSS 8.4 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

KernelScan AI8.4HIGH

01

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.

02

Engine v0.10.0

Risk summary

Hyper-V guests running Linux are at risk when the host sends malicious VMBus messages during connection setup or driver unload. A compromised host can trigger a use-after-free in the guest kernel, leading to memory disclosure, corruption, and kernel panic. The vulnerability requires no guest privileges and is reachable whenever the Hyper-V integration services are active.

Affecteddrivers/hv/connection.c, drivers/hv/vmbus_drv.c (Hyper-V VMBus driver)

Vulnerability analysis

The Linux kernel's Hyper-V VMBus driver incorrectly resets the connection state to 'disconnected' before cleaning up the connection during error handling or driver unload. This prevents the cleanup routine from recognizing an active connection, so it skips the actual teardown. As a result, the Hyper-V host can continue sending messages to the guest after the guest has freed internal resources like workqueues, leading to use-after-free memory corruption. The fix removes the premature state reset, allowing the cleanup to proceed normally when a connection exists. This vulnerability can be exploited by a compromised or malicious Hyper-V host sending crafted VMBus protocol messages during guest boot or driver unload; no privileges inside the guest are required.

03

BranchIntroducedFixed inPatch commit
4.194.19.1184.202939215d57bc
5.105.75.10.2732e5ffbf1e41a
5.155.75.15.2242732210132f9
5.45.4.355.5a0ae955ba9a5
5.65.6.75.7deef3ab5129a
6.15.76.1.191f47ce27af80b
6.125.76.12.115ec31dc39e835
6.185.76.18.59—
6.65.76.6.1613195546a377c
7.25.77.2.13—
mainline5.77.3—
cip/6.125.76.12.117-cip352732210132f9

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.117-cip35
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip137)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip137-rt51)