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.

Package Linux Kernel
Published 2026-05-28
Last modified 2026-05-28
Patch available
Yes

Affected versions

Linux kernel versions 6.5 and later are affected. Fixed in 6.18.30, 7.0.7, 7.1-rc1 and their respective stable series.

Affected from
≥ 6.5
Fixed in
✓ 6.18.30 6.18.x ✓ 7.0.7 7.0.x ✓ 7.1-rc1

References

The following references provide additional information about CVE-2026-46171 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2026-46171?

    CVE-2026-46171 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.5 onward and has been patched in 6.18.30, 7.0.7 and 7.1-rc1. CVE-2026-46171 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-46171?

    Yes — CVE-2026-46171 has been patched. Fixed versions include 6.18.30, 7.0.7 and 7.1-rc1. If you are running Linux kernel 6.5 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-46171 actively exploited?

    No — CVE-2026-46171 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.