CVE-2025-38435

published 25 Jul 2025 · updated 5 Aug 2026

riscv: vector: Fix context save/restore with xtheadvector

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4262bd0d9cc704ea1365ac00afc1272400c2cbef and Kernel dd5ceea8d50e9e108a10d1e0d89fa2c9ff442ca2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.14, >=d863910eabaffc68eb28aaf476dd870fc3f7197d <4262bd0d9cc704ea1365ac00afc1272400c2cbef, >=d863910eabaffc68eb28aaf476dd870fc3f7197d <dd5ceea8d50e9e108a10d1e0d89fa2c9ff442ca24262bd0d9cc704ea1365ac00afc1272400c2cbef, dd5ceea8d50e9e108a10d1e0d89fa2c9ff442ca2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38435 severity on Zeptric[![CVE-2025-38435](https://zeptric.io/badge/cve/CVE-2025-38435.svg)](https://zeptric.io/cve/CVE-2025-38435)