KVM: arm64: Fix circular locking dependency
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 10c02aad111df02088d1a81792a709f6a7eca6cc, Kernel 3ab1c40a1e915e350d9181a4603af393141970cc and Kernel 3d16cebf01127f459dcfeb79ed77bd68b124c228.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.11, >=6211753fdfd05af9e08f54c8d0ba3ee516034878 <10c02aad111df02088d1a81792a709f6a7eca6cc, >=6211753fdfd05af9e08f54c8d0ba3ee516034878 <3ab1c40a1e915e350d9181a4603af393141970cc, >=6211753fdfd05af9e08f54c8d0ba3ee516034878 <3d16cebf01127f459dcfeb79ed77bd68b124c228 | 10c02aad111df02088d1a81792a709f6a7eca6cc, 3ab1c40a1e915e350d9181a4603af393141970cc, 3d16cebf01127f459dcfeb79ed77bd68b124c228 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket