ocfs2: Race Condition in Searching Chunks and Releasing journal_head

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002192: ocfs2: fix race between searching chunks and release journal_head from buffer_head. Affects Kernel versions < 6f1b228529ae49b0f85ab89bcdb6c365df401558. 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 component of the Linux Kernel ecosystem. It provides a clustered file system for Linux, allowing multiple nodes to access and manage shared storage. The ocfs2 file system is designed to provide high availability and scalability for enterprise-level applications. However, a vulnerability has been discovered in ocfs2 that can lead to a race condition between searching chunks and releasing journal_head from buffer_head.

Vulnerability Detail

The vulnerability in ocfs2 arises from a race condition that occurs when searching for chunks and releasing journal_head from buffer_head concurrently. This race condition can result in inconsistent state and potential data corruption. An attacker could potentially exploit this vulnerability to manipulate the file system and gain unauthorized access to sensitive data. The vulnerability has been addressed in the Linux Kernel version v5.15 by commit 6f1b228529ae49b0f85ab89bcdb6c365df401558.

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 update the Linux Kernel to the fixed version or apply the specific commit to mitigate the risk of exploitation.

Conclusion

The vulnerability in ocfs2 that allowed a race condition between searching chunks and releasing journal_head from buffer_head has been addressed in the Linux Kernel version v5.15. It is crucial to update the kernel to the fixed version or apply the specific commit to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ocfs2 is a clustered file system for Linux that provides high availability and scalability for enterprise-level applications.

A race condition is a software flaw that occurs when multiple processes or threads access shared resources concurrently, leading to unexpected behavior or data corruption.

The vulnerability in ocfs2 can result in data corruption and unauthorized access to sensitive information.

Yes, the vulnerability has been fixed in the Linux Kernel version v5.15 by commit 6f1b228529ae49b0f85ab89bcdb6c365df401558.

To update the Linux Kernel, you can pull the latest updates from the official Linux Kernel repository or apply the specific commit to your existing kernel version.

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