Memory Leak in ceph_readdir in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001709: ceph: fix memory leak in ceph_readdir when note_last_dentry returns error. Affects Kernel versions < 2fe82d3254029ef9ec4e7be890125d5ef4f537de. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a crucial component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The ceph_readdir function is a part of the Kernel's Ceph file system implementation, responsible for reading directory entries. However, a memory leak vulnerability has been identified in ceph_readdir when the note_last_dentry function returns an error.

Vulnerability Detail

The memory leak vulnerability in ceph_readdir occurs when the note_last_dentry function encounters an error. This can lead to a continuous allocation of memory without proper deallocation, resulting in a gradual depletion of available memory resources. An attacker could potentially exploit this vulnerability to exhaust system memory, causing a denial-of-service (DoS) condition. The impact of this vulnerability may vary depending on the system's memory management capabilities and the attacker's ability to trigger the error condition.

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

No specific workaround has been mentioned for this vulnerability. It is advised to apply the recommended fix by updating the Linux Kernel to the latest version available.

Conclusion

In conclusion, the memory leak vulnerability in ceph_readdir within the Kernel can be mitigated by updating the Linux Kernel to version v5.15.34 or later. This fix addresses the issue and prevents potential exploitation. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a memory leak, potentially causing a gradual depletion of available memory resources and a denial-of-service (DoS) condition.

An attacker can exploit this vulnerability by triggering the error condition in the note_last_dentry function, leading to continuous memory allocation without proper deallocation.

Yes, updating the Linux Kernel to version v5.15.34 or later fixes this vulnerability.

No specific workarounds have been mentioned for this vulnerability. Updating the Kernel to the latest version is recommended.

For more information, you can refer to the vulnerability details in the Open Source Vulnerability format or consult the provided references.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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