5.5medium
LoongArch: KVM: Fix base address calculation in kvm_eiointc_regs_access()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d3e43a1f34acbb9a814337fc5624765538e5a274 before c4f0a9481cf0dd7c71a07484bc98f2570fdb3a82, from d3e43a1f34acbb9a814337fc5624765538e5a274 before 6bcfb7f46d667b04bd1a1169ccedf5fb699c60df, 6.19 Not affected: before 6.19, from 6.19.11 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.19.1 before 6.19.11, 6.19, 7.0 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: LoongArch: KVM: Corrección del cálculo de la dirección base en kvm_eiointc_regs_access() En la función kvm_eiointc_regs_access(), la dirección base del registro se calcula a partir de la dirección base del array más el desplazamiento; el desplazamiento es un valor absoluto desde la dirección base. El tipo de dato de la dirección base del array es u64, debería ser convertido al tipo ’void *’ y luego sumarle el desplazamiento.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31564 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-31564 changed 2026-11-11 | Public domain |