ocfs2: Fix Data Corruption by fallocate

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000725: ocfs2: fix data corruption by fallocate. Affects Kernel versions < 33e03adafb29eedae1bae9cdb50c1385279fcf65. 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 component of the Linux Kernel ecosystem. It is responsible for providing a clustered file system for Linux. The ocfs2 file system allows multiple nodes to access the same storage simultaneously, enabling high availability and scalability for enterprise applications. However, a vulnerability has been discovered in ocfs2 that can lead to data corruption when using the fallocate system call.

Vulnerability Detail

The vulnerability in ocfs2 arises when using the fallocate system call. This system call is used to preallocate space for a file, but due to a flaw in ocfs2, it can result in data corruption. An attacker could potentially exploit this vulnerability to manipulate or destroy data on the file system. The vulnerability was fixed in Linux Kernel version v4.9.272 by commit 33e03adafb29eedae1bae9cdb50c1385279fcf65.

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 crucial to update the Linux Kernel to the fixed version to ensure the security and integrity of the ocfs2 file system.

Conclusion

The ocfs2 package in the Linux Kernel is vulnerable to data corruption when using the fallocate system call. It is crucial to update the Linux Kernel to version v4.9.272 or later to fix this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ocfs2 is a clustered file system for Linux that allows multiple nodes to access the same storage simultaneously, providing high availability and scalability for enterprise applications.

The fallocate system call is used to preallocate space for a file. It can be used to optimize file allocation and improve performance.

The vulnerability can lead to data corruption in the ocfs2 file system. An attacker could potentially manipulate or destroy data on the file system.

To fix this vulnerability, update the Linux Kernel to version v4.9.272 or later. Compile and install the updated kernel on your system.

No, there is no known workaround for this vulnerability. Updating the Linux Kernel is the recommended solution.

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