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

GSD-2021-1000222: f2fs: fix panic during f2fs_resize_fs(). Affects Kernel versions >= b4b10061ef98c583bcf82a4200703fbaa98c18dc, < 822054e5026c43b1dd60cf387dd999e95ee2ecc2. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and enables the execution of programs. The f2fs (Flash-Friendly File System) is a file system specifically designed for flash storage devices. It is used in Linux to optimize performance and reliability on such devices. However, a vulnerability has been discovered in the f2fs_resize_fs() function, which can lead to a system panic.

Vulnerability Detail

The vulnerability in the f2fs_resize_fs() function can trigger a panic in the system. This vulnerability was introduced in version v5.8 of the Linux Kernel by commit b4b10061ef98c583bcf82a4200703fbaa98c18dc and is fixed in version v5.12.5 by commit 822054e5026c43b1dd60cf387dd999e95ee2ecc2. When resizing the f2fs file system, this vulnerability can be exploited to cause a panic, resulting in a system crash. The impact and attack plausibility of this vulnerability have not been proven yet.

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_resize_fs() vulnerability in the Kernel can lead to a system panic and crash. It is crucial to update the Linux Kernel to version v5.12.5 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The f2fs (Flash-Friendly File System) is a file system designed for flash storage devices. It aims to optimize performance and reliability on such devices.

The vulnerability can lead to a system panic, causing a system crash.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and it will alert you in real-time.

Yes, the vulnerability is fixed in Linux Kernel version v5.12.5 or later. It is recommended to update to the latest version.

No specific workaround has been mentioned for this vulnerability.

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