Deadlock Vulnerability in Linux Kernel's f2fs Package: CVE-2025-38347
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.