cveboard RSS feed

CVE-2022-50226

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2022
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak

In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak For some sev ioctl interfaces, input may be passed that is 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 buffer, the sev ioctl interfaces with the issue may return uninitialized slab memory. Currently, all of the ioctl interfaces in the ccp driver are safe, but to prevent future problems, change all ioctl interfaces that allocate memory with kmalloc to use kzalloc and memset the data buffer to zero in sev_ioctl_do_platform_status.

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
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
e799035609e1526761aa2f896a974b233d04d36daffectedgit4c5300f6f5e18b11c02a92f136e69b98fddba15eUnavailableNone listed
e799035609e1526761aa2f896a974b233d04d36daffectedgitf2a920daa780956b987c14b9f23de7c3c8915bf2UnavailableNone listed
e799035609e1526761aa2f896a974b233d04d36daffectedgitcaa395aa16e7c9193fd7fa6cde462dd8229d4953UnavailableNone listed
e799035609e1526761aa2f896a974b233d04d36daffectedgite11fb0a3a39bb42da35fa662c46ce7391f277436UnavailableNone listed
e799035609e1526761aa2f896a974b233d04d36daffectedgit13dc15a3f5fd7f884e4bfa8c011a0ae868df12aeUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.16affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.16UnavailableNone listed
5.10.173unaffectedsemverUnavailable5.10.*None listed
5.15.61unaffectedsemverUnavailable5.15.*None listed
5.18.18unaffectedsemverUnavailable5.18.*None listed
5.19.2unaffectedsemverUnavailable5.19.*None listed
6.0unaffectedoriginal_commit_for_fixUnavailable*None listed