Vulnerability in tpm: fix reference counting for struct tpm_chip

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001936: tpm: fix reference counting for struct tpm_chip. Affects Kernel versions >= fdc915f7f71939ad5a3dda3389b8d2d7a7c5ee66, < 662893b4f6bd466ff9e1cd454c44c26d32d554fe. 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 tpm package is a component of the Linux Kernel that provides support for Trusted Platform Modules (TPMs). TPMs are hardware devices that provide cryptographic functions and secure storage for sensitive data. The tpm_chip structure is used to represent a TPM chip in the kernel. This vulnerability in the reference counting mechanism of struct tpm_chip can lead to potential security issues.

Vulnerability Detail

The vulnerability in struct tpm_chip's reference counting can be exploited by an attacker to cause memory corruption or other security issues. The flaw was introduced in version v4.12 of the Linux Kernel and was fixed in version v5.15.33. By manipulating the reference counting, an attacker may be able to gain unauthorized access to sensitive information or execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later. This fix addresses the issue with the reference counting mechanism in struct tpm_chip. Updating the kernel ensures that the vulnerability is patched and the system is protected.

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. The recommended approach is to update the Linux Kernel to the fixed version.

Conclusion

The vulnerability in the reference counting mechanism of struct tpm_chip can pose security risks, including potential memory corruption and unauthorized access. It is crucial to update the Linux Kernel to version v5.15.33 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The tpm package is a component of the Linux Kernel that provides support for Trusted Platform Modules (TPMs). TPMs are hardware devices that provide cryptographic functions and secure storage for sensitive data.

struct tpm_chip is a data structure used in the Linux Kernel to represent a TPM chip. It contains information and functionality related to the TPM device.

By manipulating the reference counting mechanism in struct tpm_chip, an attacker may be able to cause memory corruption or execute arbitrary code, potentially leading to unauthorized access or other security issues.

This vulnerability was introduced in version v4.12 of the Linux Kernel.

Yes, this vulnerability has been fixed in version v5.15.33 of the Linux Kernel.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later. This fix addresses the issue with the reference counting mechanism in struct tpm_chip. Updating the kernel ensures that the vulnerability is patched and the system is protected.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.