CVE-2022-49098 Drivers: hv: vmbus: Fix potential crash on module unload
A missing unregister call in the Linux kernel vmbus driver causes a crash during module unload, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49098?
CVE-2022-49098 is a medium-severity vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-49098?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49098?
Apply the vendor's patch.
Is CVE-2022-49098 being exploited?
There is no known exploitation of CVE-2022-49098 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49098, GHSA-h5qq-53rf-vmjc, UBUNTU-CVE-2022-49098.