CVE-2024-26691

KVM: arm64: Fix circular locking dependency

published April 3, 2024

CVSS
—
EPSS
0%
Percentile
7.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00183 · 7.5th percentile
Published
2024-04-03T14:54Z
EPSS history
Timeline
  • 03 APR 14:54Z
    KVM: arm64: Fix circular locking dependency
    cvelistv5