CVE-2026-46171: Linux kernel · riscv: kvm: fix vector context allocation leak
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in bd62c0f61bc722a097417401030c596cea8e21aa : update Linux kernel when convenient.
Data as of 26 Oct 2026, 12:55 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in bd62c0f61bc722a097417401030c596cea8e21aa, b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978, 70ecebe7c58ce01f8da3f513eafb51bd147b1e63 +2
Exploitation evidence
Disclosed: evidence found.
CVE published 28 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
In the Linux kernel, the following vulnerability has been resolved: riscv: kvm: fix vector context allocation leak When the second kzalloc (host_context.vector.datap) fails in kvm_riscv_vcpu_alloc_vector_context, the first allocation (guest_context.vector.datap) is leaked. Free it before returning.
References
- git.kernel.org/stable/c/8f3a5dc4055e1001b44ca8ae2bd3eb1d07782049 (opens in a new tab)
- git.kernel.org/stable/c/70ecebe7c58ce01f8da3f513eafb51bd147b1e63 (opens in a new tab)
- git.kernel.org/stable/c/bd62c0f61bc722a097417401030c596cea8e21aa (opens in a new tab)
- git.kernel.org/stable/c/1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98 (opens in a new tab)
- git.kernel.org/stable/c/b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978 (opens in a new tab)