← Database

CVE-2026-46171

MEDIUM CVSS: 5.5 Published: 2026-05-28 Modified: 2026-06-17

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-401

References