Vulnerability in Kernel Package: tpm: efi: Use local variable for calculating final log size

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

UVI-2021-1000143: tpm: efi: Use local variable for calculating final log size. Affects Kernel versions >= 166a2809d65b282272c474835ec22c882a39ca1b, < 60a01ecc9f68067e4314a0b55148e39e5d58a51b. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel package is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It acts as a bridge between the hardware and software layers, enabling the execution of various processes and managing system resources. The tpm: efi module within the Kernel package is responsible for handling Trusted Platform Module (TPM) operations in the EFI (Extensible Firmware Interface) environment. TPM is a hardware-based security feature that provides cryptographic functions and secure storage for sensitive data. This vulnerability specifically affects the calculation of the final log size in the tpm: efi module.

Vulnerability Detail

The vulnerability arises from the improper use of a global variable for calculating the final log size in the tpm: efi module. By utilizing a local variable instead, the calculation can be performed securely and accurately. The impact of this vulnerability is not yet proven, but it has the potential to lead to security breaches or system instability. The vulnerability was introduced in version v5.3 of the Linux Kernel and has been fixed in version v5.10.36.

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.

Conclusion

In conclusion, the Kernel package's tpm: efi module is vulnerable to a flaw in the calculation of the final log size. This vulnerability can potentially result in security breaches or system instability. It is crucial to update the Kernel package to version v5.10.36 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 Kernel package is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices.

The tpm: efi module is responsible for handling Trusted Platform Module (TPM) operations in the EFI (Extensible Firmware Interface) environment.

A Trusted Platform Module (TPM) is a hardware-based security feature that provides cryptographic functions and secure storage for sensitive data.

The impact of this vulnerability is not yet proven, but it has the potential to lead to security breaches or system instability.

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

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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