Vulnerability in tpm: fix reference counting for struct tpm_chip
Summary
GSD-2022-1002456: tpm: fix reference counting for struct tpm_chip. Affects Kernel versions >= fdc915f7f71939ad5a3dda3389b8d2d7a7c5ee66, < 473a66f99cb8173c14138c5a5c69bfad04e8f9ac. 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 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 →
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.