Linux kernel: crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak
Overview
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.
- Published
- 6/18/2025
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 4.16, < 5.10.173 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.61 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 5.18.18 | Verify advisory | Source |
linux kernel linux | ≥ 5.19, < 5.19.2 | Verify advisory | Source |
Linux Linux | ≥ e799035609e1526761aa2f896a974b233d04d36d, < 4c5300f6f5e18b11c02a92f136e69b98fddba15e | Verify advisory | Source |
Linux Linux | ≥ e799035609e1526761aa2f896a974b233d04d36d, < f2a920daa780956b987c14b9f23de7c3c8915bf2 | Verify advisory | Source |
Linux Linux | ≥ e799035609e1526761aa2f896a974b233d04d36d, < caa395aa16e7c9193fd7fa6cde462dd8229d4953 | Verify advisory | Source |
Linux Linux | ≥ e799035609e1526761aa2f896a974b233d04d36d, < e11fb0a3a39bb42da35fa662c46ce7391f277436 | Verify advisory | Source |
Linux Linux | ≥ e799035609e1526761aa2f896a974b233d04d36d, < 13dc15a3f5fd7f884e4bfa8c011a0ae868df12ae | Verify advisory | Source |
Linux Linux | 4.16 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.