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-1001575: f2fs: fix compressed file start atomic write may cause data corruption. Affects Kernel versions >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 89b1c23591e0a86e7b82e013ca6ca62ffebf8a1c. 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 f2fs package is a file system designed for flash-based storage devices in the Linux kernel. It provides efficient data management and performance optimizations for these storage devices. The package supports features such as compression for files, allowing them to occupy less space on the storage medium. However, a vulnerability has been discovered in the f2fs package that can lead to data corruption when starting an atomic write operation on compressed files.

Vulnerability Detail

The vulnerability in the f2fs package occurs when initiating an atomic write operation on compressed files. This can result in data corruption, potentially leading to the loss or incorrect interpretation of data. The issue was introduced in version v5.6 of the Linux Kernel and has been fixed in version v5.16.19. The vulnerability can be exploited by an attacker with access to the affected system, allowing them to manipulate or corrupt data stored in compressed files.

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 recommended to apply the fix as soon as possible by updating the Linux Kernel.

Conclusion

The f2fs package in the Linux Kernel is vulnerable to data corruption when starting an atomic write operation on compressed files. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.16.19 or later. No known workarounds exist for this issue. If you require further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to data corruption in compressed files, potentially resulting in the loss or incorrect interpretation of data.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file, such as package-lock.json, and the playground will analyze it for any known vulnerabilities.

No, this vulnerability requires local access to the affected system in order to exploit it.

There are no known instances of this vulnerability being exploited in the wild at the time of this report.

For more details about this vulnerability, you can refer to the vulnerability ID GSD-2022-1001575 in the GSD database maintained by the Cloud Security Alliance. The link to the specific vulnerability entry is provided in the references section of this report.

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