ftrace: Blind Read IP Address Vulnerability in Kernel

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000837: ftrace: Do not blindly read the ip address in ftrace_bug(). Affects Kernel versions >= 05736a427f7e16be948ccbf39782bd3a6ae16b14, < 4aedc2bc2b32c93555f47c95610efb89cc1ec09b. 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 is a critical component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between processes, and handles device drivers. The ftrace subsystem within the Kernel allows for tracing and debugging of function calls. It provides valuable insights into the execution flow of the Kernel and can be used for performance analysis and troubleshooting. However, a vulnerability has been discovered in the ftrace subsystem that could potentially lead to security issues.

Vulnerability Detail

The ftrace subsystem in the Kernel blindly reads the IP address in the ftrace_bug() function. This blind read operation can be exploited by an attacker to manipulate the IP address and potentially execute arbitrary code or trigger a denial-of-service (DoS) condition. The vulnerability was introduced in version v2.6.28 of the Kernel and has been present until version v4.9.273. If left unpatched, this vulnerability could allow an attacker to gain unauthorized access, escalate privileges, or disrupt the normal functioning of the system.

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 workaround, users can disable the ftrace subsystem if it is not required for their specific use case. This can be achieved by modifying the Kernel configuration and rebuilding it without the ftrace feature. However, disabling ftrace may impact the ability to trace and debug function calls, so this workaround should be carefully evaluated before implementation.

Conclusion

The ftrace blind read IP address vulnerability in the Kernel can pose significant security risks if left unpatched. It is crucial to update the Linux Kernel to version v4.9.273 or later to address this vulnerability. Disabling the ftrace subsystem can serve as a temporary workaround, but it may impact the ability to trace and debug function calls. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The ftrace subsystem is a tracing and debugging feature in the Linux Kernel that allows for the monitoring and analysis of function calls. It provides valuable insights into the execution flow of the Kernel and can be used for performance analysis and troubleshooting.

An attacker can exploit this vulnerability by manipulating the IP address read by the ftrace subsystem. This manipulation can lead to the execution of arbitrary code or trigger a denial-of-service (DoS) condition.

If exploited, this vulnerability could allow an attacker to gain unauthorized access, escalate privileges, or disrupt the normal functioning of the system.

The vulnerability was introduced in version v2.6.28 of the Kernel and has been present until version v4.9.273.

Yes, the vulnerability has been fixed in version v4.9.273 of the Linux Kernel. It is recommended to update to this version or later to mitigate the risk.

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