Critical Vulnerability in Linux Kernel: F2FS Uninitialized Access Issue

linux Updated 02 Oct 2025

Summary

16/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-22123: In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid accessing uninitialized curseg syzbot reports a f2fs bug as below: F2FS-fs (loop3): Stopped filesystem due to reason: 7 kworker/u8:7:... Affects linux versions < 6.12.33-1. Fixed in 6.12.33-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The kernel's functionality includes process management, memory management, device management, and system calls. The vulnerability in question affects the F2FS (Flash-Friendly File System), which is designed to optimize performance on flash storage devices. This vulnerability can lead to system crashes and data corruption if not addressed promptly.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the F2FS subsystem, where an attempt to access uninitialized data can lead to a system panic. This issue arises from a failure to check the CP_ERROR_FLAG before accessing the curseg->segno variable, which can result in accessing invalid memory addresses. The vulnerability was introduced in commit 8b10d3653735, which allowed for a no free segment fault in the allocator. The ramifications include potential data loss and system instability, making it critical to apply the necessary fixes.

How To Fix

Minimum fixed version

6.12.33-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is highly recommended to apply the patch as soon as it is available to mitigate any risks associated with the vulnerability.

Conclusion

The identified vulnerability in the Linux kernel's F2FS subsystem poses significant risks to system stability and data integrity. It is crucial for users to update their systems to the patched version to avoid potential exploitation. Regular monitoring of open-source vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves accessing uninitialized data in the F2FS subsystem of the Linux kernel, which can lead to system crashes.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for any vulnerabilities.

If exploited, this vulnerability can lead to system instability, crashes, and potential data loss.

Yes, the patched version of the Linux package is 6.12.33-1. It is recommended to update to this version to mitigate the vulnerability.

You can find detailed information about this vulnerability in the Debian CVE database or by visiting the Vulert website.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.33-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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