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.

Routine
CVSS
5.5
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0013
2nd percentile

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

ProductFixed inFixReleased
Linux
bpftool · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
bpftool-debuginfo · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
bpftool6.12 · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
bpftool6.12-debuginfo · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
bpftool6.18 · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
bpftool6.18-debuginfo · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-debuginfo · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-debuginfo-common-aarch64 · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-debuginfo-common-x86_64 · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-devel · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-headers · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-libbpf · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-libbpf-debuginfo · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-libbpf-devel · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-libbpf-static · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-livepatch-6.1.166-197.305 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-livepatch-6.12.77-99.140 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel-livepatch-6.18.16-18.222 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel-modules-extra · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-modules-extra-common · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-tools · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-tools-debuginfo · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel-tools-devel · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
kernel6.12 · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-debuginfo · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-debuginfo-common-aarch64 · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-debuginfo-common-x86_64 · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-devel · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-headers · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-libbpf · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-libbpf-debuginfo · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-libbpf-devel · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-libbpf-static · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-modules-extra · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-modules-extra-common · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-tools · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-tools-debuginfo · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.12-tools-devel · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
kernel6.18 · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-debuginfo · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-debuginfo-common-aarch64 · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-debuginfo-common-x86_64 · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-devel · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-headers · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-libbpf · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-libbpf-debuginfo · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-libbpf-devel · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-libbpf-static · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-modules-extra · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-modules-extra-common · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-tools · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-tools-debuginfo · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
kernel6.18-tools-devel · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
linux · Debian 12.15 (bookworm) 6.1.170-1 DEBIAN-CVE-2025-71265 Mar 18, 2026
linux · Debian 13.5 (trixie) 6.12.85-1 DEBIAN-CVE-2025-71265 Mar 18, 2026
linux · Debian 14 6.19.6-1 DEBIAN-CVE-2025-71265 Mar 18, 2026
perf · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
perf-debuginfo · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
perf6.12 · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
perf6.12-debuginfo · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
perf6.18 · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
perf6.18-debuginfo · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
python3-perf · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
python3-perf-debuginfo · amzn 2023 1:6.1.166-197.305.amzn2023 ALAS2023-2026-1544 Apr 7, 2026
python3-perf6.12 · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
python3-perf6.12-debuginfo · amzn 2023 1:6.12.77-99.140.amzn2023 ALAS2023-2026-1543 Apr 7, 2026
python3-perf6.18 · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026
python3-perf6.18-debuginfo · amzn 2023 1:6.18.16-18.222.amzn2023 ALAS2023-2026-1702 May 11, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.