CVE-2026-46171
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 0f4b82579716b12bb88257bd7ea80f25c791fb2c < bd62c0f61bc722a097417401030c596cea8e21aa | affected |
| Linux | Linux | 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98 | affected |
| Linux | Linux | 0f4b82579716b12bb88257bd7ea80f25c791fb2c < b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978 | affected |
| Linux | Linux | 6.5 | affected |
| Linux | Linux | 0 < 6.5 | unaffected |
| Linux | Linux | 6.18.30 <= 6.18.* | unaffected |
| Linux | Linux | 7.0.7 <= 7.0.* | unaffected |
| Linux | Linux | 7.1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/bd62c0f61bc722a097417401030c596cea8e21aa
- https://git.kernel.org/stable/c/1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98
- https://git.kernel.org/stable/c/b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.