f2fs: Fix Compressed File Start Atomic Write Data Corruption

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001886: f2fs: fix compressed file start atomic write may cause data corruption. Affects Kernel versions >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 0f42a02e4773efc4f1edf202fc73d0cd14e8fb09. 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 f2fs package is a file system designed for flash-based storage devices in the Linux kernel. It provides efficient data management and supports various features such as compression. The compressed file start atomic write vulnerability affects versions of the Linux kernel from v5.6 to v5.15.32. This vulnerability can lead to data corruption when performing atomic writes on compressed files.

Vulnerability Detail

The f2fs package in the Linux kernel has a vulnerability that can cause data corruption when starting an atomic write operation on compressed files. This vulnerability was introduced in version v5.6 and fixed in version v5.15.33. An attacker could exploit this vulnerability to manipulate the data being written, potentially leading to data corruption or unauthorized modifications.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, users should update their Linux kernel to version v5.15.33 or later. This can be done by downloading the latest kernel source code from the official Linux kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions.

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 recommended to update to the latest version of the Linux kernel as soon as possible.

Conclusion

The f2fs package in the Linux kernel has a vulnerability that can cause data corruption when starting an atomic write operation on compressed files. It is crucial to update to the latest version of the Linux kernel (v5.15.33 or later) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

f2fs is a file system designed for flash-based storage devices in the Linux kernel. It provides efficient data management and supports various features such as compression.

This vulnerability can lead to data corruption when performing atomic writes on compressed files in the f2fs file system.

To fix this vulnerability, update your Linux kernel to version v5.15.33 or later.

There is no known workaround for this vulnerability. It is recommended to update to the latest version of the Linux kernel.

You can find more information about this vulnerability in the official Linux kernel repository and the vulnerability database.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, users should update their Linux kernel to version v5.15.33 or later. This can be done by downloading the latest kernel source code from the official Linux kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions.

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.