CVE-2025-38435

riscv: vector: Fix context save/restore with xtheadvector

State
Published
Severity
7.8 High
Published
Jul 25, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d863910eabaffc68eb28aaf476dd870fc3f7197d to before dd5ceea8d50e9e108a10d1e0d89fa2c9ff442ca2Affected
  • d863910eabaffc68eb28aaf476dd870fc3f7197d to before 4262bd0d9cc704ea1365ac00afc1272400c2cbefAffected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.15.5 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.