CVE-2026-89909

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

No CVSS score yet EPSS 0.21%

Published 16 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89909

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89909 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.32% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 2bd6ac68726131da32ace9717aa63ff68cf6605c, before 6bbbd7b719233645a5c120557a9ca1422e6b7a48
affected from 2bd6ac68726131da32ace9717aa63ff68cf6605c, before 6b78786ee7260d9818cf1d7a245b7a655ef83076
affected from 2bd6ac68726131da32ace9717aa63ff68cf6605c, before 3bf6f5e2e1007d38a5f35bd37e94ab645a0c40bc
affected from 2bd6ac68726131da32ace9717aa63ff68cf6605c, before f7a1064cce3b100b54780c68529176232d8eb01e
Other versions: unaffected
Linux
affected 6.7
unaffected before 6.7
unaffected from 6.12.110 up to and including 6.12.*
unaffected from 6.18.51 up to and including 6.18.*
unaffected from 7.2.5 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89909 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89909

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89909
trivy image --scanners vuln IMAGE | grep CVE-2026-89909

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89909 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.