CVE Database›Document archive›CVE-2024-35791

CVE-2024-35791

kernel: KVM: SVM: Flush pages under kvm->lock to fix UAF in svm_register_enc_region()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 17, 2024

Updated · October 30, 2026

Description

A security vulnerability was identified in the Linux kernel's Kernel-based Virtual Machine subsystem (KVM), specifically affecting the Secure Virtual Machine (SVM) feature used on AMD processors. The issue arises from a use-after-free condition in the svm_register_enc_region() function, which can lead to system instability or potential exploitation.

Statement

This vulnerability is rated as Moderate severity because exploitation requires local access with privileges to interact with the KVM subsystem, constraining the blast radius primarily to host denial of service. The flaw resides within the AMD virtualization (SVM) handling of encrypted memory regions in the Linux kernel hypervisor. Deployments running on non-AMD architectures or environments that do not utilize hardware-assisted virtualization with memory encryption are unaffected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE not specified