Vulnerability in Linux Kernel: ftrace - Clean up hash direct_functions on register failures

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003548: ftrace: Clean up hash direct_functions on register failures. Affects Kernel versions >= 763e34e74bb7d5c316015e2e39fcc8520bfd071c, < 82c888e51c2176a06f8b4541cf748ee81aac6e7e. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing essential functionality. It is an open-source project that is constantly being developed and maintained by a large community of contributors. The ftrace subsystem in the Linux Kernel provides a framework for tracing and profiling kernel functions. It allows developers and system administrators to monitor and analyze the execution flow of the kernel. However, a vulnerability has been discovered in the ftrace subsystem that could potentially be exploited by attackers to gain unauthorized access or execute arbitrary code on a vulnerable system.

Vulnerability Detail

The vulnerability in the ftrace subsystem of the Linux Kernel arises from a failure to properly clean up the hash direct_functions on register failures. This can lead to a situation where an attacker can manipulate the direct function hash table, potentially allowing them to execute arbitrary code with elevated privileges. The impact of this vulnerability can vary depending on the specific system configuration and the privileges of the attacker. However, if successfully exploited, it could result in a complete compromise of the affected system. The vulnerability was introduced in version v5.5 of the Linux Kernel and has been fixed in version v5.10.121.

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 known workaround for this vulnerability. It is recommended to apply the fix mentioned above as soon as possible to mitigate the risk of exploitation.

Conclusion

In conclusion, a vulnerability has been discovered in the ftrace subsystem of the Linux Kernel that could potentially allow attackers to execute arbitrary code with elevated privileges. It is crucial to update the Linux Kernel to version v5.10.121 or later to mitigate the risk of exploitation. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The ftrace subsystem in the Linux Kernel provides a framework for tracing and profiling kernel functions. It allows developers and system administrators to monitor and analyze the execution flow of the kernel.

This vulnerability can be exploited by manipulating the direct function hash table in the ftrace subsystem. If successful, an attacker can execute arbitrary code with elevated privileges.

The impact of this vulnerability can vary depending on the specific system configuration and the privileges of the attacker. However, if successfully exploited, it could result in a complete compromise of the affected system.

Yes, this vulnerability has been fixed in version v5.10.121 of the Linux Kernel.

To protect your system from this vulnerability, it is recommended to update the Linux Kernel to version v5.10.121 or later.

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