ext4: Avoid Cycles in Directory H-Tree Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003237: ext4: avoid cycles in directory h-tree. Affects Kernel versions < 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc. 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 Penetration testing for web, API and mobile 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 an interface for applications to interact with the hardware. The ext4 filesystem is a widely used filesystem in Linux, known for its performance and reliability. It organizes files and directories in a hierarchical structure. The directory h-tree is a data structure used by ext4 to efficiently store and retrieve directory entries. However, a vulnerability has been discovered in the ext4 filesystem that allows for the creation of cycles in the directory h-tree, leading to potential issues with directory traversal and file system corruption.

Vulnerability Detail

The vulnerability in the ext4 filesystem allows an attacker to create directory h-tree structures that contain cycles. This can be achieved by manipulating the filesystem in a way that creates loops in the directory structure. When a cycle exists in the h-tree, it can lead to infinite loops during directory traversal operations, causing the system to become unresponsive or crash. Additionally, the presence of cycles in the h-tree can result in file system corruption, leading to data loss or unauthorized access to sensitive information.

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 by updating the Linux Kernel as mentioned in the 'how_to_fix' section.

Conclusion

The ext4: Avoid Cycles in Directory H-Tree vulnerability in the Linux Kernel can lead to system instability, data loss, and unauthorized access to sensitive information. It is crucial to update the Linux Kernel to version v5.15.46 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 ext4 filesystem is a widely used filesystem in Linux, known for its performance and reliability. It organizes files and directories in a hierarchical structure.

The directory h-tree is a data structure used by the ext4 filesystem to efficiently store and retrieve directory entries. It allows for fast directory traversal and lookup operations.

The vulnerability allows for the creation of cycles in the directory h-tree, leading to potential issues with directory traversal. This can cause the system to become unresponsive or crash due to infinite loops during directory traversal operations.

Yes, the presence of cycles in the directory h-tree can result in file system corruption, leading to potential data loss or unauthorized access to sensitive information.

To fix the vulnerability, users should update their Linux Kernel to version v5.15.46 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository and compiling it for their specific system.

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