What’s Vulnerable › Vulnerabilities

CVE-2026-46171: riscv: kvm: fix vector context allocation leak

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.

Affected products

How to fix

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

References

Get alerted when CVE-2026-46171 or the next vulnerability affects your stack