CVE-2022-49098

MEDIUM

Linux Kernel - Use-After-Free in vmbus Panic Notifier

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0025
EPSS Percentile 16.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (29)
linux/Kernel < 4.19.238linux
linux/Kernel 4.20.0 - 5.4.189linux
linux/Kernel 5.11.0 - 5.16.20linux
linux/Kernel 5.16.0 - 5.17.3linux
linux/Kernel 5.5.0 - 5.10.111linux
linux/Kernel 5.7.0 - 5.15.34linux
Linux/Linux < 5.7
Linux/Linux 4.19.118 - 4.19.238
Linux/Linux 4.19.238 - 4.19.*
Linux/Linux 5.10.111 - 5.10.*
... and 19 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026