Open Source Vulnerability in Kernel: coresight: tmc-etf

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001291: coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer(). Affects Kernel versions >= 0c3fc4d5fa26092853278145aca9b21fa52a3e93, < 35c1c4bd2d59ad734129d4e232af9d1098023918. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It is responsible for managing system resources, including memory, processes, and input/output operations. The coresight module within the Kernel enables debugging and tracing capabilities for ARM-based systems. The tmc-etf component of coresight is responsible for managing the Embedded Trace FIFO (ETF) buffer. This buffer is used to store trace data for debugging purposes. However, a global-out-of-bounds vulnerability has been identified in the tmc_update_etf_buffer() function, which can potentially lead to security breaches and system instability.

Vulnerability Detail

The global-out-of-bounds vulnerability in tmc_update_etf_buffer() arises from improper bounds checking when updating the ETF buffer. An attacker could exploit this vulnerability by crafting a malicious input that exceeds the bounds of the buffer, leading to memory corruption and potential code execution. The impact of this vulnerability could range from information disclosure to privilege escalation, depending on the attacker's capabilities. It is important to note that the actual impact and attack plausibility have not been proven yet. The vulnerability was introduced in Kernel version v4.14 and has been fixed in version v5.10.51 by commit 35c1c4bd2d59ad734129d4e232af9d1098023918.

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

As a temporary workaround, users can disable the tmc-etf module to mitigate the risk of exploitation. This can be achieved by blacklisting the module or removing it from the Kernel configuration. However, it is important to note that this workaround may disable important debugging and tracing capabilities provided by the tmc-etf module. Therefore, it is recommended to apply the official fix as soon as possible.

Conclusion

The global-out-of-bounds vulnerability in the tmc-etf component of the Kernel can pose significant security risks and system instability. It is crucial to update the Kernel to version v5.10.51 or later to mitigate this vulnerability. Disabling the tmc-etf module temporarily can serve as a workaround but may impact important debugging and tracing capabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from information disclosure to privilege escalation, depending on the attacker's capabilities. However, the actual impact and attack plausibility have not been proven yet.

To fix this vulnerability, it is recommended to update the Kernel to version v5.10.51 or later. Detailed instructions can be found in the 'how_to_fix' section.

Yes, a temporary workaround is to disable the tmc-etf module. However, this may disable important debugging and tracing capabilities. It is recommended to apply the official fix as soon as possible.

The vulnerability was introduced in Kernel version v4.14 and has been fixed in version v5.10.51.

More information about this vulnerability can be found in the provided references link and the Vulert Playground at Vulert Scanner.

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