-

CVE-2026-89909

LoongArch: KVM: Free init resources if kvm_init() fails

In the Linux kernel, the following vulnerability has been resolved:

LoongArch: KVM: Free init resources if kvm_init() fails

kvm_loongarch_init() calls kvm_loongarch_env_init() to allocate the
per-CPU kvm_context (vmcs) and kvm_loongarch_ops and to register the
perf callbacks, and then calls kvm_init(). If kvm_init() fails its
result is returned directly, but since module_init() does not run the
module_exit() stuff on failure, so kvm_loongarch_env_exit() is never
called and those resources are leaked.

So call kvm_loongarch_env_exit() when kvm_init() fails, matching the
teardown-on-failure pattern used by riscv_kvm_init().
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 2bd6ac68726131da32ace9717aa63ff68cf6605c
Version < 6bbbd7b719233645a5c120557a9ca1422e6b7a48
Status affected
Version 2bd6ac68726131da32ace9717aa63ff68cf6605c
Version < 6b78786ee7260d9818cf1d7a245b7a655ef83076
Status affected
Version 2bd6ac68726131da32ace9717aa63ff68cf6605c
Version < 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc
Status affected
Version 2bd6ac68726131da32ace9717aa63ff68cf6605c
Version < f7a1064cce3b100b54780c68529176232d8eb01e
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.7
Status affected
Version 0
Version < 6.7
Status unaffected
Version <= 6.12.*
Version 6.12.110
Status unaffected
Version <= 6.18.*
Version 6.18.51
Status unaffected
Version <= 7.2.*
Version 7.2.5
Status unaffected
Version <= *
Version 7.3-rc2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.102
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/6bbbd7b719233645a5c120557a9ca1422e6b7a48
https://git.kernel.org/stable/c/6b78786ee7260d9818cf1d7a245b7a655ef83076
https://git.kernel.org/stable/c/3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc
https://git.kernel.org/stable/c/f7a1064cce3b100b54780c68529176232d8eb01e