Memory Leak Vulnerability in Linux Kernel Affecting CCP Driver
CVE-2022-50226

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
18 June 2025

What is CVE-2022-50226?

In the Linux kernel's CCP driver, a vulnerability exists in certain SEV ioctl interfaces that could lead to the exposure of uninitialized memory. When input data is passed to these interfaces, the system may allocate memory based on the input size rather than the actual data size returned by the PSP firmware. If the PSP firmware does not overwrite the allocated buffer completely, this can result in sensitive information being revealed from uninitialized slab memory. While all current ioctl interfaces in the CCP driver are deemed safe, it is vital to transition memory allocation from kmalloc to kzalloc. This adjustment ensures that the data buffer is cleared, helping to mitigate risks associated with potential future vulnerabilities.

Affected Version(s)

Linux e799035609e1526761aa2f896a974b233d04d36d < 4c5300f6f5e18b11c02a92f136e69b98fddba15e

Linux e799035609e1526761aa2f896a974b233d04d36d

Linux e799035609e1526761aa2f896a974b233d04d36d

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2022-50226 : Memory Leak Vulnerability in Linux Kernel Affecting CCP Driver