What’s Vulnerable › Vulnerabilities

CVE-2025-38167: fs/ntfs3: handle hdr_first_de() return value

Description

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. This pointer may be NULL. To handle the NULL error effectively, it is important to implement an error handler. This will help manage potential errors consistently. Additionally, error handling for the return value already exists at other points where this function is called. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.186, 6.1.142, 6.12.34, 6.15.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38167 or the next vulnerability affects your stack