Skip to main content

Linux Kernel EUVDEUVD-2026-25451

| CVE-2026-31558 HIGH
Out-of-bounds Read (CWE-125)
2026-04-24 Linux GHSA-75vg-fcxx-gf7x
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain local authenticated access
  2. Delivery
    Invoke KVM ioctl with negative cpuid
  3. Exploit
    Trigger out-of-bounds array access
  4. Install
    Corrupt kernel memory structures
  5. C2
    Execute arbitrary code in kernel context
  6. Execute
    Escalate to root privileges
  7. Impact
    Escape VM isolation (if applicable)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated local access (PR:L) to a Linux system running the LoongArch architecture with KVM kernel module loaded. The attacker must have sufficient privileges to open /dev/kvm and issue KVM ioctl calls, typically requiring membership in the kvm group or CAP_SYS_ADMIN capability. Exploitation is limited to LoongArch processor-based systems; x86_64, ARM64, RISC-V, and other architectures use different KVM implementations not affected by this flaw. The vulnerable code path is triggered when KVM management operations call kvm_get_vcpu_by_cpuid() with user-controlled input, specifically when creating or querying virtual CPUs. Systems not using KVM virtualization or running kernel versions prior to commit 73516e9da512 are not vulnerable. No user interaction (UI:N) required once the attacker has local access and necessary permissions. Low attack complexity (AC:L) indicates no race conditions or additional timing constraints limit exploitation.

Impact

The CVSS 8.8 score reflects high severity due to potential privilege escalation and container escape (scope change from C to H/I/A all High), but real-world risk is tempered by multiple limiting factors. Attack vector is local (AV:L) requiring authenticated access (PR:L) to the system, not remotely exploitable. The vulnerability is specific to LoongArch architecture KVM implementations, drastically limiting the attack surface compared to x86_64 or ARM systems. EPSS probability of 0.02% (5th percentile) indicates security researchers and automated scanners assess this as unlikely to be exploited at scale, consistent with the architectural limitation and local attack requirement. No CISA KEV listing confirms no widespread active exploitation. However, the scope change (S:C) is significant - successful exploitation could allow escape from virtualized environments, making this critical for LoongArch-based cloud or containerized infrastructure. Low attack complexity (AC:L) means exploitation is straightforward once local access is obtained. Priority should be HIGH for LoongArch KVM hosts in multi-tenant environments, MEDIUM for single-tenant systems with restricted local access, LOW for organizations not running LoongArch architecture.

Exploit ScenarioDerived

A malicious user with local authenticated access to a LoongArch-based Linux system running KVM creates a guest VM or has access to VM management interfaces. The attacker crafts a KVM ioctl system call that passes a negative integer as the cpuid parameter to kvm_get_vcpu_by_cpuid(). The kernel fails to validate this input and uses it as an array index, causing out-of-bounds read or write to kernel memory structures adjacent to the phyid_map array. By controlling the negative offset and exploiting predictable kernel memory layouts, the attacker overwrites function pointers or security-critical kernel data structures, achieving arbitrary code execution in kernel context and potentially escaping VM isolation to compromise the host hypervisor.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 27, 2026

Out-of-bounds array access in Linux kernel KVM subsystem on LoongArch allows local authenticated attackers with low privileges to execute arbitrary code, escalate privileges, or cause denial of service by passing negative cpuid values to kvm_get_vcpu_by_cpuid(). The function lacks bounds checking before indexing phyid_map::phys_map[], enabling read/write beyond array boundaries with container escape potential (CVSS scope change). Vendor patches available across multiple stable kernel branches (6.12.80, 6.18.21, 6.19.11). EPSS score of 0.02% indicates low automated exploitation likelihood, with no confirmed active exploitation or public POC at time of analysis.

RemediationAI

Upgrade to patched Linux kernel versions: 6.12.80, 6.18.21, 6.19.11, or apply vendor-provided patches from upstream Git commits 596c3f8069c4792f22fce8c4452f44410032d910, 878cf6acb4fd8ab4126cf9d369a5bb0e23123418, 47857b05bd50db01e211a1b6f513d57901cd3e6b, or 2db06c15d8c7a0ccb6108524e16cd9163753f354 depending on your kernel branch. Patches available at https://git.kernel.org/stable/c/ URLs listed in references. For systems where immediate patching is not feasible, implement compensating controls: restrict local user access to LoongArch KVM hosts by enforcing mandatory access controls (SELinux/AppArmor) to limit who can invoke KVM ioctls, disable KVM kernel module loading if virtualization is not required (blacklist kvm and kvm_loongson modules in /etc/modprobe.d/), or migrate virtualized workloads to x86_64/ARM hosts temporarily. Note that disabling KVM entirely eliminates virtualization capabilities and may break dependent services; restricting access via MAC policies is preferable but requires careful policy configuration to avoid breaking legitimate virtualization management tools. No workaround fully mitigates the vulnerability without applying the kernel patch.

Affected VersionsENISA

Linux patch: 7.0
Linux patch: 0
Linux 73516e9da512adc63ba3859fbd82a21f6257348f <596c3f8069c4792f22fce8c4452f44410032d910
Linux 73516e9da512adc63ba3859fbd82a21f6257348f <878cf6acb4fd8ab4126cf9d369a5bb0e23123418
Linux patch: 6.12.80
Linux 6.10
Linux 73516e9da512adc63ba3859fbd82a21f6257348f <2db06c15d8c7a0ccb6108524e16cd9163753f354
Linux patch: 6.18.21
Linux 73516e9da512adc63ba3859fbd82a21f6257348f <47857b05bd50db01e211a1b6f513d57901cd3e6b
Linux patch: 6.19.11

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the LoongArch architecture KVM (Kernel-based Virtual Machine) implementation within the Linux kernel. The kvm_get_vcpu_by_cpuid() function accepts an integer cpuid parameter without validating it is non-negative before using it as an array index into kvm_arch::phyid_map::phys_map[]. In C, negative integer indices can wrap around or access memory at offsets before the array base address, creating classic buffer overflow conditions. LoongArch is a RISC instruction set developed by Loongson Technology, primarily used in Chinese domestic processors. The KVM subsystem provides virtualization capabilities, making this a hypervisor-level vulnerability. The affected CPE strings indicate this impacts Linux kernel components, with patches targeting kernel versions 6.10 through 7.0 development trees. The fix enforces NULL return for negative cpuid values, implementing defensive programming to prevent out-of-bounds memory access before the array indexing operation.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 20:13 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
8.8 (HIGH)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:35 nvd
HIGH 8.8

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

CVE-2026-31558 is a high-severity privilege escalation vulnerability in the Linux kernel KVM subsystem affecting LoongArch systems, allowing authenticated local users to execute arbitrary code or escape containers through an out-of-bounds array access flaw. Organizations running LoongArch-based infrastructure with multi-tenant KVM deployments face elevated risk of unauthorized privilege escalation and potential container breaches; patching is required to maintain isolation boundaries in virtualized environments.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigation (if patching is delayed): Restrict unprivileged user access to KVM guest assignment on affected LoongArch systems; enforce role-based access controls limiting local user privilege to prevent cpuid manipulation; isolate affected LoongArch KVM hosts from untrusted tenant workloads until patching is complete.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy