Vulnerability in Kernel package: 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-1002381: tpm: fix reference counting for struct tpm_chip. Affects Kernel versions >= fdc915f7f71939ad5a3dda3389b8d2d7a7c5ee66, < cb64bd038beacb4331fe464a36c8b5481e8f51e2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices and system resources. One of its components, tpm_chip, is responsible for managing Trusted Platform Modules (TPMs) that provide hardware-based security features. TPMs are used for cryptographic operations and secure storage of sensitive data. However, a vulnerability has been discovered in the reference counting mechanism of struct tpm_chip, which could 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 trigger use-after-free conditions. This could potentially result in privilege escalation, denial of service, or arbitrary code execution. The vulnerability was introduced in version v4.12 of the Linux Kernel and has been fixed in version v4.19.238. The fix ensures proper reference counting, preventing the exploitation of this vulnerability.

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. However, as a general best practice, it is advisable to keep the software and packages up to date with the latest security patches and updates. Regularly checking for and applying updates helps mitigate the risk of known vulnerabilities.

Conclusion

In conclusion, the vulnerability in the Kernel package's struct tpm_chip reference counting poses potential security risks, including memory corruption and arbitrary code execution. It is crucial to update the Linux Kernel package to version v4.19.238 or later to mitigate these risks. Regularly applying security updates and following best practices for software maintenance is essential to ensure the security and stability of the system. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability could potentially allow an attacker to execute arbitrary code, escalate privileges, or cause denial of service.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any known vulnerabilities.

At the time of this report, there are no known public exploits for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.

The exact conditions for remote exploitation are not specified in the vulnerability details. However, it is always recommended to apply security updates as soon as they become available to minimize the risk of remote exploitation.

For more details about this vulnerability, including the specific code changes and commits, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002381.json

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