{"id":"CVE-2022-49098","summary":"Drivers: hv: vmbus: Fix potential crash on module unload","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nDrivers: hv: vmbus: Fix potential crash on module unload\n\nThe vmbus driver relies on the panic notifier infrastructure to perform\nsome operations when a panic event is detected. Since vmbus can be built\nas module, it is required that the driver handles both registering and\nunregistering such panic notifier callback.\n\nAfter commit 74347a99e73a (\"x86/Hyper-V: Unload vmbus channel in hv panic callback\")\nthough, the panic notifier registration is done unconditionally in the module\ninitialization routine whereas the unregistering procedure is conditionally\nguarded and executes only if HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE capability\nis set.\n\nThis patch fixes that by unconditionally unregistering the panic notifier\nin the module's exit routine as well.","modified":"2026-03-20T12:22:10.328912Z","published":"2025-02-26T01:54:50.073Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49098.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2133c422a103cf7c7768c37b9ac382e73b691892"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d0078f8bddd58d9bb1ad40bbe929f8633abb276"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b4c0149a56147b29169e07000d566162892722a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/792f232d57ff28bbd5f9c4abe0466b23d5879dc8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf580d2e3884dbafd6b90269b03a24d661578624"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dcd6b1a624c0ffa21034d8b1e02e9d068458f596"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49098.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49098"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5e059fc0f054309036d3f612bc8b0a502ca58545"},{"fixed":"6b4c0149a56147b29169e07000d566162892722a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9f38f7b46de0747c1909e8c557aa21715dce20c5"},{"fixed":"2133c422a103cf7c7768c37b9ac382e73b691892"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"74347a99e73ae00b8385f1209aaea193c670f901"},{"fixed":"cf580d2e3884dbafd6b90269b03a24d661578624"},{"fixed":"dcd6b1a624c0ffa21034d8b1e02e9d068458f596"},{"fixed":"5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2"},{"fixed":"3d0078f8bddd58d9bb1ad40bbe929f8633abb276"},{"fixed":"792f232d57ff28bbd5f9c4abe0466b23d5879dc8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"caeeb3787167c884b955404a7e669fd77f267e44"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49098.json"}}],"schema_version":"1.7.5"}