f2fs: fix panic during f2fs_resize_fs() in Kernel

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

UVI-2021-1000337: f2fs: fix panic during f2fs_resize_fs(). Affects Kernel versions >= b4b10061ef98c583bcf82a4200703fbaa98c18dc, < 1c20a4896409f5ca1c770e1880c33d0a28a8b10f. 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 Kernel is a crucial component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The f2fs (Flash-Friendly File System) is a file system specifically designed for NAND-based flash storage devices. It is optimized for flash memory characteristics and offers features like wear-leveling and garbage collection to enhance performance and longevity. However, a vulnerability has been identified in the f2fs module that can lead to a panic during the f2fs_resize_fs() function.

Vulnerability Detail

The vulnerability arises from a flaw in the f2fs_resize_fs() function within the f2fs module. When triggered, this vulnerability can cause a panic, resulting in a system crash. The exact impact and attack vectors are yet to be proven, but the potential consequences include denial of service, data corruption, or unauthorized access to sensitive information. The vulnerability was introduced in version v5.8 of the Linux Kernel by commit b4b10061ef98c583bcf82a4200703fbaa98c18dc and has been fixed in version v5.10.38 by commit 1c20a4896409f5ca1c770e1880c33d0a28a8b10f.

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 →

Conclusion

The f2fs module in the Linux Kernel is vulnerable to a flaw that can lead to a panic during the f2fs_resize_fs() function. To mitigate this vulnerability, it is crucial to update the Kernel to version v5.10.38 or later. Regularly monitoring and applying security patches and updates is essential to ensure the overall security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The f2fs (Flash-Friendly File System) module is a file system specifically designed for NAND-based flash storage devices. It offers optimized performance and longevity by leveraging flash memory characteristics and implementing features like wear-leveling and garbage collection.

The exact impact of this vulnerability is yet to be proven, but it can potentially lead to a system crash (panic), resulting in denial of service, data corruption, or unauthorized access to sensitive information.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.38 or later. This can be done by obtaining the latest stable release from the official Linux Kernel repository and following the installation instructions provided.

Yes, this vulnerability has been fixed in version v5.10.38 of the Linux Kernel by commit 1c20a4896409f5ca1c770e1880c33d0a28a8b10f.

No, there are no known workarounds for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

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