Critical NULL Pointer Dereference in Linux Kernel's NTFS3 Package
Summary
CVE-2025-38167: In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: handle hdr_first_de() return value The hdr_first_de() function returns a pointer to a struct NTFS_DE. Affects linux versions < 6.1.147-1. Fixed in 6.1.147-1. 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 Debian. It manages system resources and hardware interactions, providing essential services for software applications. The NTFS3 module allows Linux systems to read and write to NTFS file systems, commonly used by Windows. This module is crucial for interoperability between Linux and Windows environments, enabling users to access files across different operating systems. However, vulnerabilities in this module can lead to significant security risks, including system crashes and data corruption.
Vulnerability Detail
The vulnerability identified as CVE-2025-38167 arises from the hdr_first_de() function within the NTFS3 module of the Linux kernel. This function can return a NULL pointer, which, if not handled properly, may lead to a NULL pointer dereference. Such dereferences can cause system crashes or unpredictable behavior, potentially allowing an attacker to exploit the vulnerability to disrupt system operations or gain unauthorized access. The issue was discovered by the Linux Verification Center and highlights the need for robust error handling in kernel functions.
How To Fix
Minimum fixed version
6.1.147-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. However, users are advised to monitor their systems closely and apply the necessary updates as soon as they become available.
Conclusion
CVE-2025-38167 is a critical vulnerability in the Linux kernel's NTFS3 module that can lead to severe system issues if not addressed. Users are encouraged to update their systems promptly to mitigate the risks associated with this vulnerability. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for linux →
FAQ
CVE-2025-38167 is a vulnerability in the Linux kernel's NTFS3 module that can lead to a NULL pointer dereference, potentially causing system crashes.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
The risks include system crashes, data corruption, and potential unauthorized access if exploited by an attacker.
You can update your Linux kernel by running 'sudo apt-get update && sudo apt-get upgrade linux' in the terminal.
Yes, a patch is available in the latest updates for the Linux kernel. Users should ensure they are running the latest version.
Related vulnerabilities
Recent vulnerabilities recorded for linux.