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-1000216: ceph: fix inode leak on getattr error in __fh_to_dentry. Affects Kernel versions >= 878dabb64117406abd40977b87544d05bb3031fc, < 0a219432127d396120fc88cabd82785e0ff72a2f. 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 underlying hardware. This vulnerability specifically impacts the __fh_to_dentry function in ceph, which is used to convert a file handle to a directory entry. When an error occurs during the getattr operation, an inode leak can occur, leading to potential resource exhaustion and instability of the system.

Vulnerability Detail

The vulnerability arises from a flaw in the __fh_to_dentry function in ceph. When an error occurs during the getattr operation, the function fails to properly release the inode, resulting in an inode leak. This can lead to resource exhaustion and instability of the system. An attacker could potentially exploit this vulnerability to cause a denial of service by repeatedly triggering the getattr operation and exhausting system resources. The vulnerability was introduced in Linux Kernel version v5.8 and has been fixed in version v5.12.5 by commit 0a219432127d396120fc88cabd82785e0ff72a2f.

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.

Conclusion

The vulnerability in ceph that causes an inode leak on getattr error in __fh_to_dentry can lead to resource exhaustion and system instability. It is crucial to update the Linux Kernel to version v5.12.5 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

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 underlying hardware.

The __fh_to_dentry function in ceph is used to convert a file handle to a directory entry. It is a critical part of the file system operations in ceph.

This vulnerability can lead to resource exhaustion and instability of the system. An attacker could potentially exploit it to cause a denial of service by exhausting system resources.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.12.5 or later. Instructions for updating the kernel can be found in the official Linux Kernel documentation.

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