CVE-2024-26691

KVM: arm64: Fix circular locking dependency

State
Published
Severity
Not scored
Published
Apr 3, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6211753fdfd05af9e08f54c8d0ba3ee516034878 to before 3d16cebf01127f459dcfeb79ed77bd68b124c228Affected
  • 6211753fdfd05af9e08f54c8d0ba3ee516034878 to before 3ab1c40a1e915e350d9181a4603af393141970ccAffected
  • 6211753fdfd05af9e08f54c8d0ba3ee516034878 to before 10c02aad111df02088d1a81792a709f6a7eca6ccAffected
LinuxLinux
  • 3.11Affected
  • before 3.11Not affected
  • 6.6.18 through 6.6.*Not affected
  • 6.7.6 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.