Vulnerability in Kernel: f2fs_do_zero_range() Block Address Sanity Check

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002614: f2fs: fix to do sanity check on block address in f2fs_do_zero_range(). Affects Kernel versions < 805b48b234a2803cb7daec7f158af12f0fbaefac. 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 critical component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between processes, and ensures security and stability. The f2fs (Flash-Friendly File System) is a file system specifically designed for NAND-based flash storage devices. It is used in Linux systems to optimize performance and reliability for flash storage. However, a vulnerability has been discovered in the f2fs_do_zero_range() function, which could potentially lead to security issues.

Vulnerability Detail

The vulnerability exists in the f2fs_do_zero_range() function of the Kernel's f2fs module. It fails to perform a sanity check on the block address, allowing an attacker to manipulate the block address and potentially cause memory corruption or other security issues. This could lead to privilege escalation, denial of service, or unauthorized access to sensitive information. 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

As this vulnerability has been fixed in the latest version of the Kernel, there is no specific workaround available. Users are advised to update their Kernel to the patched version.

Conclusion

The f2fs_do_zero_range() block address sanity check vulnerability in the Kernel's f2fs module could potentially lead to security issues, including memory corruption, privilege escalation, denial of service, or unauthorized access to sensitive information. It is crucial to update the Kernel to the latest version (v5.18.3 or later) to mitigate the risk. For additional support or assistance, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could include memory corruption, privilege escalation, denial of service, or unauthorized access to sensitive information.

You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to update your Kernel to the patched version to mitigate any potential risks.

The exact attack vector and exploitability of this vulnerability have not been proven yet. However, it is always recommended to keep your system up to date with the latest security patches to minimize the risk of remote exploitation.

For further support on vulnerability remediation or any other security concerns, you can reach out to info@devnack.com. Our team of experts will be happy to assist you.

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