CVE-2025-38167

published 3 Jul 2025 · updated 15 Oct 2026

fs/ntfs3: handle hdr_first_de() return value

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2d5879f64554181b89f44d4817b9ea86e8e913e1, Kernel 4ecd0cde89feee26525ccdf1af0c1ae156ca010b, Kernel 5390b3d4c6d41d05bb9149d094d504cbc9ea85bf and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=82cae269cfa953032fbb8980a7d554d60fb00b17 <2d5879f64554181b89f44d4817b9ea86e8e913e1, >=82cae269cfa953032fbb8980a7d554d60fb00b17 <4ecd0cde89feee26525ccdf1af0c1ae156ca010b, >=82cae269cfa953032fbb8980a7d554d60fb00b17 <5390b3d4c6d41d05bb9149d094d504cbc9ea85bf, >=82cae269cfa953032fbb8980a7d554d60fb00b17 <701340a25b1ad210e6b8192195be21fd3fcc22c7, >=82cae269cfa953032fbb8980a7d554d60fb00b17 <83cd0aa74793384dbdffc140500b200e9776a302, >=82cae269cfa953032fbb8980a7d554d60fb00b17 <af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd702d5879f64554181b89f44d4817b9ea86e8e913e1, 4ecd0cde89feee26525ccdf1af0c1ae156ca010b, 5390b3d4c6d41d05bb9149d094d504cbc9ea85bf, 701340a25b1ad210e6b8192195be21fd3fcc22c7, 83cd0aa74793384dbdffc140500b200e9776a302, af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38167 severity on Zeptric[![CVE-2025-38167](https://zeptric.io/badge/cve/CVE-2025-38167.svg)](https://zeptric.io/cve/CVE-2025-38167)