CVE-2025-39815: Linux kernel · RISC-V: KVM: fix stack overrun when loading vlenb
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 22 Nov 2026, 02:46 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel updates that include this patch to remediate the issue. Since no specific patch links or fixed versions are provided, users should consult the Linux kernel vendor advisories for the relevant patch details.
Description
A vulnerability in the Linux kernel's RISC-V KVM implementation allowed a stack overrun when loading the vlenb value. The issue arises because userspace can load up to 2048 bits into a stack buffer designed for only xlen bits, potentially causing a stack overflow.
References
- nvd.nist.gov/vuln/detail/CVE-2025-39815 (opens in a new tab)
- git.kernel.org/stable/c/6d28659b692a0212f360f8bd8a58712b339f9aac (opens in a new tab)
- git.kernel.org/stable/c/799766208f09f95677a9ab111b93872d414fbad7 (opens in a new tab)
- git.kernel.org/stable/c/c76bf8359188a11f8fd790e5bbd6077894a245cc (opens in a new tab)