CVE-2025-38167

fs/ntfs3: handle hdr_first_de() return value

No CVSS score yet EPSS 0.18%

Published 3 Jul 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-38167

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38167 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.80% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 5390b3d4c6d41d05bb9149d094d504cbc9ea85bf
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 83cd0aa74793384dbdffc140500b200e9776a302
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 701340a25b1ad210e6b8192195be21fd3fcc22c7
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 2d5879f64554181b89f44d4817b9ea86e8e913e1
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 4ecd0cde89feee26525ccdf1af0c1ae156ca010b
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70
Other versions: unaffected
Linux
affected 5.15
unaffected before 5.15
unaffected from 5.15.186 up to and including 5.15.*
unaffected from 6.1.142 up to and including 6.1.*
unaffected from 6.6.94 up to and including 6.6.*
unaffected from 6.12.34 up to and including 6.12.*
unaffected from 6.15.3 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38167 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38167

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38167
trivy image --scanners vuln IMAGE | grep CVE-2025-38167

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38167 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.