Drivers: hv: vmbus: Fix potential crash on module unload (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.26 % · percentile 17 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
References
- https://git.kernel.org/stable/c/6b4c0149a56147b29169e07000d566162892722a
- https://git.kernel.org/stable/c/2133c422a103cf7c7768c37b9ac382e73b691892
- https://git.kernel.org/stable/c/cf580d2e3884dbafd6b90269b03a24d661578624
- https://git.kernel.org/stable/c/dcd6b1a624c0ffa21034d8b1e02e9d068458f596
- https://git.kernel.org/stable/c/5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2
- https://git.kernel.org/stable/c/3d0078f8bddd58d9bb1ad40bbe929f8633abb276
- https://git.kernel.org/stable/c/792f232d57ff28bbd5f9c4abe0466b23d5879dc8
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-55106
- GCVE · GCVE-0-2022-49098
CERT-FR advisories
- CERTFR-2025-AVI-0336 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0307 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0252 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.19.118 < 4.19.238cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.4.35 < 5.4.189cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.6.7 < 5.7cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.7.1 < 5.10.111cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.34cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.16.20cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.17 < 5.17.3cpe:2.3:o:linux:linux_kernel:5.7:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.7:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.7:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.7:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.7:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.7:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.7:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 5e059fc0f054309036d3f612bc8b0a502ca58545 < 6b4c0149a56147b29169e07000d566162892722a ; affected 9f38f7b46de0747c1909e8c557aa21715dce20c5 < 2133c422a103cf7c7768c37b9ac382e73b691892 ; affected 74347a99e73ae00b8385f1209aaea193c670f901 < cf580d2e3884dbafd6b90269b03a24d661578624 ; affected 74347a99e73ae00b8385f1209aaea193c670f901 < dcd6b1a624c0ffa21034d8b1e02e9d068458f596 ; affected 74347a99e73ae00b8385f1209aaea193c670f901 < 5ea98d0f5f035c1bcf1517ccec0e024ae35a48b2 ; affected 74347a99e73ae00b8385f1209aaea193c670f901 < 3d0078f8bddd58d9bb1ad40bbe929f8633abb276 |
| Linux · Linux | affected 5.7 ; unaffected 0 < 5.7 ; unaffected 4.19.238 ≤ 4.19.* ; unaffected 5.4.189 ≤ 5.4.* ; unaffected 5.10.111 ≤ 5.10.* ; unaffected 5.15.34 ≤ 5.15.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |