{"id":"CVE-2025-39815","summary":"RISC-V: KVM: fix stack overrun when loading vlenb","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRISC-V: KVM: fix stack overrun when loading vlenb\n\nThe userspace load can put up to 2048 bits into an xlen bit stack\nbuffer.  We want only xlen bits, so check the size beforehand.","modified":"2026-03-20T12:43:03.845848Z","published":"2025-09-16T13:00:16.250Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39815.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6d28659b692a0212f360f8bd8a58712b339f9aac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/799766208f09f95677a9ab111b93872d414fbad7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c76bf8359188a11f8fd790e5bbd6077894a245cc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39815.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39815"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2fa290372dfe7dd248b1c16f943f273a3e674f22"},{"fixed":"c76bf8359188a11f8fd790e5bbd6077894a245cc"},{"fixed":"6d28659b692a0212f360f8bd8a58712b339f9aac"},{"fixed":"799766208f09f95677a9ab111b93872d414fbad7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39815.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}