What’s Vulnerable › Vulnerabilities

CVE-2025-39815: RISC-V: KVM: fix stack overrun when loading vlenb

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.45, 6.16.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-39815 or the next vulnerability affects your stack