Vulnerability in Kernel package: tpm: use try_get_ops() in tpm-space.c

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001931: tpm: use try_get_ops() in tpm-space.c. Affects Kernel versions < 476ddd23f818fb94cf86fb5617f3bb9a7c92113d. 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 Penetration testing for web, API and mobile 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 package is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It includes various subsystems, such as the TPM (Trusted Platform Module) subsystem, which handles interactions with TPM hardware. The TPM subsystem is responsible for managing cryptographic keys, secure boot, and other security-related operations. However, a vulnerability has been discovered in the tpm-space.c file, which is part of the TPM subsystem.

Vulnerability Detail

The vulnerability in tpm-space.c arises from the improper usage of the TPM operations. Specifically, the code does not utilize the try_get_ops() function, which is designed to safely acquire a reference to the TPM operations structure. This oversight could potentially lead to memory corruption or other security issues. While the exact impact and attack vectors have not been proven, it is crucial to address this vulnerability to ensure the integrity and security 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

There is no specific workaround mentioned for this vulnerability. It is advised to follow the recommended fix and update the Linux Kernel to the latest version.

Conclusion

In conclusion, a vulnerability has been identified in the Kernel package's TPM subsystem, specifically in the tpm-space.c file. This vulnerability can be mitigated by updating the Linux Kernel to version v5.15.32 or later. It is crucial to address this issue to ensure the security and integrity of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices.

The TPM subsystem is responsible for managing cryptographic keys, secure boot, and other security-related operations.

tpm-space.c is a file within the TPM subsystem that handles interactions with TPM hardware.

try_get_ops() is a function designed to safely acquire a reference to the TPM operations structure.

To fix this vulnerability, update the Linux Kernel to version v5.15.32 or later.

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