Vulnerability in Kernel package: f2fs file defragmentation

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002564: f2fs: fix to tag gcing flag on page during file defragment. Affects Kernel versions < 5d3bba6b1616b0852ffb8384fff8febfa530b8a7. 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 Kernel package is a crucial component of the Linux operating system, responsible for managing the system's core functionality. It provides essential services such as process management, memory management, and device drivers. The f2fs (Flash-Friendly File System) is a file system specifically designed for flash storage devices. It aims to optimize performance and endurance for such devices. However, a vulnerability has been discovered in the f2fs file defragmentation process, which could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the f2fs file defragmentation process allows an attacker to manipulate the system by tagging the gcing flag on a page during file defragmentation. This manipulation can lead to various security risks, including unauthorized access to sensitive data, privilege escalation, or denial of service attacks. The vulnerability has been identified in the Kernel package and affects versions prior to v5.18.4. It has been fixed in the mentioned commit (5d3bba6b1616b0852ffb8384fff8febfa530b8a7).

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. The recommended approach is to apply the fix by updating the Kernel package to the latest version.

Conclusion

The vulnerability in the f2fs file defragmentation process of the Kernel package poses potential security risks, including unauthorized access, privilege escalation, and denial of service attacks. It is crucial to update the Kernel package to version v5.18.4 or later to mitigate these risks. No specific workaround is available, and it is recommended to apply the fix as soon as possible. For additional support, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to unauthorized access to sensitive data, privilege escalation, or denial of service attacks.

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 and alert you in real-time if any open-source vulnerabilities, including this one, are detected.

At the time of this report, there are no known public exploits for this vulnerability. However, it is crucial to apply the fix as soon as possible to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network. It is important to update the Kernel package to the fixed version to prevent any potential remote exploitation.

For further support on vulnerability remediation or any related 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