PT-2024-33947 · Linux+2 · Linux Kernel+2

Alexander Potapenko

·

Published

2024-10-08

·

Updated

2025-02-28

·

CVE-2024-50114

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.11.0-rc6
Description: A use-after-free issue has been identified in the Linux kernel, specifically in the KVM: arm64: Unregister redistributor for failed vCPU creation. This issue occurs when tearing down a VM, and it has been triggered by syzkaller. The problem arises from the improper teardown of MMIO registration for a vCPU that fails creation. To fix this issue, a special-cased unregistration has been added to kvm vgic vcpu destroy(), which is safe because failed vCPUs are torn down outside of the config lock.
Recommendations: For Linux kernel versions prior to 6.11.0-rc6, update to a newer version to mitigate the risk. As a temporary workaround, consider disabling the kvm vgic vcpu destroy() function until a patch is available. Restrict access to the vulnerable kvm put kvm() function to minimize the risk of exploitation. Avoid using the kvm vm release() function in the affected API endpoint until the issue is resolved.

Exploit

Fix

Use After Free

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

Weakness Enumeration

Related Identifiers

BDU:2025-07233
CVE-2024-50114
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2025:14705-1
USN-7276-1
USN-7277-1
USN-7310-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu