CVE-2022-49556

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49556
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49556.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49556
Downstream
Related
Published
2025-02-26T07:01:31Z
Modified
2025-08-09T19:01:28Z
Summary
[none]
Details

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 SEVFWBLOBMAXSIZE, 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.

References

Affected packages