CVE-2022-49098

Drivers: hv: vmbus: Fix potential crash on module unload

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:54 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Fix potential crash on module unload The vmbus driver relies on the panic notifier infrastructure to perform some operations when a panic event is detected. Since vmbus can be built as module, it is required that the driver handles both registering and unregistering such panic notifier callback. After commit 74347a99e73a ("x86/Hyper-V: Unload vmbus channel in hv panic callback") though, the panic notifier registration is done unconditionally in the module initialization routine whereas the unregistering procedure is conditionally guarded and executes only if HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE capability is set. This patch fixes that by unconditionally unregistering the panic notifier in the module's exit routine as well.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.6.74.19.118 ≤ v < 4.19.2385.11 ≤ v < 5.15.345.16 ≤ v < 5.16.205.17 ≤ v < 5.17.35.4.35 ≤ v < 5.4.1895.6.7 ≤ v < 5.75.7 ≤ v < 5.10.1115.7 ≤ v < 5.15.345.7 ≤ v < 5.16.205.7 ≤ v < 5.17.35.7 ≤ v < 5.185.7.1 ≤ v < 5.10.1114.19.1185.18 rc15.4.355.6.75.75.7 rc25.7 rc35.7 rc45.7 rc55.7 rc65.7 rc75e059fc0f054309036d3f612bc8b0a502ca5854574347a99e73ae00b8385f1209aaea193c670f9019f38f7b46de0747c1909e8c557aa21715dce20c5caeeb3787167c884b955404a7e669fd77f267e44
Vendor states this is fixed in 2133c422a103cf7c7768c37b9ac382e73b691892 (fixed)
Vendor states this is fixed in 3d0078f8bddd58d9bb1ad40bbe929f8633abb276 (fixed)
Vendor states this is fixed in 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2 (fixed)
Vendor states this is fixed in 6b4c0149a56147b29169e07000d566162892722a (fixed)
Vendor states this is fixed in 792f232d57ff28bbd5f9c4abe0466b23d5879dc8 (fixed)
Vendor states this is fixed in cf580d2e3884dbafd6b90269b03a24d661578624 (fixed)
Vendor states this is fixed in dcd6b1a624c0ffa21034d8b1e02e9d068458f596 (fixed)
Vendor states this is fixed in 4.19.238 (unaffected)
Vendor states this is fixed in 5.10.111 (unaffected)
Vendor states this is fixed in 5.15.34 (unaffected)
Vendor states this is fixed in 5.16.20 (unaffected)
Vendor states this is fixed in 5.17.3 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.189 (unaffected)
Vendor states this is fixed in 5.7 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2133c422a103cf7c7768c37b9ac382e73b691892
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3d0078f8bddd58d9bb1ad40bbe929f8633abb276
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b4c0149a56147b29169e07000d566162892722a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/792f232d57ff28bbd5f9c4abe0466b23d5879dc8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cf580d2e3884dbafd6b90269b03a24d661578624
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dcd6b1a624c0ffa21034d8b1e02e9d068458f596

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card