Deadlock Vulnerability in Linux Kernel's f2fs Package: CVE-2025-38347

linux Updated 02 Oct 2025

Summary

10/07/2025
N/A
No i
Unrated
Not published

CVE-2025-38347: In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to do sanity check on ino and xnid syzbot reported a f2fs bug as below: INFO: task syz-executor140:5308 blocked for more than 143 seconds. Affects linux versions 5.10.103-1 – 6.9.9-1. 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 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, providing essential services for hardware and software interactions. The f2fs (Flash-Friendly File System) is designed to optimize performance on flash storage devices. This package is crucial for managing file systems efficiently, but it has been identified to have a vulnerability that can lead to deadlocks under specific conditions.

Vulnerability Detail

CVE-2025-38347 is a vulnerability in the Linux kernel's f2fs implementation that arises from a lack of sanity checks on inode and xnid during operations like mknod. This oversight can lead to a situation where a task is blocked indefinitely due to a deadlock, as it attempts to lock the same inode page multiple times. The vulnerability was reported by syzbot and can severely impact system performance, potentially causing applications to hang or crash.

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 a temporary workaround, users can disable the hung task timeout message by executing the command 'echo 0 > /proc/sys/kernel/hung_task_timeout_secs'. However, this does not fix the underlying issue and should only be used until the patch is applied.

Conclusion

CVE-2025-38347 presents a significant risk to systems using the Linux kernel's f2fs file system, leading to potential deadlocks and performance issues. Users are strongly advised to update to the patched version of the kernel to mitigate this vulnerability. For real-time monitoring of open-source vulnerabilities, consider using Vulert, which can alert you to issues without requiring code access.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38347 is a vulnerability in the Linux kernel's f2fs file system that can cause deadlocks due to improper handling of inode locking.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The vulnerability can lead to system hangs and degraded performance, as tasks may be blocked indefinitely due to deadlocks.

Yes, a patch is available in version 6.12.35-1 of the Linux kernel. Users should update to this version or later.

If you cannot update immediately, consider using the workaround to disable the hung task timeout message, but be aware that this does not resolve the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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