{"id":"CVE-2026-89909","published":"2026-09-16T10:32:07Z","modified":"2026-10-19T08:54:42Z","title":"LoongArch: KVM: Free init resources if kvm_init() fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Free init resources if kvm_init() fails\n\nkvm_loongarch_init() calls kvm_loongarch_env_init() to allocate the\nper-CPU kvm_context (vmcs) and kvm_loongarch_ops and to register the\nperf callbacks, and then calls kvm_init(). If kvm_init() fails its\nresult is returned directly, but since module_init() does not run the\nmodule_exit() stuff on failure, so kvm_loongarch_env_exit() is never\ncalled and those resources are leaked.\n\nSo call kvm_loongarch_env_exit() when kvm_init() fails, matching the\nteardown-on-failure pattern used by riscv_kvm_init().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00209,"percentile":0.10935,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6bbbd7b719233645a5c120557a9ca1422e6b7a48","tags":[]},{"url":"https://git.kernel.org/stable/c/6b78786ee7260d9818cf1d7a245b7a655ef83076","tags":[]},{"url":"https://git.kernel.org/stable/c/3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc","tags":[]},{"url":"https://git.kernel.org/stable/c/f7a1064cce3b100b54780c68529176232d8eb01e","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.19}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2bd6ac68726131da32ace9717aa63ff68cf6605c, < 6bbbd7b719233645a5c120557a9ca1422e6b7a48",">= 2bd6ac68726131da32ace9717aa63ff68cf6605c, < 6b78786ee7260d9818cf1d7a245b7a655ef83076",">= 2bd6ac68726131da32ace9717aa63ff68cf6605c, < 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc",">= 2bd6ac68726131da32ace9717aa63ff68cf6605c, < f7a1064cce3b100b54780c68529176232d8eb01e"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"euvd":{"id":"EUVD-2026-80509","exploited":false,"provenance":"source"}}