{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-46171","id":"CVE-2026-46171","title":"riscv: kvm: fix vector context allocation leak","description":"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(guest_context.vector.datap) is leaked. Free it before returning.","descriptionLong":"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(guest_context.vector.datap) is leaked. Free it before returning.","published":"2026-05-28T09:36:25.966Z","updated":"2026-10-28T02:30:21.809614592Z","reserved":"2026-05-13T15:03:33.103Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0f4b82579716b12bb88257bd7ea80f25c791fb2c","lessThan":"8f3a5dc4055e1001b44ca8ae2bd3eb1d07782049","status":"affected","versionType":"git"},{"version":"0f4b82579716b12bb88257bd7ea80f25c791fb2c","lessThan":"70ecebe7c58ce01f8da3f513eafb51bd147b1e63","status":"affected","versionType":"git"},{"version":"0f4b82579716b12bb88257bd7ea80f25c791fb2c","lessThan":"bd62c0f61bc722a097417401030c596cea8e21aa","status":"affected","versionType":"git"},{"version":"0f4b82579716b12bb88257bd7ea80f25c791fb2c","lessThan":"1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98","status":"affected","versionType":"git"},{"version":"0f4b82579716b12bb88257bd7ea80f25c791fb2c","lessThan":"b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","lessThan":"6.5","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.30","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.7","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8f3a5dc4055e1001b44ca8ae2bd3eb1d07782049","tags":["web"]},{"url":"https://git.kernel.org/stable/c/70ecebe7c58ce01f8da3f513eafb51bd147b1e63","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bd62c0f61bc722a097417401030c596cea8e21aa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46171.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46171","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00128,"epssPercentile":0.02509,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-46171","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46171","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-46171","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-46171","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}