Vulnerability in Linux

CVE-2026-46171

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.001, 2.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 7.0.7, 0f4b82579716b12bb88257bd7ea80f25c791fb2c, 7.1-rc1
  • Linux Kernel

Weakness classification (CWE)

References