CVE-2025-39815

published 16 Sep 2025 · updated 5 Aug 2026

RISC-V: KVM: fix stack overrun when loading vlenb

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 6d28659b692a0212f360f8bd8a58712b339f9aac, Kernel 799766208f09f95677a9ab111b93872d414fbad7 and Kernel c76bf8359188a11f8fd790e5bbd6077894a245cc.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=2fa290372dfe7dd248b1c16f943f273a3e674f22 <6d28659b692a0212f360f8bd8a58712b339f9aac, >=2fa290372dfe7dd248b1c16f943f273a3e674f22 <799766208f09f95677a9ab111b93872d414fbad7, >=2fa290372dfe7dd248b1c16f943f273a3e674f22 <c76bf8359188a11f8fd790e5bbd6077894a245cc6d28659b692a0212f360f8bd8a58712b339f9aac, 799766208f09f95677a9ab111b93872d414fbad7, c76bf8359188a11f8fd790e5bbd6077894a245cc

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-39815 severity on Zeptric[![CVE-2025-39815](https://zeptric.io/badge/cve/CVE-2025-39815.svg)](https://zeptric.io/cve/CVE-2025-39815)