CVE-2022-49098

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

No CVSS score yet EPSS 0.26%

Published 26 Feb 2025 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2022-49098

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49098 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5e059fc0f054309036d3f612bc8b0a502ca58545, before 6b4c0149a56147b29169e07000d566162892722a
affected from 9f38f7b46de0747c1909e8c557aa21715dce20c5, before 2133c422a103cf7c7768c37b9ac382e73b691892
affected from 74347a99e73ae00b8385f1209aaea193c670f901, before cf580d2e3884dbafd6b90269b03a24d661578624
affected from 74347a99e73ae00b8385f1209aaea193c670f901, before dcd6b1a624c0ffa21034d8b1e02e9d068458f596
affected from 74347a99e73ae00b8385f1209aaea193c670f901, before 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2
affected from 74347a99e73ae00b8385f1209aaea193c670f901, before 3d0078f8bddd58d9bb1ad40bbe929f8633abb276
affected from 74347a99e73ae00b8385f1209aaea193c670f901, before 792f232d57ff28bbd5f9c4abe0466b23d5879dc8
affected caeeb3787167c884b955404a7e669fd77f267e44
affected from 4.19.118, before 4.19.238
affected from 5.4.35, before 5.4.189
affected from 5.6.7, before 5.7
Other versions: unaffected
Linux
affected 5.7
unaffected before 5.7
unaffected from 4.19.238 up to and including 4.19.*
unaffected from 5.4.189 up to and including 5.4.*
unaffected from 5.10.111 up to and including 5.10.*
unaffected from 5.15.34 up to and including 5.15.*
unaffected from 5.16.20 up to and including 5.16.*
unaffected from 5.17.3 up to and including 5.17.*
unaffected 5.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49098 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49098

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49098
trivy image --scanners vuln IMAGE | grep CVE-2022-49098

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49098 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.