CVE-2022-49556
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 | affected | git | 401bef1f95de92c3a8c6eece46e02fa88d7285ee | Unavailable | None listed |
| eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 | affected | git | d8fdb4b24097472ff6b3c0559448200d420b1418 | Unavailable | None listed |
| eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 | affected | git | bbdcc644b59e01e98c68894a9fab42b9687f42b0 | Unavailable | None listed |
| eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 | affected | git | 57a01725339f9d82b099102ba2751621b1caab93 | Unavailable | None listed |
| eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5 | affected | git | d22d2474e3953996f03528b84b7f52cc26a39403 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.7 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.7 | Unavailable | None listed |
| 5.10.124 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.45 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 5.17.13 | unaffected | semver | Unavailable | 5.17.* | None listed |
| 5.18.2 | unaffected | semver | Unavailable | 5.18.* | None listed |
| 5.19 | unaffected | original_commit_for_fix | Unavailable | * | None listed |