CVE Database›Document archive›CVE-2026-31592

CVE-2026-31592

kernel: KVM: SEV: Protect *all* of sev_mem_enc_register_region() with kvm->lock

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · April 24, 2026

Updated · June 28, 2026

Description

A flaw was found in the Linux kernel's KVM (Kernel-based Virtual Machine) subsystem. A local user could exploit a concurrency issue by failing to properly protect the sev_mem_enc_register_region() function with the kvm->lock. This can lead to an unstable state if KVM initialization fails, resulting in a general protection fault and a null-pointer dereference. The most important consequence is a denial of service, causing the system to crash.

Statement

sev_mem_enc_register_region() is now fully serialized with kvm->lock, closing races in SEV memory region registration. Red Hat recommends patched KVM kernels for SEV deployments.

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-413 · Improper Resource Locking