CVE-2025-71266
fs: ntfs3: check return value of indx_find to avoid infinite loop
Reported by linux · Published March 18, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| kernel-livepatch-6.1.166-197.305 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| Linux | Linux | 68e32694be231c1cdb99b7637a657314e88e1a96, 5.15, 435d34719db0e130f6f0c621d67ed524cc1a7d10, 398e768d1accd1f5645492ab996005d7aa84a5b0, 14c3188afbedfd5178bbabb8002487ea14b37b56, 0ad7a1be44479503dbe5c699759861ef5b8bd70c |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17, 82cae269cfa953032fbb8980a7d554d60fb00b17, 82cae269cfa953032fbb8980a7d554d60fb00b17 |
| Linux | Linux | 5.15, 0, 5.15.202 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-livepatch-6.1.166-197.305 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.6, 3.1.7, 3.1.5 |
| amazon:2023 | kernel6.12-headers | 0 |
| Linux | Linux | 5.15.202, 5.15, 6.19.6 |
| amazon:2023 | kernel6.18-libbpf-static | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.6, 3.1.5, 3.1.7 |
| amazon:2023 | kernel-tools-devel | 0 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
| amazon:2023 | kernel6.18-libbpf-devel | 0 |
| amazon:2023 | kernel6.18-libbpf | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
…and 34 more
Timeline
- Mar 17, 2026 CVE Published
- Mar 18, 2026 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 30, 2026 Security Advisory (63 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (43 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-71266
vulnetix vdb fixes CVE-2025-71266
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-71266/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart