CVE Database›CVE-2022-49556

CVE-2022-49556

kernel: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · February 26, 2025

Updated · June 30, 2026

Description

A flaw was discovered in the Linux kernel’s KVM support for AMD SEV (Secure Encrypted Virtualization). In certain SEV ioctl interfaces, the code used an allocation sized according to user-supplied length, which could be larger than the actual data returned by the Secure Processor. This may result in returning uninitialized kernel memory to user space, potentially exposing sensitive information. Local users with permission to issue SEV ioctl calls may trigger this flaw. The vulnerability has been fixed by switching to zero-initialized allocations and correctly sizing buffers.

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