Truncation Vulnerability in Linux Kernel: OrangeFS File Size Issue
Summary
CVE-2025-38065: In the Linux kernel, the following vulnerability has been resolved: orangefs: Do not truncate file size 'len' is used to store the result of i_size_read(), so making 'len' a size_t results in truncation to 4GiB on 32-bit... 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, including various distributions of Debian. It manages hardware resources and provides essential services for software applications. The kernel is known for its stability, performance, and security features. However, vulnerabilities can arise, such as the one affecting the OrangeFS module, which handles file systems. This specific vulnerability can lead to file size truncation, impacting data integrity and application performance.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the OrangeFS module where the variable 'len' is used to store the result of i_size_read(). On 32-bit systems, this results in truncation to 4GiB due to 'len' being defined as a size_t. This can lead to potential data loss or corruption, as files larger than 4GiB may not be handled correctly, causing applications relying on these files to malfunction.
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
Currently, no specific workarounds have been provided for this vulnerability. It is advisable to monitor the system for any updates and apply them as soon as they are available.
Conclusion
The vulnerability CVE-2025-38065 in the Linux kernel's OrangeFS module poses a significant risk of file size truncation on 32-bit systems. Users are encouraged to update their systems to the patched version to ensure data integrity and application performance. Regular monitoring and updates are essential for maintaining security.
See every vulnerability recorded for linux →
FAQ
CVE-2025-38065 is a vulnerability in the Linux kernel's OrangeFS module that can lead to file size truncation on 32-bit systems.
This vulnerability can cause files larger than 4GiB to be truncated, potentially leading to data loss or corruption.
If you are using a version of the Linux kernel prior to the patched version 6.12.32-1 on Debian 13, your system may be affected.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
While there are no specific workarounds, it is crucial to monitor your system and apply updates as soon as possible to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for linux.