f2fs: Fix to Avoid Racing on fsync_entry_slab by Multi Filesystem Instances

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001208: f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances. Affects Kernel versions < e472b276a0d2180808009be38105e12754432e2a. 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 wear-leveling algorithms to optimize performance and lifespan. The package is widely used in various Linux distributions and is an integral part of the operating system's file system infrastructure.

Vulnerability Detail

The vulnerability identified as GSD-2021-1001208 in the f2fs package allows for a race condition on the fsync_entry_slab when multiple filesystem instances are present. This race condition can lead to potential data corruption or loss when performing fsync operations. An attacker could potentially exploit this vulnerability to manipulate or corrupt data on the affected filesystems, leading to system instability or unauthorized access to sensitive information.

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 specific workaround mentioned for this vulnerability.

Conclusion

The f2fs package in the Linux Kernel is vulnerable to a race condition on the fsync_entry_slab when multiple filesystem instances are present. This vulnerability can result in data corruption or loss, potentially leading to system instability or unauthorized access to sensitive information. It is crucial to update the Linux Kernel to version v5.13.3 or later to mitigate this vulnerability. For more information and assistance, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to data corruption or loss on filesystems using the f2fs package. This can result in system instability or unauthorized access to sensitive information.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities, including GSD-2021-1001208, are found.

There are no known exploits for this vulnerability at the time of this report. However, it is important to apply the recommended fix to mitigate any potential risks.

You can find more details about this vulnerability in the GSD-2021-1001208 JSON report available on the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001208.json).

For further support or assistance in fixing this vulnerability, you can contact info@devnack.com. They can provide guidance and resources to help you address the vulnerability in your system.

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