ocfs2: Fix Data Corruption After Conversion from Inline Format

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002005: ocfs2: fix data corruption after conversion from inline format. Affects Kernel versions >= f8a6a2ed4b7d1c3c8631eeb6d00572bc853094a8, < b05caf023b14cbed9223bb5b48ecc7bffe38f632. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

ocfs2 is a file system implemented in the Linux Kernel. It is designed for use in a cluster environment, providing features such as shared storage and high availability. The ocfs2 file system uses an inline format to store small files directly in the inode structure, improving performance for these files. However, a vulnerability has been discovered that can lead to data corruption after the conversion from the inline format to the regular file format.

Vulnerability Detail

The vulnerability in ocfs2 occurs during the conversion process from the inline format to the regular file format. If this conversion is not handled correctly, it can result in data corruption. An attacker could potentially exploit this vulnerability to modify or delete files, leading to data loss or unauthorized access to sensitive information. The vulnerability was introduced in Linux Kernel version v5.4.75 and has been fixed in version v5.4.156.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.156 or later. This update includes the necessary patches to address the issue and prevent data corruption during the conversion process. Users should ensure they are running the latest stable version of the Linux Kernel to mitigate the risk of 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 provided fix by updating the Linux Kernel to the recommended version.

Conclusion

The ocfs2 file system is vulnerable to data corruption after the conversion from the inline format. To mitigate this risk, it is crucial to update the Linux Kernel to version v5.4.156 or later. This update includes the necessary patches to fix the vulnerability and prevent potential data loss or unauthorized access. 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 implemented in the Linux Kernel, designed for use in a cluster environment.

The vulnerability can lead to data corruption, potentially allowing an attacker to modify or delete files.

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

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

This vulnerability was discovered through security research and analysis of the ocfs2 file system.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.156 or later. This update includes the necessary patches to address the issue and prevent data corruption during the conversion process. Users should ensure they are running the latest stable version of the Linux Kernel to mitigate the risk of 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

Follow Vulert in Google

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