CVE-2025-38167

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38167
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38167.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38167
Downstream
Related
Published
2025-07-03T08:36:06.987Z
Modified
2025-11-28T02:34:56.461789Z
Summary
fs/ntfs3: handle hdr_first_de() return value
Details

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: handle hdrfirstde() return value

The hdrfirstde() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38167.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
82cae269cfa953032fbb8980a7d554d60fb00b17
Fixed
5390b3d4c6d41d05bb9149d094d504cbc9ea85bf
Fixed
83cd0aa74793384dbdffc140500b200e9776a302
Fixed
701340a25b1ad210e6b8192195be21fd3fcc22c7
Fixed
2d5879f64554181b89f44d4817b9ea86e8e913e1
Fixed
4ecd0cde89feee26525ccdf1af0c1ae156ca010b
Fixed
af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.186
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.142
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.94
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.34
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.3