riscv: kvm: fix vector context allocation leak (Linux Linux)

CVE-2026-46171
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Modified

Description

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.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 8f3a5dc4055e1001b44ca8ae2bd3eb1d07782049
affectée : ≥ 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 70ecebe7c58ce01f8da3f513eafb51bd147b1e63
affectée : ≥ 0f4b82579716b12bb88257bd7ea80f25c791fb2c < bd62c0f61bc722a097417401030c596cea8e21aa
affectée : ≥ 0f4b82579716b12bb88257bd7ea80f25c791fb2c < 1d57ab45ec5c0e22789de793bcf2a31ad6fb7d98
affectée : ≥ 0f4b82579716b12bb88257bd7ea80f25c791fb2c < b7c958d7c1eb1cb9b2be7b5ee4129fcd66cec978
Autres versions : non affectée
Linux · Linux
affectée : 6.5
non affectée : ≥ 0 < 6.5
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.30 ≤ 6.18.*
non affectée : ≥ 7.0.7 ≤ 7.0.*
non affectée : ≥ 7.1 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD