High severity · published Apr 24, 2026
CVE-2026-31558
LoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust
8.8
CVSS
0.1%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust
kvm_get_vcpu_by_cpuid() takes a cpuid parameter whose type is int, so
cpuid can be negative. Let kvm_get_vcpu_by_cpuid() return NULL for this
case so as to make it more robust.
This fix an out-of-bounds access to kvm_arch::phyid_map::phys_map[].
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 2% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
6.10.1 before 6.12.80; 6.13 before 6.18.21; 6.19 before 6.19.11; 6.10; 7.0; 7.0; +5 more · source: NVD
LI
Linux · Linux
73516e9da512adc63ba3859fbd82a21f6257348f before 596c3f8069c4792f22fce8c4452f44410032d910; 73516e9da512adc63ba3859fbd82a21f6257348f before 878cf6acb4fd8ab4126cf9d369a5bb0e23123418; 73516e9da512adc63ba3859fbd82a21f6257348f before 47857b05bd50db01e211a1b6f513d57901cd3e6b; 73516e9da512adc63ba3859fbd82a21f6257348f before 2db06c15d8c7a0ccb6108524e16cd9163753f354; 6.10 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-31558
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-31558
Patch
https://git.kernel.org/stable/c/2db06c15d8c7a0ccb6108524e16cd9163753f354
Patch
https://git.kernel.org/stable/c/47857b05bd50db01e211a1b6f513d57901cd3e6b
Patch
https://git.kernel.org/stable/c/596c3f8069c4792f22fce8c4452f44410032d910
Patch
https://git.kernel.org/stable/c/878cf6acb4fd8ab4126cf9d369a5bb0e23123418
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
