{"id":"CVE-2026-89909","aliases":["CVE-2026-89909"],"related":[],"kind":"vulnerability","state":"published","title":"LoongArch: KVM: Free init resources if kvm_init() fails","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","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().","source":"cvelist"}],"published":"2026-09-16T10:32:07.278Z","modified":"2026-10-19T09:18:36.343Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2bd6ac68726131da32ace9717aa63ff68cf6605c","fixed":"6bbbd7b719233645a5c120557a9ca1422e6b7a48","status":"affected"},{"type":"git","introduced":"2bd6ac68726131da32ace9717aa63ff68cf6605c","fixed":"6b78786ee7260d9818cf1d7a245b7a655ef83076","status":"affected"},{"type":"git","introduced":"2bd6ac68726131da32ace9717aa63ff68cf6605c","fixed":"3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc","status":"affected"},{"type":"git","introduced":"2bd6ac68726131da32ace9717aa63ff68cf6605c","fixed":"f7a1064cce3b100b54780c68529176232d8eb01e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6bbbd7b719233645a5c120557a9ca1422e6b7a48","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b78786ee7260d9818cf1d7a245b7a655ef83076","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7a1064cce3b100b54780c68529176232d8eb01e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89909","url":"https://www.cve.org/CVERecord?id=CVE-2026-89909","licence":"CVE Terms of Use","modified":"2026-10-19T08:54:42.797Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89909","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89909","licence":"Public domain","modified":"2026-10-19T09:18:36.343Z"}],"updatedAt":"2026-11-25T22:59:38.975Z","epss":{"score":0.002,"percentile":0.10334,"date":"2026-12-01T12:00:22.000Z"}}