KVM: arm64: Fix circular locking dependency (Linux Linux)

CVE-2024-26691
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix circular locking dependency The rule inside kvm enforces that the vcpu->mutex is taken *inside* kvm->lock. The rule is violated by the pkvm_create_hyp_vm() which acquires the kvm->lock while already holding the vcpu->mutex lock from kvm_vcpu_ioctl(). Avoid the circular locking dependency altogether by protecting the hyp vm handle with the config_lock, much like we already do for other forms of VM-scoped data.

Faiblesses (CWE)

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
Linux · Linuxaffected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 3d16cebf01127f459dcfeb79ed77bd68b124c228 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 3ab1c40a1e915e350d9181a4603af393141970cc ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 10c02aad111df02088d1a81792a709f6a7eca6cc
Linux · Linuxaffected 3.11 ; unaffected 0 < 3.11 ; unaffected 6.6.18 ≤ 6.6.* ; unaffected 6.7.6 ≤ 6.7.* ; unaffected 6.8 ≤ *

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