Vulnerability in Linux Kernel: ftrace Hash Direct_Functions Cleanup

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002663: ftrace: Clean up hash direct_functions on register failures. Affects Kernel versions >= 763e34e74bb7d5c316015e2e39fcc8520bfd071c, < a0392833a178cf109a57c2a9d4d531bdfc6cd98f. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, device drivers, and security features. One of its components, ftrace, is a tracing framework that allows developers to analyze the execution flow of the kernel and user-space code. It provides valuable insights for debugging and performance optimization. However, a vulnerability has been discovered in the ftrace component that requires attention and remediation.

Vulnerability Detail

The ftrace vulnerability involves the improper cleanup of hash direct_functions on register failures. When ftrace attempts to register certain functions, if the registration fails, the associated hash direct_functions are not properly cleaned up. This can lead to memory leaks and potential security risks. Although the exact impact and attack vectors have not been proven, it is crucial to address this vulnerability to ensure the stability and security of the Linux 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 →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.

Conclusion

The ftrace vulnerability in the Linux Kernel requires immediate attention to ensure the stability and security of systems utilizing this open-source operating system. It is recommended to update the Linux Kernel to version v5.18.3 or later, which includes the necessary fix for this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is the core component of the Linux operating system. It provides essential functionality for managing system resources, device drivers, and security features.

ftrace is a tracing framework in the Linux Kernel that allows developers to analyze the execution flow of the kernel and user-space code. It is useful for debugging and performance optimization.

The exact impact and attack vectors have not been proven. However, the vulnerability can lead to memory leaks and potential security risks.

To fix this vulnerability, update the Linux Kernel to version v5.18.3 or later, which includes the necessary fix for the ftrace issue.

No specific workaround has been mentioned. Updating to the fixed version is the recommended approach.

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