KVM: arm64: Tear down vGIC on failed vCPU creation (Linux Linux)

CVE-2025-37849
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Tear down vGIC on failed vCPU creation If kvm_arch_vcpu_create() fails to share the vCPU page with the hypervisor, we propagate the error back to the ioctl but leave the vGIC vCPU data initialised. Note only does this leak the corresponding memory when the vCPU is destroyed but it can also lead to use-after-free if the redistributor device handling tries to walk into the vCPU. Add the missing cleanup to kvm_arch_vcpu_create(), ensuring that the vGIC vCPU structures are destroyed on error.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 07476e0d932afc53c05468076393ac35d0b4999e ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 5085e02362b9948f82fceca979b8f8e12acb1cc5 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < c322789613407647a05ff5c451a7bf545fb34e73 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < f1e9087abaeedec9bf2894a282ee4f0d8383f299 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 250f25367b58d8c65a1b060a2dda037eea09a672
Linux · Linuxaffected 3.11 ; unaffected 0 < 3.11 ; unaffected 6.1.135 ≤ 6.1.* ; unaffected 6.6.88 ≤ 6.6.* ; unaffected 6.12.24 ≤ 6.12.* ; unaffected 6.13.12 ≤ 6.13.*

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