Bug 1222463 (CVE-2024-26691) - VUL-0: CVE-2024-26691: kernel: KVM: arm64: Fix circular locking dependency
Summary: VUL-0: CVE-2024-26691: kernel: KVM: arm64: Fix circular locking dependency
Status: NEW
Alias: CVE-2024-26691
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/400164/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26691:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 12:23 UTC by SMASH SMASH
Modified: 2024-07-10 13:51 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-04-08 12:23:44 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26691
https://www.cve.org/CVERecord?id=CVE-2024-26691
https://git.kernel.org/stable/c/10c02aad111df02088d1a81792a709f6a7eca6cc
https://git.kernel.org/stable/c/3ab1c40a1e915e350d9181a4603af393141970cc
https://git.kernel.org/stable/c/3d16cebf01127f459dcfeb79ed77bd68b124c228
https://bugzilla.redhat.com/show_bug.cgi?id=2273098
Comment 3 Jeffrey Cheung 2024-07-03 07:27:11 UTC
Hi Dario,

We need this patch for 15 SP6, can you please help on ?
Comment 4 Dario Faggioli 2024-07-10 08:53:51 UTC
(In reply to Jeffrey Cheung from comment #3)
> Hi Dario,
> 
> We need this patch for 15 SP6, can you please help on ?

Ok, I'll do it