ocfs2: Fix Data Corruption by fallocate in Kernel

Kernel Updated 02 Oct 2025

Summary

25/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000816: ocfs2: fix data corruption by fallocate. Affects Kernel versions < 0a31dd6fd2f4e7db538fb6eb1f06973d81f8dd3b. 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 Penetration testing for web, API and mobile 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 is a file system designed for use with Oracle Cluster File System 2 (OCFS2). OCFS2 is a shared-disk file system that allows multiple nodes to concurrently access the same file system. It provides features like high availability, scalability, and performance for clustered environments. However, a vulnerability has been discovered in ocfs2 related to the fallocate system call.

Vulnerability Detail

The vulnerability in ocfs2 is related to the fallocate system call. This system call is used to preallocate or deallocate disk space for a file. The vulnerability allows an attacker to corrupt data by manipulating the fallocate system call. By exploiting this vulnerability, an attacker could potentially modify or delete data on the file system, leading to data loss or unauthorized access to sensitive information. The vulnerability was fixed in Linux Kernel version v5.12.10 by commit 0a31dd6fd2f4e7db538fb6eb1f06973d81f8dd3b.

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 apply the fix by updating the Linux Kernel to the patched version.

Conclusion

The ocfs2 package in the Linux Kernel is vulnerable to data corruption through the fallocate system call. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.12.10 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ocfs2 is a file system designed for use with Oracle Cluster File System 2 (OCFS2). It provides features like high availability, scalability, and performance for clustered environments.

The fallocate system call is used to preallocate or deallocate disk space for a file.

The vulnerability allows an attacker to corrupt data by manipulating the fallocate system call. This could lead to data loss or unauthorized access to sensitive information.

To fix the vulnerability, update the Linux Kernel to version v5.12.10 or later.

There is no known workaround for this vulnerability. It is essential to apply the fix by updating the Linux Kernel.

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