ovl: Fix Leaked Dentry in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000161: ovl: fix leaked dentry. Affects Kernel versions >= 6815f479ca90ee7fd2e28b2a420f796b974155fe, < 71d58457a8afc650da5d3292a7f7029317654d95. 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 critical component of the Linux operating system that provides core functionality and acts as a bridge between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the security and stability of the system. The OverlayFS (ovl) is a filesystem implementation in the Kernel that allows multiple layers of directories and files to be combined into a single virtual filesystem. It is commonly used in containerization technologies like Docker. However, a vulnerability has been discovered in the ovl module that can lead to a leaked dentry, potentially impacting the security and performance of the system.

Vulnerability Detail

The vulnerability in the ovl module of the Kernel allows for a leaked dentry, which is a data structure used to represent directory entries. This can occur when a directory is deleted while it is still in use, leading to a reference to the deleted directory being retained in memory. An attacker could potentially exploit this vulnerability to gain unauthorized access to sensitive information or cause a denial-of-service by exhausting system resources. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.10.35.

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

If updating the Kernel is not immediately feasible, a workaround for this vulnerability is to avoid deleting directories that are still in use. This can be achieved by ensuring that all processes accessing a directory have finished their operations before attempting to delete it. Additionally, monitoring tools can be employed to detect and alert on any leaked dentry instances, allowing for timely remediation.

Conclusion

The ovl module in the Linux Kernel has been found to have a vulnerability that can lead to a leaked dentry. This can potentially be exploited by attackers to gain unauthorized access or cause a denial-of-service. It is crucial to update the Kernel to version v5.10.35 or later to fix this vulnerability. If immediate updating is not possible, following the provided workaround and implementing proper directory management practices can help mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

A dentry, short for directory entry, is a data structure used by the Linux Kernel to represent directory entries. It contains information about the name of the entry, its inode (index node), and other metadata.

By exploiting a leaked dentry, an attacker could potentially gain unauthorized access to sensitive information by traversing the directory structure or cause a denial-of-service by exhausting system resources.

The vulnerability was introduced in version v5.8 of the Linux Kernel. All versions between v5.8 and v5.10.34 are affected.

There is no evidence to suggest that this vulnerability has been actively exploited in the wild. However, it is still important to apply the necessary fixes to ensure the security and stability of the system.

The primary mitigation for this vulnerability is to update the Linux Kernel to version v5.10.35 or later. Additionally, implementing proper directory management practices and monitoring for leaked dentry instances can help mitigate the risk.

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