CVE-2025-38167
JSON

5.5medium

fs/ntfs3: handle hdr_first_de() return value

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelfrom 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.3NVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fs/ntfs3: manejo del valor de retorno de hdr_first_de(). La función hdr_first_de() devuelve un puntero a una estructura NTFS_DE. Este puntero puede ser NULL. Para gestionar eficazmente el error NULL, es importante implementar un gestor de errores. Esto ayudará a gestionar los posibles errores de forma coherente. Además, ya existe un gestor de errores para el valor de retorno en otros puntos donde se llama a esta función. Encontrado por el Centro de Verificación de Linux (linuxtesting.org) con SVACE.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38167 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-38167 changed 2026-06-17Public domain