CVE-2022-49556 Details
Description
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.
A vulnerability in the Linux kernel's KVM SVM module related to SEV ioctl interfaces can lead to a kernel data leak. This issue arises because the length parameter for some SEV ioctl interfaces may be less than or equal to the maximum size allowed, yet still larger than the data returned by the PSP firmware. As a result, the memory allocated by kmalloc reflects the size of the input rather than the actual data received. Since the PSP firmware does not completely overwrite the allocated buffer, these SEV ioctl interfaces can inadvertently return uninitialized memory from the kernel's slab allocator.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/401bef1f95de92c3a8c6eece46e02fa88d7285ee | kernel.org | Patch |
| https://git.kernel.org/stable/c/57a01725339f9d82b099102ba2751621b1caab93 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bbdcc644b59e01e98c68894a9fab42b9687f42b0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d22d2474e3953996f03528b84b7f52cc26a39403 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d8fdb4b24097472ff6b3c0559448200d420b1418 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.7, < 5.10.124 >= 5.11, < 5.15.45 >= 5.16, < 5.17.13 >= 5.18, < 5.18.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 22, 2026 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |