# CVE-2024-26691: KVM: arm64: Fix circular locking dependency

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-04-03T14:54:52.518Z
- Modified: 2026-06-17T07:18:06.540Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: before 6.6.18; from 6.7 before 6.7.6; 6.8

## References

- <https://git.kernel.org/stable/c/3d16cebf01127f459dcfeb79ed77bd68b124c228> (patch)
- <https://git.kernel.org/stable/c/3ab1c40a1e915e350d9181a4603af393141970cc> (patch)
- <https://git.kernel.org/stable/c/10c02aad111df02088d1a81792a709f6a7eca6cc> (patch)

## Sources

- CVE List: [CVE-2024-26691](https://www.cve.org/CVERecord?id=CVE-2024-26691), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26691](https://nvd.nist.gov/vuln/detail/CVE-2024-26691), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26691 · Whole record: https://cve.day/CVE-2024-26691.json · Rebuilt by cve.day 2026-11-25T22:58:38.512Z
