Vulnerability in ceph: Fix Inode Reference Leakage in ceph_get_snapdir()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001708: ceph: fix inode reference leakage in ceph_get_snapdir(). Affects Kernel versions < 3ae7163598c611a8892698e0c056fe794e52b44b. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Ceph is a distributed storage system that provides object, block, and file storage. It is widely used in cloud computing and data centers. The ceph_get_snapdir() function is responsible for retrieving the snapshot directory inode in the Ceph file system. However, a vulnerability has been discovered in this function that leads to inode reference leakage. This vulnerability could potentially allow an attacker to exhaust system resources and cause a denial of service (DoS) condition.

Vulnerability Detail

The vulnerability in ceph_get_snapdir() arises from a failure to properly release inode references. When the function is called, it retrieves the snapshot directory inode and increments its reference count. However, if an error occurs during the retrieval process, the function fails to release the reference, resulting in a reference leakage. This can be exploited by an attacker to exhaust system resources by repeatedly triggering the error condition. The impact of this vulnerability can range from a temporary system slowdown to a complete system crash, depending on the severity of the resource exhaustion.

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

As this vulnerability has been fixed in the Linux Kernel, there is no specific workaround available. However, users can apply the fix by updating their Linux Kernel to version v5.15.34 or later.

Conclusion

The vulnerability in ceph_get_snapdir() has been addressed in the Linux Kernel version v5.15.34. It is recommended to update the Linux Kernel to this version or later to mitigate the 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 that provides object, block, and file storage. It is widely used in cloud computing and data centers.

ceph_get_snapdir() is a function in the Ceph file system that retrieves the snapshot directory inode.

The vulnerability can lead to resource exhaustion and cause a denial of service (DoS) condition. It can result in system slowdown or even a complete system crash.

The vulnerability has been fixed in Linux Kernel version v5.15.34. Update your Linux Kernel to this version or later to mitigate the vulnerability.

There is no specific workaround available as the vulnerability has been fixed in the Linux Kernel. Update your Linux Kernel to the fixed version.

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