# CVE-2026-89909: LoongArch: KVM: Free init resources if kvm\_init() fails

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-16T10:32:07.278Z
- **Modified:** 2026-10-19T09:18:36.343Z

## Who should check

- Anyone running Linux \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 6bbbd7b719233645a5c120557a9ca1422e6b7a48; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 6b78786ee7260d9818cf1d7a245b7a655ef83076; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< f7a1064cce3b100b54780c68529176232d8eb01e
- Anyone running Linux 6.7

## Description

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

## Affected and fixed versions

- Linux: \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 6bbbd7b719233645a5c120557a9ca1422e6b7a48; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 6b78786ee7260d9818cf1d7a245b7a655ef83076; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< f7a1064cce3b100b54780c68529176232d8eb01e (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89909. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89909.md
Affected: Linux >= 2bd6ac68726131da32ace9717aa63ff68cf6605c, < 6bbbd7b719233645a5c120557a9ca1422e6b7a48; >= 2bd6ac68726131da32ace9717aa63ff68cf6605c, < 6b78786ee7260d9818cf1d7a245b7a655ef83076; >= 2bd6ac68726131da32ace9717aa63ff68cf6605c, < 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc; >= 2bd6ac68726131da32ace97…
Fixed in: Linux 6bbbd7b719233645a5c120557a9ca1422e6b7a48, Linux 6b78786ee7260d9818cf1d7a245b7a655ef83076, Linux 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89909 being exploited?

There is no confirmed exploitation: CVE-2026-89909 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89909?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89909?

Linux \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 6bbbd7b719233645a5c120557a9ca1422e6b7a48; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 6b78786ee7260d9818cf1d7a245b7a655ef83076; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc; \>= 2bd6ac68726131da32ace9717aa63ff68cf6605c, \< f7a1064cce3b100b54780c68529176232d8eb01e; Linux 6.7.

### Is there a fix for CVE-2026-89909?

Yes. Fixed in Linux 6bbbd7b719233645a5c120557a9ca1422e6b7a48, Linux 6b78786ee7260d9818cf1d7a245b7a655ef83076, Linux 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89909?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6bbbd7b719233645a5c120557a9ca1422e6b7a48>
- other: <https://git.kernel.org/stable/c/6b78786ee7260d9818cf1d7a245b7a655ef83076>
- other: <https://git.kernel.org/stable/c/3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc>
- other: <https://git.kernel.org/stable/c/f7a1064cce3b100b54780c68529176232d8eb01e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89909>

HTML: <https://flawdb.com/CVE-2026-89909> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89909>
