CVE-2022-49556

HIGH

Linux Kernel 5.7-5.18.2 - Uninitialized Memory Exposure via SEV IOCTL

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.1
EPSS 0.0027
EPSS Percentile 19.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Details

Status published
Products (17)
linux/Kernel 5.11.0 - 5.15.45linux
linux/Kernel 5.16.0 - 5.17.13linux
linux/Kernel 5.18.0 - 5.18.2linux
linux/Kernel 5.7.0 - 5.10.124linux
Linux/Linux < 5.7
Linux/Linux 5.10.124 - 5.10.*
Linux/Linux 5.15.45 - 5.15.*
Linux/Linux 5.17.13 - 5.17.*
Linux/Linux 5.18.2 - 5.18.*
Linux/Linux 5.19
... and 7 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026