CVE-2025-38435: riscv: vector: Fix context save/restore with xtheadvector

Published Jul 25, 2025
·
Updated

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 Software

5 affected components
Linux Linux kernel
Linux Linux kernel>=6.14<6.15.5
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3

Event History

Jul 25, 2025
CVE Published
via MITRE·02:32 PM
Data Sourced
via MITRE·02:32 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38435?

CVE-2025-38435 is categorized as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-38435?

To fix CVE-2025-38435, update the Linux kernel to the latest version where this vulnerability has been patched.

3

What does CVE-2025-38435 affect?

CVE-2025-38435 affects the context saving and restoring mechanism in the RISC-V vector implementation of the Linux kernel.

4

What are the consequences of CVE-2025-38435?

The consequences of CVE-2025-38435 can lead to userspace applications malfunctioning due to the incorrect context of vector registers v8-v31.

5

Is CVE-2025-38435 exploitable?

CVE-2025-38435 is not known to be directly exploitable; however, it poses a risk to system stability and application reliability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203