CVE-2022-49098

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49098
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49098.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49098
Downstream
Related
Published
2025-02-26T07:00:47Z
Modified
2025-08-09T19:01:29Z
Summary
[none]
Details

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 HVFEATUREGUESTCRASHMSR_AVAILABLE capability is set.

This patch fixes that by unconditionally unregistering the panic notifier in the module's exit routine as well.

References

Affected packages