7.8high
RISC-V: KVM: fix stack overrun when loading vlenb
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2fa290372dfe7dd248b1c16f943f273a3e674f22 before c76bf8359188a11f8fd790e5bbd6077894a245cc, from 2fa290372dfe7dd248b1c16f943f273a3e674f22 before 6d28659b692a0212f360f8bd8a58712b339f9aac, from 2fa290372dfe7dd248b1c16f943f273a3e674f22 before 799766208f09f95677a9ab111b93872d414fbad7, 6.8 Not affected: before 6.8, from 6.12.45 up to 6.12.*, from 6.16.5 up to 6.16.*, from 6.17 up to * | CVE List |
| linux linux_kernel | from 6.8 before 6.12.45, from 6.13 before 6.16.5, 6.17 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: RISC-V: KVM: corrección de desbordamiento de pila al cargar vlenb La carga del espacio de usuario puede introducir hasta 2048 bits en un búfer de pila de xlen bits. Solo queremos xlen bits, así que se comprueba el tamaño de antemano.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39815 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-39815 changed 2026-10-19 | Public domain |