CVE-2022-49556

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

published February 26, 2025

CVSS
—
EPSS
0%
Percentile
18.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

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

For some sev ioctl interfaces, the length parameter that is passed maybe

less than or equal to SEV_FW_BLOB_MAX_SIZE, but larger than the data

that PSP firmware returns. In this case, kmalloc will allocate memory

that is the size of the input rather than the size of the data.

Since PSP firmware doesn't fully overwrite the allocated buffer, these

sev ioctl interface may return uninitialized kernel slab memory.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00275 · 18.9th percentile
Published
2025-02-26T02:14Z
EPSS history
Timeline
  • 26 FEB 02:14Z
    KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
    cvelistv5