CVE 8.8 HIGH

LoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust_CVE-2026-31558

8.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

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[].

AI Analysis

Out-of-bounds access vulnerability in the Linux kernel's KVM module

Basic Information

ID CVE-2026-31558
Source Linux
Published Apr 24, 2026 at 14:35
Modified Apr 27, 2026 at 14:04

Affected Product

Vendor Linux
Product Linux
Version 73516e9da512adc63ba3859fbd82a21f6257348f
Affected Versions Linux Linux 73516e9da512adc63ba3859fbd82a21f6257348f
Linux Linux 73516e9da512adc63ba3859fbd82a21f6257348f
Linux Linux 73516e9da512adc63ba3859fbd82a21f6257348f
Linux Linux 73516e9da512adc63ba3859fbd82a21f6257348f
Linux Linux 6.10

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor Linux
Product Linux Kernel
Version 6.10, 73516e9da512adc63ba3859fbd82a21f6257348f

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.