Skip to main content

Linux Kernel CVE-2025-38367

HIGH
Improper Validation of Array Index (CWE-129)
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local guest access on LoongArch KVM host
  2. Delivery
    Issue crafted writes to EIOINTC_ENABLE register
  3. Exploit
    Overflow reused array index out of bounds
  4. Execution
    Corrupt host kernel memory
  5. Impact
    Escalate privileges or crash host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires the host to be a LoongArch system running KVM virtualization on an affected 6.16 release-candidate kernel, and the attacker must have low-privileged local/guest access capable of issuing writes to the emulated EIOINTC extended I/O interrupt controller's EIOINTC_ENABLE register (PR:L, AV:L, no user interaction). Limiting factors are significant: it is not remotely exploitable, it is confined to the LoongArch architecture and KVM-enabled hosts, and it only affects pre-release 6.16 kernels, so default x86/ARM and stable-release deployments are not exposed.

Impact

Signals are consistent in pointing to a genuine but access-constrained issue rather than a mass-exploitation event. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H = 7.8 High) indicates local access with low privileges and no user interaction, matching a guest/VM operator or local user who can drive KVM's EIOINTC emulation; there is no network vector. EPSS is very low (0.14%, 4th percentile), there is no CISA KEV listing and no POC signal, so 'no public exploit identified at time of analysis' applies and this is not confirmed actively exploited. The strongest limiting factor is platform scope: the bug only affects LoongArch hosts running KVM on 6.16 release-candidate kernels, an unusual combination in production. Net: patch as part of normal kernel hygiene on affected LoongArch/KVM systems, but this is not a broad emergency for the typical x86/ARM fleet.

Exploit ScenarioDerived

A local user or guest operator on a LoongArch host running a KVM virtual machine issues crafted writes to the emulated EIOINTC_ENABLE register, driving the reused 'index' variable past the bounds of the backing array. The resulting out-of-bounds write corrupts host kernel memory, enabling denial of service or potential privilege escalation from the guest/local context. No public POC is identified, and exploitation requires local access with low privileges (AV:L/PR:L).

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

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Local privilege escalation and denial of service in the Linux kernel's LoongArch KVM hypervisor arises from an array index overflow when handling writes to the EIOINTC_ENABLE register of the emulated extended I/O interrupt controller. Affecting mainline 6.16 release candidates (rc1-rc3) on LoongArch hosts, a low-privileged actor able to program the virtual interrupt controller can write out of the bounds of a kernel array, corrupting memory with high confidentiality, integrity, and availability impact (CVSS 7.8). There is no public exploit identified at time of analysis and EPSS probability is low (0.14%, 4th percentile).

RemediationAI

Upstream fix available (commit); released patched version not independently confirmed - apply the kernel.org stable commits 080e8d2ecdfde588897aa8a87a8884061f4dbbbb and 2cc84c4b0d70d42e291862ecc848890d18e1004a, or upgrade to the final 6.16 release (or a stable point release) that incorporates them once your distribution ships it. Because the affected versions are 6.16 release candidates, the most practical remediation is to move off the rc kernel to a fixed mainline/stable build rather than run a pre-release in production. As a compensating control until patched, avoid running untrusted KVM guests on LoongArch hosts and restrict who can create or configure VMs (guest access to the EIOINTC emulation is the exploitation path); on non-LoongArch architectures no action specific to this CVE is required. The trade-off of blocking untrusted guests is reduced multi-tenant/virtualization flexibility on those hosts.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The flaw lives in KVM's emulation of the LoongArch Extended I/O Interrupt Controller (EIOINTC), the on-chip interrupt routing hardware used by LoongArch (Loongson) CPUs. In the vulnerable code path the loop variable 'index' is mutated and then reused as an array index while servicing a guest write to the EIOINTC_ENABLE register, so the effective index can exceed the bounds of the backing array. This is a classic CWE-129 (Improper Validation of Array Index) defect, categorized by the intelligence tags as a Buffer Overflow, and it executes in kernel context on the hypervisor host rather than being contained to guest memory. Because it is reachable through the KVM device-emulation interface, the attack surface is the guest-to-host boundary on machines running LoongArch virtualization.

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

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local guest access with low privilege drives KVM EIOINTC emulation (AV:L, PR:L, AC:L, no UI); OOB kernel write yields high C/I/A within the host scope.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Primary rating from NVD.

CVSS VectorNVD

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

DescriptionNVD

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

LoongArch: KVM: Avoid overflow with array index

The variable index is modified and reused as array index when modify register EIOINTC_ENABLE. There will be array index overflow problem.

Executive ViewAI

Why It Matters

A flaw in LoongArch KVM hypervisor kernel versions 6.16-rc1 through rc3 enables privilege escalation and system crashes when low-privileged users manipulate the virtual interrupt controller; no public exploit identified at time of analysis. Organizations using LoongArch virtualization should immediately verify their kernel versions and apply available patches; while exploitation risk remains low, the niche platform makes any vulnerable instance a concentrated risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous, though LoongArch KVM exposure is niche
Data Quality
3 sources
Confidence: Low

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.1%
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

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

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