CVE-2024-26691
Assigner: Linux
Published: 2024-04-03T14:54:52.518Z
State: PUBLISHED
descriptions: value: 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: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 1da177e4c3f4
lessThan: 3d16cebf0112
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 3ab1c40a1e91
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 10c02aad111d
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 6.6.18
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.6
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: KVM: arm64: Fix circular locking dependency
x_generator: engine: bippy-d3b290d2becc