Skip to main content

Linux Kernel CVE-2025-38435

MEDIUM
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local low-privilege shell on xtheadvector RISC-V system
  2. Delivery
    Execute process using vector registers v8-v31
  3. Exploit
    Trigger kernel context switch mid-execution
  4. Execution
    Kernel fails to save/restore v8-v31 state
  5. Persist
    Resumed process receives corrupted vector register values
  6. Impact
    Process crash or incorrect output (denial of service)

Vulnerability Assessment

Exploitation Conditions

Exploitation requires: (1) a RISC-V processor with the T-Head xtheadvector vendor extension (not the standard RISC-V V-extension); (2) a Linux kernel with xtheadvector support compiled in and active; (3) local access with at minimum low-privilege (PR:L) - standard unprivileged user account sufficient; (4) a workload that exercises vector registers v8-v31 (e.g., vector-optimized routines in libraries, cryptographic acceleration). Exploitation is limited to this specific hardware ecosystem. The bug does not affect x86, ARM, standard RISC-V V-extension deployments, or any non-RISC-V platform. No network exposure exists; remote exploitation is not possible.

Impact

CVSS 3.1 scores this at 5.5 Medium with an AV:L/PR:L vector, correctly reflecting that exploitation requires local access with standard user privileges on affected hardware. EPSS of 0.14% at the 4th percentile signals that the security community assesses exploitation as highly unlikely in practice, which aligns with the extremely narrow hardware prerequisite (T-Head RISC-V silicon). The vulnerability is not listed in the CISA KEV catalog, and no public proof-of-concept is identified. The practical risk is further constrained by the rarity of xtheadvector-capable hardware in enterprise environments; affected deployments are predominantly embedded Linux systems, RISC-V development boards, and early server hardware (e.g., Sophgo-based systems). The 'Information Disclosure' NVD tag creates an ambiguity: if stale v8-v31 register values from a prior process are exposed to the resumed process, a confidentiality impact may exist that the CVSS C:N metric does not capture - defenders on multi-tenant RISC-V systems should treat this as an open question and verify with the upstream kernel maintainers. Overall, this is a real but low-priority issue outside of environments explicitly deploying T-Head RISC-V hardware.

Exploit ScenarioDerived

A local unprivileged user on a RISC-V system (e.g., a Sophgo SG2042 server or Allwinner D1 board) running an unpatched kernel schedules a process that uses vector instructions relying on registers v8-v31. During a context switch, the kernel fails to save and restore those registers, causing the process to receive corrupted register state when it resumes, resulting in incorrect computation, process crashes, or denial of service. No public proof-of-concept exists, and exploitation would require physical or SSH access to an affected RISC-V system.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Vector register context corruption in the Linux kernel's RISC-V xtheadvector extension causes registers v8-v31 to be damaged during context save/restore operations, breaking userspace processes that rely on those registers. Affected systems must be running RISC-V hardware with the T-Head (xtheadvector) vendor extension and a Linux kernel prior to the stable tree fix. No public exploit exists and EPSS is extremely low (0.14%, 4th percentile), reflecting both the narrow hardware scope and the local-only attack vector; no active exploitation confirmed.

RemediationAI

The primary fix is to apply the upstream stable tree patches: https://git.kernel.org/stable/c/4262bd0d9cc704ea1365ac00afc1272400c2cbef and https://git.kernel.org/stable/c/dd5ceea8d50e9e108a10d1e0d89fa2c9ff442ca2. These commits correct the context save/restore loop to include v8-v31. An exact patched release version is not independently confirmed from the provided data; track the next stable kernel point release (6.15.x or 6.16 final) incorporating these commits. As a compensating control pending a kernel update, operators can disable vector support at boot via the kernel command line parameter 'riscv.vector=off' or equivalent - this prevents v8-v31 corruption but also disables all vector-accelerated workloads (cryptography, multimedia, ML inference), which may have a meaningful performance impact on workloads relying on vectorized operations. There is no network-level mitigation applicable since the attack vector is strictly local.

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 vulnerability resides in the Linux kernel's RISC-V architecture code responsible for saving and restoring vector register state during process context switches. The xtheadvector extension is a vendor-specific RISC-V vector implementation from T-Head (Alibaba), found in chips such as the Allwinner D1 and Sophgo SG2042. The affected code path incorrectly handled only v0-v7 during context switch, leaving v8-v31 in an undefined/corrupted state when a preempted task was later resumed. CPE data confirms the affected product is cpe:2.3:o:linux:linux_kernel across multiple versions including 6.16 release candidates (rc1 through rc3). No CWE identifier was assigned, but the root cause class is an incomplete or incorrect register state management routine - analogous to CWE-665 (Improper Initialization) or CWE-664 (Improper Control of a Resource Through its Lifetime). The 'Information Disclosure' tag applied by the NVD conflicts with the CVSS C:N metric and the description's focus on availability; while register corruption could theoretically expose stale values from a prior task's v8-v31 state, this is not confirmed by the description.

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 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local-only bug requiring user-level process execution on specific RISC-V hardware; only availability impacted as corrupted registers crash userspace; confidentiality not confirmed.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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
None
Integrity
None
Availability
High

DescriptionNVD

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

riscv: vector: Fix context save/restore with xtheadvector

Previously only v0-v7 were correctly saved/restored, and the context of v8-v31 are damanged. Correctly save/restore v8-v31 to avoid breaking userspace.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
niche T-Head RISC-V xtheadvector hardware, minimal enterprise footprint
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

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

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