CVE-2025-39815Published Sep 16, 2025 · Sep 16Updated Oct 28
RISC-V: KVM: fix stack overrun when loading vlenb
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.456.16.56.17In 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.
From the CVE record · Linux
RISC-V KVM in the Linux kernel has a stack overrun when loading vlenb from userspace. A userspace load can place up to 2048 bits into a stack buffer sized for only xlen bits. The input does not specify the resulting impact beyond the stack overrun or any authentication requirements.
Engineers running Linux kernels with RISC-V KVM should check their installations; affected versions are not specified.