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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-07-03T08:36:06.987Z
- Modified: 2026-10-15T01:06:41.047Z
- Weaknesses: CWE-476
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 5390b3d4c6d41d05bb9149d094d504cbc9ea85bf; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 83cd0aa74793384dbdffc140500b200e9776a302; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 701340a25b1ad210e6b8192195be21fd3fcc22c7; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 2d5879f64554181b89f44d4817b9ea86e8e913e1; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 4ecd0cde89feee26525ccdf1af0c1ae156ca010b; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70; 5.15 (not affected: before 5.15; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.94 up to 6.6.*; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.15 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/5390b3d4c6d41d05bb9149d094d504cbc9ea85bf> (patch)
- <https://git.kernel.org/stable/c/83cd0aa74793384dbdffc140500b200e9776a302> (patch)
- <https://git.kernel.org/stable/c/701340a25b1ad210e6b8192195be21fd3fcc22c7> (patch)
- <https://git.kernel.org/stable/c/2d5879f64554181b89f44d4817b9ea86e8e913e1> (patch)
- <https://git.kernel.org/stable/c/4ecd0cde89feee26525ccdf1af0c1ae156ca010b> (patch)
- <https://git.kernel.org/stable/c/af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

- CVE List: [CVE-2025-38167](https://www.cve.org/CVERecord?id=CVE-2025-38167), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38167](https://nvd.nist.gov/vuln/detail/CVE-2025-38167), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38167 · Whole record: https://cve.day/CVE-2025-38167.json · Rebuilt by cve.day 2026-11-25T22:59:00.553Z
