CVE-2024-26691
JSON

5.5medium

KVM: arm64: Fix circular locking dependency

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 3d16cebf01127f459dcfeb79ed77bd68b124c228, from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 3ab1c40a1e915e350d9181a4603af393141970cc, from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 10c02aad111df02088d1a81792a709f6a7eca6cc, 3.11
Not affected: before 3.11, from 6.6.18 up to 6.6.*, from 6.7.6 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelbefore 6.6.18, from 6.7 before 6.7.6, 6.8NVD

Classification

CWE-667

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: KVM: arm64: corrige la dependencia de bloqueo circular La regla dentro de kvm exige que vcpu->mutex se tome *dentro* de kvm->lock. La regla es violada por pkvm_create_hyp_vm() que adquiere el bloqueo kvm->mientras ya mantiene el bloqueo vcpu->mutex de kvm_vcpu_ioctl(). Evite por completo la dependencia del bloqueo circular protegiendo el identificador hyp vm con config_lock, de forma muy similar a como lo hacemos con otras formas de datos con alcance de VM.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26691 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-26691 changed 2026-06-17Public domain