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-1001271: f2fs: fix compressed file start atomic write may cause data corruption. Affects Kernel versions >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 9fa8e3e691b344348651d8b1f52666be70138724. 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 Your last release was probably never penetration tested 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 supports various features such as compression. The compressed file start atomic write vulnerability affects versions of the Linux kernel from v5.6 to v5.17.2. 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.17.2. An attacker could exploit this vulnerability to manipulate the data being written, potentially leading to data corruption or other malicious actions. It is important to update to the fixed version to mitigate this vulnerability.

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 update to the fixed 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 fixed version of the Linux kernel (v5.17.2 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

This vulnerability can lead to data corruption when performing atomic writes on compressed files in the f2fs package of the Linux kernel.

An attacker could exploit this vulnerability to manipulate the data being written, potentially leading to data corruption or other malicious actions.

Versions of the Linux kernel from v5.6 to v5.17.1 are affected by this vulnerability.

No, there is no known workaround for this vulnerability. It is recommended to update to the fixed version of the Linux kernel.

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

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