Drivers: hv: Don't reset VMBus connection state on error/exit paths (Linux Linux)

CVE-2026-99216
HIGH 8.4

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 74347a99e73ae00b8385f1209aaea193c670f901 < 2939215d57bc8e4189290544fca78f3809ac3ef8
affected : ≥ 74347a99e73ae00b8385f1209aaea193c670f901 < a0ae955ba9a5067a157ebb8defb4a0a9cb1fc304
affected : ≥ 74347a99e73ae00b8385f1209aaea193c670f901 < deef3ab5129ae4c45662c957cdab3739eb047fb1
affected : ≥ 74347a99e73ae00b8385f1209aaea193c670f901 < 2e5ffbf1e41abbf6e02ce28115107938f55ff646
affected : ≥ 74347a99e73ae00b8385f1209aaea193c670f901 < 2732210132f92aca0622b5134027990a809279d5
affected : ≥ 74347a99e73ae00b8385f1209aaea193c670f901 < f47ce27af80b87cc684d5c12b65506af498ac7e5
affected : ≥ 74347a99e73ae00b8385f1209aaea193c670f901 < 3195546a377c2d8d176d837e8baad5ce15d11195
affected : ≥ 74347a99e73ae00b8385f1209aaea193c670f901 < ec31dc39e835ccde0930daccece8c492d28282fc
affected : 5e059fc0f054309036d3f612bc8b0a502ca58545
affected : 9f38f7b46de0747c1909e8c557aa21715dce20c5
affected : caeeb3787167c884b955404a7e669fd77f267e44
affected : ≥ 4.19.118 < 4.20
affected : ≥ 5.4.35 < 5.5
affected : ≥ 5.6.7 < 5.7
Other versions : unaffected
Linux · Linux
affected : 5.7
unaffected : ≥ 0 < 5.7
unaffected : ≥ 5.10.273 ≤ 5.10.*
unaffected : ≥ 5.15.224 ≤ 5.15.*
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.161 ≤ 6.6.*
unaffected : ≥ 6.12.115 ≤ 6.12.*
unaffected : ≥ 6.18.59 ≤ 6.18.*
unaffected : ≥ 7.2.13 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD