CVE-2025-38167

fs/ntfs3: handle hdr_first_de() return value

State
Published
Severity
Not scored
Published
Jul 3, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to before 5390b3d4c6d41d05bb9149d094d504cbc9ea85bfAffected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to before 83cd0aa74793384dbdffc140500b200e9776a302Affected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to before 701340a25b1ad210e6b8192195be21fd3fcc22c7Affected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to before 2d5879f64554181b89f44d4817b9ea86e8e913e1Affected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to before 4ecd0cde89feee26525ccdf1af0c1ae156ca010bAffected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to before af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.186 through 5.15.*Not affected
  • 6.1.142 through 6.1.*Not affected
  • 6.6.94 through 6.6.*Not affected
  • 6.12.34 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.