CVE-2025-71265
fs: ntfs3: fix infinite loop in attr_load_runs_range on inconsistent metadata
Reported by linux · Published March 18, 2026
In the Linux kernel, the following vulnerability has been resolved: fs: ntfs3: fix infinite loop in attr_load_runs_range on inconsistent metadata We found an infinite loop bug in the ntfs3 file system that can lead to a Denial-of-Service (DoS) condition. A malformed NTFS image can cause an infinite loop when an attribute header indicates an empty run list, while directory entries reference it as containing actual data. In NTFS, setting evcn=-1 with svcn=0 is a valid way to represent an empty run list, and run_unpack() correctly handles this by checking if evcn + 1 equals svcn and returning early without parsing any run data. However, this creates a problem when there is metadata inconsistency, where the attribute header claims to be empty (evcn=-1) but the caller expects to read actual data. When run_unpack() immediately returns success upon seeing this condition, it leaves the runs_tree uninitialized with run->runs as a NULL. The calling function attr_load_runs_range() assumes that a successful return means that the runs were loaded and sets clen to 0, expecting the next run_lookup_entry() call to succeed. Because runs_tree remains uninitialized, run_lookup_entry() continues to fail, and the loop increments vcn by zero (vcn += 0), leading to an infinite loop. This patch adds a retry counter to detect when run_lookup_entry() fails consecutively after attr_load_runs_vcn(). If the run is still not found on the second attempt, it indicates corrupted metadata and returns -EINVAL, preventing the Denial-of-Service (DoS) vulnerability.
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.12-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| perf | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel-livepatch-6.12.77-99.140 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel-livepatch-6.1.166-197.305 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.18-libbpf-static | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
8 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | be71b5cba2e6485e8959da7a9f9a44461a1bb074, be71b5cba2e6485e8959da7a9f9a44461a1bb074, be71b5cba2e6485e8959da7a9f9a44461a1bb074 |
| Linux | Linux | 5.15, 0, 5.15.202 |
| amazon:2023 | kernel6.12-devel | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5, 3.1.6, 3.1.7 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.5, 3.1.7, 3.1.6 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.77-99.140 | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.6, 3.1.7, 3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.6, 3.1.5, 3.1.7 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.1.166-197.305 | 0 |
| amazon:2023 | kernel6.18-libbpf-static | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | python3-perf6.18 | 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 29, 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-71265
vulnetix vdb fixes CVE-2025-71265
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-71265/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart