Vulnerability in f2fs Package: Dereference of Stale List Iterator

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002690: f2fs: fix dereference of stale list iterator after loop body. Affects Kernel versions >= 8c242db9b8c01b252290e23827163787f07e01d1, < ed7efc472c00986dcd6903ab6ed165c7fa167674. 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 extend the lifespan of flash memory. However, a vulnerability has been discovered in the package that involves the dereference of a stale list iterator after the loop body. This vulnerability can potentially lead to memory corruption or crashes in the system.

Vulnerability Detail

The vulnerability arises from a programming error in the f2fs package. When iterating through a list, the code fails to update the iterator after the loop body, resulting in a stale iterator being dereferenced. An attacker could potentially exploit this vulnerability to manipulate the list structure or trigger unexpected behavior in the system. The impact of this vulnerability may vary depending on the specific use case and the attacker's capabilities.

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. However, users can apply the fix by updating their Linux Kernel to the recommended version.

Conclusion

In conclusion, the f2fs package in the Linux Kernel is vulnerable to a dereference of stale list iterator after the loop body. This vulnerability can potentially lead to memory corruption or crashes in the system. It is crucial for users to update their Linux Kernel to version v5.18.3 or later to mitigate the risk associated with this vulnerability. For more information or assistance with vulnerability remediation, please contact 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 extend the lifespan of flash memory.

The impact of this vulnerability may vary depending on the specific use case and the attacker's capabilities. It could potentially lead to memory corruption or crashes in the system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.3 or later, which includes the necessary patch.

There is no specific workaround mentioned for this vulnerability. However, users can apply the fix by updating their Linux Kernel to the recommended version.

For more details about this vulnerability, you can refer to the provided references link or contact info@devnack.com for further support.

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