CVE-2022-49098

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

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 23, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5e059fc0f054309036d3f612bc8b0a502ca58545 to before 6b4c0149a56147b29169e07000d566162892722aAffected
  • 9f38f7b46de0747c1909e8c557aa21715dce20c5 to before 2133c422a103cf7c7768c37b9ac382e73b691892Affected
  • 74347a99e73ae00b8385f1209aaea193c670f901 to before cf580d2e3884dbafd6b90269b03a24d661578624Affected
  • 74347a99e73ae00b8385f1209aaea193c670f901 to before dcd6b1a624c0ffa21034d8b1e02e9d068458f596Affected
  • 74347a99e73ae00b8385f1209aaea193c670f901 to before 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2Affected
  • 74347a99e73ae00b8385f1209aaea193c670f901 to before 3d0078f8bddd58d9bb1ad40bbe929f8633abb276Affected
  • 74347a99e73ae00b8385f1209aaea193c670f901 to before 792f232d57ff28bbd5f9c4abe0466b23d5879dc8Affected
  • caeeb3787167c884b955404a7e669fd77f267e44Affected
  • 4.19.118 to before 4.19.238Affected
  • 5.4.35 to before 5.4.189Affected
  • 5.6.7 to before 5.7Affected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 4.19.238 through 4.19.*Not affected
  • 5.4.189 through 5.4.*Not affected
  • 5.10.111 through 5.10.*Not affected
  • 5.15.34 through 5.15.*Not affected
  • 5.16.20 through 5.16.*Not affected
  • 5.17.3 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.