# CVE-2025-71266: fs: ntfs3: check return value of indx\_find to avoid infinite loop

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2026-03-18T10:05:02.997Z
- **Modified:** 2026-11-10T13:18:09.360Z

## Who should check

- Anyone running Linux \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 14c3188afbedfd5178bbabb8002487ea14b37b56; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 435d34719db0e130f6f0c621d67ed524cc1a7d10; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 68e32694be231c1cdb99b7637a657314e88e1a96; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 398e768d1accd1f5645492ab996005d7aa84a5b0; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< b0ea441f44ce64fa514a415d4a9e6e2b06e7946c; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 0ad7a1be44479503dbe5c699759861ef5b8bd70c; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1732053c8a6b360e2d5afb1b34fe9779398b072c
- Anyone running Linux 5.15

## Description

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

fs: ntfs3: check return value of indx\_find to avoid infinite loop

We found an infinite loop bug in the ntfs3 file system that can lead to a
Denial-of-Service (DoS) condition.

A malformed dentry in the ntfs3 filesystem can cause the kernel to hang
during the lookup operations. By setting the HAS\_SUB\_NODE flag in an
INDEX\_ENTRY within a directory's INDEX\_ALLOCATION block and manipulating the
VCN pointer, an attacker can cause the indx\_find() function to repeatedly
read the same block, allocating 4 KB of memory each time. The kernel lacks
VCN loop detection and depth limits, causing memory exhaustion and an OOM
crash.

This patch adds a return value check for fnd\_push() to prevent a memory
exhaustion vulnerability caused by infinite loops. When the index exceeds the
size of the fnd-\>nodes array, fnd\_push() returns -EINVAL. The indx\_find()
function checks this return value and stops processing, preventing further
memory allocation.

## Affected and fixed versions

- Linux: \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 14c3188afbedfd5178bbabb8002487ea14b37b56; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 435d34719db0e130f6f0c621d67ed524cc1a7d10; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 68e32694be231c1cdb99b7637a657314e88e1a96; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 398e768d1accd1f5645492ab996005d7aa84a5b0; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< b0ea441f44ce64fa514a415d4a9e6e2b06e7946c; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 0ad7a1be44479503dbe5c699759861ef5b8bd70c; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1732053c8a6b360e2d5afb1b34fe9779398b072c (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 1732053c8a6b360e2d5afb1b34fe9779398b072c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71266. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71266.md
Affected: Linux >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 14c3188afbedfd5178bbabb8002487ea14b37b56; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 435d34719db0e130f6f0c621d67ed524cc1a7d10; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 68e32694be231c1cdb99b7637a657314e88e1a96; >= 82cae269cfa953032fbb898…
Fixed in: Linux 14c3188afbedfd5178bbabb8002487ea14b37b56, Linux 435d34719db0e130f6f0c621d67ed524cc1a7d10, Linux 68e32694be231c1cdb99b7637a657314e88e1a96, Linux 398e768d1accd1f5645492ab996005d7aa84a5b0, Linux 0ad7a1be44479503dbe5c699759861ef5b8bd70c, Linux 1732053c8a6b360e2d5afb1b34fe9779398b072c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71266 being exploited?

There is no confirmed exploitation: CVE-2025-71266 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-71266?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71266?

Linux \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 14c3188afbedfd5178bbabb8002487ea14b37b56; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 435d34719db0e130f6f0c621d67ed524cc1a7d10; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 68e32694be231c1cdb99b7637a657314e88e1a96; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 398e768d1accd1f5645492ab996005d7aa84a5b0; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< b0ea441f44ce64fa514a415d4a9e6e2b06e7946c; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 0ad7a1be44479503dbe5c699759861ef5b8bd70c; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1732053c8a6b360e2d5afb1b34fe9779398b072c; Linux 5.15.

### Is there a fix for CVE-2025-71266?

Yes. Fixed in Linux 14c3188afbedfd5178bbabb8002487ea14b37b56, Linux 435d34719db0e130f6f0c621d67ed524cc1a7d10, Linux 68e32694be231c1cdb99b7637a657314e88e1a96, Linux 398e768d1accd1f5645492ab996005d7aa84a5b0, Linux 0ad7a1be44479503dbe5c699759861ef5b8bd70c, Linux 1732053c8a6b360e2d5afb1b34fe9779398b072c. Upgrade Linux to 1732053c8a6b360e2d5afb1b34fe9779398b072c or later.

### How do I check if I'm affected by CVE-2025-71266?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/14c3188afbedfd5178bbabb8002487ea14b37b56>
- patch: <https://git.kernel.org/stable/c/435d34719db0e130f6f0c621d67ed524cc1a7d10>
- patch: <https://git.kernel.org/stable/c/68e32694be231c1cdb99b7637a657314e88e1a96>
- patch: <https://git.kernel.org/stable/c/398e768d1accd1f5645492ab996005d7aa84a5b0>
- patch: <https://git.kernel.org/stable/c/b0ea441f44ce64fa514a415d4a9e6e2b06e7946c>
- patch: <https://git.kernel.org/stable/c/0ad7a1be44479503dbe5c699759861ef5b8bd70c>
- patch: <https://git.kernel.org/stable/c/1732053c8a6b360e2d5afb1b34fe9779398b072c>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71266>

HTML: <https://flawdb.com/CVE-2025-71266> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71266>
