ext4: Avoid Cycles in Directory H-Tree
Summary
GSD-2022-1003698: ext4: avoid cycles in directory h-tree. Affects Kernel versions < e157c8f87e8fac112d6c955e69a60cdb9bc80a60. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The ext4 package is a file system driver for the Linux kernel. It provides support for the fourth extended file system (ext4) and is widely used in Linux distributions. The ext4 file system is known for its performance, scalability, and reliability. However, a vulnerability has been discovered in the ext4 package that could potentially lead to cycles in the directory h-tree structure.
Vulnerability Detail
The vulnerability in the ext4 package allows for the creation of cycles in the directory h-tree structure. This can lead to various issues, such as infinite loops or incorrect directory traversal. An attacker could potentially exploit this vulnerability to cause a denial of service (DoS) by causing the file system to become unresponsive or crash. The vulnerability has been fixed in Linux Kernel version v5.4.198 by commit e157c8f87e8fac112d6c955e69a60cdb9bc80a60.
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 necessary to update the Linux Kernel to the fixed version.
Conclusion
The ext4 package is vulnerable to a potential denial of service (DoS) attack due to the creation of cycles in the directory h-tree structure. It is crucial to update the Linux Kernel to version v5.4.198 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The ext4 package is a file system driver for the Linux kernel that provides support for the ext4 file system.
The directory h-tree structure is a data structure used by the ext4 file system to organize and store directory entries efficiently.
This vulnerability could lead to denial of service (DoS) by causing the file system to become unresponsive or crash.
Yes, this vulnerability has been fixed in Linux Kernel version v5.4.198 by commit e157c8f87e8fac112d6c955e69a60cdb9bc80a60.
To update the Linux Kernel, you can download the latest kernel source code from the official Linux Kernel repository and compile it for your system.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.