PT-2024-32790 · Linux+4 · Linux Kernel+4

Published

2024-10-21

·

Updated

2025-04-01

·

CVE-2024-47744

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.58
Description A potential deadlock issue has been identified in the Linux kernel's KVM (Kernel-based Virtual Machine) component, specifically on x86 systems. This issue arises due to a chain of locks and SRCU synchronizations, which can lead to a circular locking dependency. The problem occurs when the kvm->slots lock is acquired while already holding the kvm lock, and another CPU is waiting on the cpu hotplug lock which is also held by the first CPU, resulting in a deadlock. The estimated number of potentially affected devices worldwide is not provided. There is no information about real-world incidents where this issue was exploited.
Technical details about the issue include the involvement of the cpu hotplug lock, kvm lock, and kvm->srcu locks, as well as the kvm->slots lock. The kvmclock cpufreq notifier() function is also mentioned as potentially contributing to the deadlock. The issue is considered rare due to the specific combination of dependencies and timings required to trigger it.
Recommendations To resolve the issue, update the Linux kernel to version 6.6.58 or later. As a temporary workaround, consider disabling the kvm module until a patch is available. Restrict access to the cpu hotplug lock and kvm lock to minimize the risk of exploitation. Avoid using the kvm->slots lock and kvm->srcu locks simultaneously until the issue is resolved.

Exploit

Fix

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-50667
BDU:2025-03278
CVE-2024-47744
MGASA-2024-0344
MGASA-2024-0345
OESA-2024-2367
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_3984-1
OPENSUSE-SU-2024_3986-1
OPENSUSE-SU-2025:14705-1
SUSE-SU-2024:3984-1
SUSE-SU-2024:3986-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7301-1
USN-7303-1
USN-7303-2
USN-7303-3
USN-7304-1
USN-7310-1
USN-7311-1
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1

Affected Products

Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu