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-1002456: tpm: fix reference counting for struct tpm_chip. Affects Kernel versions >= fdc915f7f71939ad5a3dda3389b8d2d7a7c5ee66, < 473a66f99cb8173c14138c5a5c69bfad04e8f9ac. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 tpm package affects versions 4.12 to 4.14.275 of the Linux Kernel.

Vulnerability Detail

The vulnerability in the tpm package is related to a reference counting issue in the struct tpm_chip. This issue can lead to memory leaks and potential use-after-free vulnerabilities. An attacker could potentially exploit this vulnerability to execute arbitrary code or escalate privileges. The vulnerability was introduced in version 4.12 of the Linux Kernel and has been fixed in version 4.14.276.

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 available for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

Conclusion

In conclusion, the tpm package in the Linux Kernel is vulnerable to a reference counting issue in the struct tpm_chip. This vulnerability can lead to memory leaks and potential use-after-free vulnerabilities. It is important to update the Linux Kernel to version 4.14.276 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.

This vulnerability can lead to memory leaks and potential use-after-free vulnerabilities. An attacker could potentially exploit this vulnerability to execute arbitrary code or escalate privileges.

Versions 4.12 to 4.14.275 of the Linux Kernel are affected by this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version 4.14.276 or later.

There is no specific workaround available for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

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