CVE-2025-39815 Details
Description
In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: fix stack overrun when loading vlenb The userspace load can put up to 2048 bits into an xlen bit stack buffer. We want only xlen bits, so check the size beforehand.
A stack overrun vulnerability has been identified in the Linux kernel's handling of the 'vlenb' Vector Control and Status Register (CSR) for RISC-V architecture within the Kernel-based Virtual Machine (KVM) module. This vulnerability allows userspace to load up to 2048 bits into a stack buffer that is only xlen bits wide, potentially leading to a stack overrun. The issue arises because the size of the data being loaded is not properly checked before it is written to the stack buffer.
Users can upgrade to the patched version of the Linux kernel where this vulnerability has been addressed. The specific commit containing the fix is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/6d28659b692a0212f360f8bd8a58712b339f9aac | kernel.org | Patch |
| https://git.kernel.org/stable/c/799766208f09f95677a9ab111b93872d414fbad7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c76bf8359188a11f8fd790e5bbd6077894a245cc | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.8, < 6.12.45 >= 6.13, < 6.16.5 6.17 rc1 6.17 rc2 6.17 rc3 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Sep 16, 2025 | New CVE Received | kernel.org |