{"id":"CVE-2026-46171","title":"riscv: kvm: fix vector context allocation leak","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: kvm: fix vector context allocation leak\n\nWhen the second kzalloc (host_context.vector.datap) fails in\nkvm_riscv_vcpu_alloc_vector_context, the first allocation\n(…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 8f3a5dc4055e1001b44ca8ae2bd3eb1d07782049","Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 70ecebe7c58ce01f8da3f513eafb51bd147b1e63","Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < bd62c0f61bc722a097417401030c596cea8e21aa","Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98","Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978","Linux 6.5"],"published":"2026-05-28","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:41:22.651Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-46171","references":[{"url":"https://git.kernel.org/stable/c/8f3a5dc4055e1001b44ca8ae2bd3eb1d07782049"},{"url":"https://git.kernel.org/stable/c/70ecebe7c58ce01f8da3f513eafb51bd147b1e63"},{"url":"https://git.kernel.org/stable/c/bd62c0f61bc722a097417401030c596cea8e21aa"},{"url":"https://git.kernel.org/stable/c/1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98"},{"url":"https://git.kernel.org/stable/c/b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978"}],"tags":["cve.org"],"epss":0.0016,"epssPercentile":0.04829,"ingestedAt":"2026-10-21T12:48:53.629Z","slug":"CVE-2026-46171","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nriscv: kvm: fix vector context allocation leak\n\nWhen the second kzalloc (host_context.vector.datap) fails in\nkvm_riscv_vcpu_alloc_vector_context, the first allocation\n(guest_context.vector.datap) is leaked. Free it before returning.\n\n## Affected\n\n- `Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 8f3a5dc4055e1001b44ca8ae2bd3eb1d07782049`\n- `Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 70ecebe7c58ce01f8da3f513eafb51bd147b1e63`\n- `Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < bd62c0f61bc722a097417401030c596cea8e21aa`\n- `Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98`\n- `Linux >= 0f4b82579716b12bb88257bd7ea80f25c791fb2c < b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978`\n- `Linux 6.5`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}