ocfs2: dlmfs: Fix error handling of user_dlm_destroy_lock

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002925: ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock. Affects Kernel versions < efb54ec548829e1d3605f0434526f86e345b1b28. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The ocfs2 package is a distributed file system for Linux that provides high availability and scalability. It is commonly used in clustered environments to allow multiple nodes to access the same file system simultaneously. The dlmfs component of ocfs2 is responsible for managing distributed locks. These locks are used to coordinate access to shared resources and prevent conflicts between multiple nodes. However, a vulnerability has been discovered in the user_dlm_destroy_lock function of dlmfs, which could lead to a denial of service or potentially allow an attacker to gain unauthorized access to the file system.

Vulnerability Detail

The vulnerability in ocfs2's dlmfs component lies in the error handling of the user_dlm_destroy_lock function. When this function fails to destroy a lock, it does not properly handle the error condition, potentially leaving the lock in an inconsistent state. This could lead to resource leaks or other unexpected behavior. An attacker could potentially exploit this vulnerability to cause a denial of service by repeatedly creating and destroying locks, exhausting system resources. Additionally, if an attacker can control the lock creation and destruction process, they may be able to manipulate the file system and gain unauthorized access to sensitive data.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in Linux Kernel version v5.17.14 by commit efb54ec548829e1d3605f0434526f86e345b1b28. To fix the vulnerability, users should update their Linux Kernel to version v5.17.14 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions.

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 in the 'how_to_fix' section.

Conclusion

The ocfs2 package's dlmfs component is vulnerable to a flaw in the error handling of the user_dlm_destroy_lock function. This vulnerability could lead to a denial of service or unauthorized access to the file system. Users should update their Linux Kernel to version v5.17.14 or later to fix the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ocfs2 is a distributed file system for Linux that provides high availability and scalability. It is commonly used in clustered environments to allow multiple nodes to access the same file system simultaneously.

dlmfs is a component of ocfs2 that is responsible for managing distributed locks. These locks are used to coordinate access to shared resources and prevent conflicts between multiple nodes.

The vulnerability could lead to a denial of service or potentially allow an attacker to gain unauthorized access to the file system.

To fix the vulnerability, users should update their Linux Kernel to version v5.17.14 or later.

There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in Linux Kernel version v5.17.14 by commit efb54ec548829e1d3605f0434526f86e345b1b28. To fix the vulnerability, users should update their Linux Kernel to version v5.17.14 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.