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-1001040: ceph: fix inode reference leakage in ceph_get_snapdir(). Affects Kernel versions < b2d9bb3f06abddefdfa740b0a604575b6797e1bf. 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 scalable and reliable storage for large-scale data. It is commonly used in cloud computing environments and offers features such as object storage, block storage, and file storage. The vulnerability in question affects the Linux Kernel, which is a critical component of the operating system responsible for managing hardware resources and providing essential services to applications. The specific vulnerability, ceph_get_snapdir(), involves a reference leakage issue in the inode handling code of the Ceph file system. This vulnerability could potentially be exploited by an attacker to cause a denial of service or execute arbitrary code.

Vulnerability Detail

The vulnerability arises from a reference leakage in the ceph_get_snapdir() function. This function is responsible for retrieving the snapshot directory inode in the Ceph file system. Due to a coding error, the function fails to release the reference to the inode, leading to a resource leak. An attacker could potentially exploit this vulnerability by repeatedly triggering the function, causing a gradual depletion of system resources and potentially leading to a denial of service condition. Additionally, if an attacker can control the contents of the snapshot directory, they may be able to execute arbitrary code with elevated privileges.

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 essential to apply the fix by updating the Linux Kernel to the patched version.

Conclusion

The vulnerability in ceph_get_snapdir() poses a potential risk of resource depletion and arbitrary code execution. It is crucial to update the Linux Kernel to the patched version 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 that provides scalable and reliable storage for large-scale data. It is commonly used in cloud computing environments.

The Linux Kernel is a critical component of the operating system responsible for managing hardware resources and providing essential services to applications.

A reference leakage vulnerability occurs when a program fails to properly release a reference to a resource, leading to a resource leak and potential exploitation by an attacker.

The vulnerability could result in a denial of service condition or allow an attacker to execute arbitrary code with elevated privileges.

To fix the vulnerability, users should update their Linux Kernel to at least version v5.17.3, which includes the necessary patch.

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