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-1001283: f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances. Affects Kernel versions < 86786603014e0a22d0d6af8e80ae4b8687927048. 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 f2fs file system is used by various devices, including smartphones, tablets, and embedded systems. However, multiple instances of the f2fs file system can lead to a race condition on the fsync_entry_slab, which can result in potential security vulnerabilities.

Vulnerability Detail

The vulnerability in the f2fs package arises from a race condition on the fsync_entry_slab when multiple instances of the file system are present. This race condition can be exploited by an attacker to manipulate or corrupt data, potentially leading to data loss or unauthorized access. The vulnerability has been identified and fixed in the Linux Kernel version v5.10.51 by commit 86786603014e0a22d0d6af8e80ae4b8687927048.

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 available for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

Conclusion

The f2fs package in the Linux Kernel is vulnerable to a race condition on the fsync_entry_slab when multiple instances of the file system are present. This vulnerability can be mitigated by updating the Linux Kernel to version v5.10.51 or later. It is recommended to follow the provided steps to fix the vulnerability and ensure the security of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

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 vulnerability can be exploited by an attacker to manipulate or corrupt data, potentially leading to data loss or unauthorized access.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.51 or later.

There is no specific workaround available for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

For more details about this vulnerability, you can refer to the source link provided in the database_specific section of the vulnerability details.

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