CVE Catalog

CVE-2026-89909

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, kvm_loongarch_init() in KVM for LoongArch calls kvm_loongarch_env_init() to allocate resources, then calls kvm_init(). If kvm_init() fails, resources are not freed because module_exit() is not run on module init failure. The fix calls kvm_loongarch_env_exit() when kvm_init() fails.

Risk Assessment

Kernel resource leakage can lead to gradual memory exhaustion and system instability. It affects KVM on LoongArch environments.

Recommendation

Update the Linux kernel to a version containing the fix. Monitor memory usage on LoongArch systems with KVM.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS