# CVE-2022-49098: Drivers: hv: vmbus: Fix potential crash on module unload

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-02-26T01:54:50.073Z
- **Modified:** 2026-06-17T05:17:04.450Z

## Who should check

- Anyone running Linux \>= 5e059fc0f054309036d3f612bc8b0a502ca58545, \< 6b4c0149a56147b29169e07000d566162892722a; \>= 9f38f7b46de0747c1909e8c557aa21715dce20c5, \< 2133c422a103cf7c7768c37b9ac382e73b691892; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< cf580d2e3884dbafd6b90269b03a24d661578624; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< dcd6b1a624c0ffa21034d8b1e02e9d068458f596; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 3d0078f8bddd58d9bb1ad40bbe929f8633abb276; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 792f232d57ff28bbd5f9c4abe0466b23d5879dc8; caeeb3787167c884b955404a7e669fd77f267e44; \>= 4.19.118, \< 4.19.238; \>= 5.4.35, \< 5.4.189; …
- Anyone running Linux 5.7

## 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 and fixed versions

- Linux: \>= 5e059fc0f054309036d3f612bc8b0a502ca58545, \< 6b4c0149a56147b29169e07000d566162892722a; \>= 9f38f7b46de0747c1909e8c557aa21715dce20c5, \< 2133c422a103cf7c7768c37b9ac382e73b691892; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< cf580d2e3884dbafd6b90269b03a24d661578624; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< dcd6b1a624c0ffa21034d8b1e02e9d068458f596; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 3d0078f8bddd58d9bb1ad40bbe929f8633abb276; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 792f232d57ff28bbd5f9c4abe0466b23d5879dc8; caeeb3787167c884b955404a7e669fd77f267e44; \>= 4.19.118, \< 4.19.238; \>= 5.4.35, \< 5.4.189; … (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49098. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49098.md
Affected: Linux >= 5e059fc0f054309036d3f612bc8b0a502ca58545, < 6b4c0149a56147b29169e07000d566162892722a; >= 9f38f7b46de0747c1909e8c557aa21715dce20c5, < 2133c422a103cf7c7768c37b9ac382e73b691892; >= 74347a99e73ae00b8385f1209aaea193c670f901, < cf580d2e3884dbafd6b90269b03a24d661578624; >= 74347a99e73ae00b8385f12…
Fixed in: Linux 6b4c0149a56147b29169e07000d566162892722a, Linux 2133c422a103cf7c7768c37b9ac382e73b691892, Linux 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2, Linux 3d0078f8bddd58d9bb1ad40bbe929f8633abb276, Linux 792f232d57ff28bbd5f9c4abe0466b23d5879dc8, Linux 4.19.238, Linux 5.4.189

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49098 being exploited?

There is no confirmed exploitation: CVE-2022-49098 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49098?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49098?

Linux \>= 5e059fc0f054309036d3f612bc8b0a502ca58545, \< 6b4c0149a56147b29169e07000d566162892722a; \>= 9f38f7b46de0747c1909e8c557aa21715dce20c5, \< 2133c422a103cf7c7768c37b9ac382e73b691892; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< cf580d2e3884dbafd6b90269b03a24d661578624; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< dcd6b1a624c0ffa21034d8b1e02e9d068458f596; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 3d0078f8bddd58d9bb1ad40bbe929f8633abb276; \>= 74347a99e73ae00b8385f1209aaea193c670f901, \< 792f232d57ff28bbd5f9c4abe0466b23d5879dc8; caeeb3787167c884b955404a7e669fd77f267e44; \>= 4.19.118, \< 4.19.238; \>= 5.4.35, \< 5.4.189; …; Linux 5.7.

### Is there a fix for CVE-2022-49098?

Yes. Fixed in Linux 6b4c0149a56147b29169e07000d566162892722a, Linux 2133c422a103cf7c7768c37b9ac382e73b691892, Linux 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2, Linux 3d0078f8bddd58d9bb1ad40bbe929f8633abb276, Linux 792f232d57ff28bbd5f9c4abe0466b23d5879dc8, Linux 4.19.238, Linux 5.4.189. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49098?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6b4c0149a56147b29169e07000d566162892722a>
- patch: <https://git.kernel.org/stable/c/2133c422a103cf7c7768c37b9ac382e73b691892>
- patch: <https://git.kernel.org/stable/c/cf580d2e3884dbafd6b90269b03a24d661578624>
- patch: <https://git.kernel.org/stable/c/dcd6b1a624c0ffa21034d8b1e02e9d068458f596>
- patch: <https://git.kernel.org/stable/c/5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2>
- patch: <https://git.kernel.org/stable/c/3d0078f8bddd58d9bb1ad40bbe929f8633abb276>
- patch: <https://git.kernel.org/stable/c/792f232d57ff28bbd5f9c4abe0466b23d5879dc8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49098>

HTML: <https://flawdb.com/CVE-2022-49098> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49098>
