CVE-2022-49556
HighIn 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.
CVSS 3.1 score
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected versions
Linux kernel versions
5.7
and later are affected. Fixed in
5.10.124,
5.15.45,
5.17.13,
5.18.2,
5.19
and their respective stable series.
References
The following references provide additional information about CVE-2022-49556 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/401bef1f95de92c3a8c6eece46e02fa88d7285ee
-
PatchKernel patch commithttps://git.kernel.org/stable/c/57a01725339f9d82b099102ba2751621b1caab93
-
PatchKernel patch commithttps://git.kernel.org/stable/c/bbdcc644b59e01e98c68894a9fab42b9687f42b0
Frequently asked questions
-
What is CVE-2022-49556?
CVE-2022-49556 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 . It affects Linux kernel versions from 5.7 onward and has been patched in 5.10.124, 5.15.45, 5.17.13 and others. CVE-2022-49556 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49556?
CVE-2022-49556 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. -
Is there a patch available for CVE-2022-49556?
Yes — CVE-2022-49556 has been patched. Fixed versions include 5.10.124, 5.15.45, 5.17.13 and others. If you are running Linux kernel 5.7 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49556 actively exploited?
No — CVE-2022-49556 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.