Vulnerability in ceph: Fix Inode Leak on Getattr Error in __fh_to_dentry

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000415: ceph: fix inode leak on getattr error in __fh_to_dentry. Affects Kernel versions >= 807460787179dee5f74906965eeb5f3ca2353992, < 2ad8af2b70e986284050213230428b823b950a38. 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

Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability. It is commonly used in cloud computing environments to store and manage large amounts of data. The vulnerability in ceph affects the Linux Kernel, which is the core component of the Linux operating system. The Linux Kernel is responsible for managing system resources and providing an interface for applications to interact with the hardware. This vulnerability specifically impacts the __fh_to_dentry function in ceph, which is used to convert a file handle to a directory entry. The vulnerability allows an attacker to cause an inode leak when a getattr error occurs in __fh_to_dentry.

Vulnerability Detail

The vulnerability in ceph arises from a flaw in the __fh_to_dentry function. When a getattr error occurs in this function, it fails to properly release the associated inode, leading to an inode leak. This can result in resource exhaustion and potential denial of service attacks. An attacker could exploit this vulnerability by repeatedly triggering getattr errors in __fh_to_dentry, causing a significant number of inodes to be leaked and consuming system resources. It is important to note that the impact and attack plausibility of this vulnerability have not yet been proven.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability in ceph has been fixed in Linux Kernel version v5.4.120. To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.120 or later. This can be done by downloading the latest stable version of the Linux Kernel from the official repository and following the installation instructions provided. Additionally, it is advisable to regularly update the Linux Kernel to ensure that the system is protected against known vulnerabilities.

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.

Conclusion

In conclusion, the vulnerability in ceph that causes an inode leak on getattr error in __fh_to_dentry has been identified and fixed in Linux Kernel version v5.4.120. It is crucial to update the Linux Kernel to the latest version to ensure the system is protected against this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability. It is commonly used in cloud computing environments to store and manage large amounts of data.

The Linux Kernel is the core component of the Linux operating system. It is responsible for managing system resources and providing an interface for applications to interact with the hardware.

__fh_to_dentry is a function in ceph that is used to convert a file handle to a directory entry.

An inode is a data structure in a file system that stores metadata about a file or directory, such as its permissions, ownership, and location on disk.

The vulnerability in ceph can lead to resource exhaustion and potential denial of service attacks. An attacker could exploit this vulnerability to consume system resources by causing an inode leak.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability in ceph has been fixed in Linux Kernel version v5.4.120. To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.120 or later. This can be done by downloading the latest stable version of the Linux Kernel from the official repository and following the installation instructions provided. Additionally, it is advisable to regularly update the Linux Kernel to ensure that the system is protected against known vulnerabilities.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.