CVE-2022-49556
published 2025-02-26CVE-2022-49556: 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…
PriorityP430high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.27%
19.0th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.2-1 (bookworm) | linux 5.18.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 < 401bef1f95de92c3a8c6eece46e02fa88d7285ee | 401bef1f95de92c3a8c6eece46e02fa88d7285ee |
| linux | linux | >= eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 < d8fdb4b24097472ff6b3c0559448200d420b1418 | d8fdb4b24097472ff6b3c0559448200d420b1418 |
| linux | linux | >= eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 < bbdcc644b59e01e98c68894a9fab42b9687f42b0 | bbdcc644b59e01e98c68894a9fab42b9687f42b0 |
| linux | linux | >= eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 < 57a01725339f9d82b099102ba2751621b1caab93 | 57a01725339f9d82b099102ba2751621b1caab93 |
| linux | linux | >= eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 < d22d2474e3953996f03528b84b7f52cc26a39403 | d22d2474e3953996f03528b84b7f52cc26a39403 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.2-1 | 5.18.2-1 |
| linux | linux_kernel | >= 0 < 5.18.2-1 | 5.18.2-1 |
| linux | linux_kernel | >= 0 < 5.18.2-1 | 5.18.2-1 |
| linux | linux_kernel | >= 5.11 < 5.15.45 | 5.15.45 |
| linux | linux_kernel | >= 5.16 < 5.17.13 | 5.17.13 |
| linux | linux_kernel | >= 5.18 < 5.18.2 | 5.18.2 |
| linux | linux_kernel | >= 5.7 < 5.10.124 | 5.10.124 |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-78rg-cj9j-75rj: In the Linux kernel, the following vulnerability has been resolved:
KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
For s
ghsa_unreviewed·2026-01-22
CVE-2022-49556 [HIGH] GHSA-78rg-cj9j-75rj: In the Linux kernel, the following vulnerability has been resolved:
KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
For s
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.
OSV
CVE-2022-49556: In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak For som
osv·2025-02-26·CVSS 7.1
CVE-2022-49556 [HIGH] CVE-2022-49556: In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak For som
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.
Red Hat
kernel: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
vendor_redhat·2025-02-26·CVSS 7.1
CVE-2022-49556 [HIGH] kernel: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
kernel: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
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 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 allocat
Debian
CVE-2022-49556: linux - In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: U...
vendor_debian·2022·CVSS 7.1
CVE-2022-49556 [HIGH] CVE-2022-49556: linux - In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: U...
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.
Scope: local
bookworm: resolved (fixed in 5.18.2-1)
bullseye: resolved (fixed in 5.10.127-1)
forky: resolved (fixed in 5.18.2-1)
sid: resolved (fixed in 5.18.2-1)
trixie: resolved (fixed in 5.18.2-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/401bef1f95de92c3a8c6eece46e02fa88d7285eehttps://git.kernel.org/stable/c/57a01725339f9d82b099102ba2751621b1caab93https://git.kernel.org/stable/c/bbdcc644b59e01e98c68894a9fab42b9687f42b0https://git.kernel.org/stable/c/d22d2474e3953996f03528b84b7f52cc26a39403https://git.kernel.org/stable/c/d8fdb4b24097472ff6b3c0559448200d420b1418
2025-02-26
Published