Vulnerability in tpm: fix reference counting for struct tpm_chip
Summary
GSD-2022-1001936: tpm: fix reference counting for struct tpm_chip. Affects Kernel versions >= fdc915f7f71939ad5a3dda3389b8d2d7a7c5ee66, < 662893b4f6bd466ff9e1cd454c44c26d32d554fe. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.