CVEvulnerability
CVE-2024-26691
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-04-03
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-667
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 configurations
• linux linux kernel (< 6.6.18)
• linux linux kernel (>= 6.7 < 6.7.6)
• linux linux kernel 6.8
Related
Weakness · CWE (1)
- CWE-667 Improper Locking weakness
References
- https://git.kernel.org/stable/c/10c02aad111df02088d1a81792a709f6a7eca6cc Patch
- https://git.kernel.org/stable/c/3ab1c40a1e915e350d9181a4603af393141970cc Patch
- https://git.kernel.org/stable/c/3d16cebf01127f459dcfeb79ed77bd68b124c228 Patch
- https://git.kernel.org/stable/c/10c02aad111df02088d1a81792a709f6a7eca6cc Patch
- https://git.kernel.org/stable/c/3ab1c40a1e915e350d9181a4603af393141970cc Patch
- https://git.kernel.org/stable/c/3d16cebf01127f459dcfeb79ed77bd68b124c228 Patch