CVE-2026-46171
riscv: kvm: fix vector context allocation leak
Reported by linux · Published May 28, 2026
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.
EPSS 0.13% · 2.4th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | bd62c0f61bc722a097417401030c596cea8e21aa, b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978, 8f3a5dc4055e1001b44ca8ae2bd3eb1d07782049, 70ecebe7c58ce01f8da3f513eafb51bd147b1e63, 1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0f4b82579716b12bb88257bd7ea80f25c791fb2c, 0f4b82579716b12bb88257bd7ea80f25c791fb2c, 0f4b82579716b12bb88257bd7ea80f25c791fb2c |
| Linux | Linux | 6.5, 0, 6.6.160 |
| Linux | Linux | 6.12.114, 7.0.7, 7.1 |
| linux | linux_kernel | 6.5, 6.5, 6.5 |
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (15 in total, the first dated here)
- Jun 1, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46171
vulnetix vdb fixes CVE-2026-46171
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46171/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart