CVE-2026-31564 LoongArch: KVM: Fix base address calculation in kvm_eiointc_regs_access()

Medium 5.5 Published Updated

A memory corruption vulnerability in the Linux kernel's LoongArch KVM module allows attackers to potentially execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31564?

CVE-2026-31564 is a medium-severity memory corruption vulnerability in Linux kernel, published on 24 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

LoongArch: KVM: Fix base address calculation in kvm_eiointc_regs_access()

In function kvm_eiointc_regs_access(), the register base address is caculated from array base address plus offset, the offset is absolute value from the base address. The data type of array base address is u64, it should be converted into the "void *" type and then plus the offset.

Which versions are affected by CVE-2026-31564?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31564?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-31564 being exploited?

There is no known exploitation of CVE-2026-31564 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-31564, GHSA-2xxh-f2h8-792v, UBUNTU-CVE-2026-31564.

Is CVE-2026-31564 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free