Vulnerability in Kernel - crypto: ccp - Ensure psp_ret is always init'd in __sev_platform_init_locked()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001894: crypto: ccp - Ensure psp_ret is always init'd in __sev_platform_init_locked(). Affects Kernel versions >= c0713b3017a8057819173830dc273c8fec4b0b77, < 0e67b3e1f93a6d368ab0cebce5b3ef5e6af785a1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It is responsible for managing system resources, facilitating communication between different software components, and ensuring the overall stability and security of the system. The crypto subsystem within the Kernel provides cryptographic services and algorithms for various security-related operations. One of the components in the crypto subsystem is the ccp (Cryptographic Coprocessor) module, which utilizes hardware acceleration for cryptographic operations. However, a vulnerability has been identified in the ccp module that can lead to potential security risks.

Vulnerability Detail

The vulnerability in the ccp module specifically affects the __sev_platform_init_locked() function. In certain scenarios, the variable 'psp_ret' is not properly initialized, which can result in uninitialized memory usage. This vulnerability could potentially be exploited by an attacker to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not yet been proven, but it is crucial to address it to ensure the security and integrity of the system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can apply the patch provided in commit 0e67b3e1f93a6d368ab0cebce5b3ef5e6af785a1 manually. Here is the code snippet for the patch:

-    u32 psp_ret;
+    u32 psp_ret = 0;

Conclusion

The vulnerability in the Kernel's ccp module can lead to potential security risks, including unauthorized access and arbitrary code execution. It is crucial to update the Linux Kernel to the latest version to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces between hardware and software.

The crypto subsystem in the Kernel provides cryptographic services and algorithms for various security-related operations.

The ccp (Cryptographic Coprocessor) module is a component in the crypto subsystem that utilizes hardware acceleration for cryptographic operations.

The impact of this vulnerability is not yet proven, but it could potentially allow unauthorized access, arbitrary code execution, or denial-of-service attacks.

To fix this vulnerability, update the Linux Kernel to version v5.15.33 or later, which includes the necessary fix for the ccp module.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback