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-1004042: ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock. Affects Kernel versions < 1434cd71ad9f3a6beda3036972983b6c4869207c. 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

The ocfs2 package is a part of the Linux Kernel ecosystem. It provides support for the Oracle Cluster File System 2 (OCFS2), which is a shared-disk file system designed for use in cluster environments. The dlmfs component within ocfs2 is responsible for managing distributed locks. These locks are used to coordinate access to shared resources among multiple nodes in a cluster.

Vulnerability Detail

The vulnerability identified as GSD-2022-1004042 in ocfs2:dmlfs is related to error handling in the user_dlm_destroy_lock function. The issue allows an attacker to trigger a race condition, leading to a use-after-free vulnerability. Exploiting this vulnerability could result in a denial of service (DoS) condition or potentially allow an attacker to execute arbitrary code with kernel 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 specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring they are running an updated version of the Linux Kernel.

Conclusion

The ocfs2:dmlfs vulnerability GSD-2022-1004042 has been identified and fixed in the Linux Kernel version v4.9.318. Users are advised to update their Linux Kernel to the latest version to ensure the vulnerability is patched. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ocfs2 is the Oracle Cluster File System 2, a shared-disk file system designed for use in cluster environments.

dlmfs is a component within ocfs2 that manages distributed locks used for coordinating access to shared resources in a cluster.

A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed. This can lead to unpredictable behavior and potential security issues.

A race condition is a situation where the behavior of a program depends on the relative timing of events. In this vulnerability, a race condition can be triggered, leading to the use-after-free vulnerability.

Exploiting this vulnerability could result in a denial of service (DoS) condition or allow an attacker to execute arbitrary code with kernel privileges.

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