# CVE-2025-71265: fs: ntfs3: fix infinite loop in attr_load_runs_range on inconsistent metadata

CVE-2025-71265 is fixed in 67 products on 1 platform, first by DEBIAN-CVE-2025-71265, released March 18, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-71265
- Priority: Routine
- CVSS: 5.5 (Moderate)
- EPSS: 0.0013
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 18, 2026
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-71265

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | bpftool-debuginfo amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | bpftool6.12 amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | bpftool6.12-debuginfo amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | bpftool6.18 amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | bpftool6.18-debuginfo amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-debuginfo amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-debuginfo-common-aarch64 amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-debuginfo-common-x86_64 amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-devel amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-headers amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-libbpf amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-libbpf-debuginfo amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-libbpf-devel amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-libbpf-static amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-livepatch-6.1.166-197.305 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-livepatch-6.12.77-99.140 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel-livepatch-6.18.16-18.222 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel-modules-extra amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-modules-extra-common amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-tools amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-tools-debuginfo amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel-tools-devel amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | kernel6.12 amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-debuginfo amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-debuginfo-common-aarch64 amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-debuginfo-common-x86_64 amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-devel amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-headers amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-libbpf amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-libbpf-debuginfo amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-libbpf-devel amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-libbpf-static amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-modules-extra amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-modules-extra-common amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-tools amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-tools-debuginfo amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.12-tools-devel amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | kernel6.18 amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-debuginfo amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-debuginfo-common-aarch64 amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-debuginfo-common-x86_64 amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-devel amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-headers amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-libbpf amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-libbpf-debuginfo amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-libbpf-devel amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-libbpf-static amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-modules-extra amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-modules-extra-common amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-tools amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-tools-debuginfo amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | kernel6.18-tools-devel amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.170-1 | [DEBIAN-CVE-2025-71265](https://patchblox.com/security/data/fix/linux/debian-cve-2025-71265.md) | Mar 18, 2026 |
| Linux | linux Debian 13.5 (trixie) | 6.12.85-1 | [DEBIAN-CVE-2025-71265](https://patchblox.com/security/data/fix/linux/debian-cve-2025-71265.md) | Mar 18, 2026 |
| Linux | linux Debian 14 | 6.19.6-1 | [DEBIAN-CVE-2025-71265](https://patchblox.com/security/data/fix/linux/debian-cve-2025-71265.md) | Mar 18, 2026 |
| Linux | perf amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | perf-debuginfo amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | perf6.12 amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | perf6.12-debuginfo amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | perf6.18 amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | perf6.18-debuginfo amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | python3-perf amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | python3-perf-debuginfo amzn 2023 | 1:6.1.166-197.305.amzn2023 | [ALAS2023-2026-1544](https://patchblox.com/security/data/fix/linux/alas2023-2026-1544.md) | Apr 7, 2026 |
| Linux | python3-perf6.12 amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | python3-perf6.12-debuginfo amzn 2023 | 1:6.12.77-99.140.amzn2023 | [ALAS2023-2026-1543](https://patchblox.com/security/data/fix/linux/alas2023-2026-1543.md) | Apr 7, 2026 |
| Linux | python3-perf6.18 amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |
| Linux | python3-perf6.18-debuginfo amzn 2023 | 1:6.18.16-18.222.amzn2023 | [ALAS2023-2026-1702](https://patchblox.com/security/data/fix/linux/alas2023-2026-1702.md) | May 11, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
