VDB

CVE-2025-71265

CVE-2025-71265 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-develAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.16-18.222.amzn2023
perfAmazon Linux1:6.1.166-197.305.amzn2023
kernel-toolsAmazon Linux1:6.1.166-197.305.amzn2023
kernel-livepatch-6.12.77-99.140Amazon Linux1:1.0-0.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.166-197.305.amzn2023
kernel-livepatch-6.1.166-197.305Amazon Linux1:1.0-0.amzn2023
kernel6.18-libbpf-staticAmazon Linux1:6.18.16-18.222.amzn2023
kernel6.12Amazon Linux1:6.12.77-99.140.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.16-18.222.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.77-99.140.amzn2023

8 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinuxbe71b5cba2e6485e8959da7a9f9a44461a1bb074, be71b5cba2e6485e8959da7a9f9a44461a1bb074, be71b5cba2e6485e8959da7a9f9a44461a1bb074
LinuxLinux5.15, 0, 5.15.202
amazon:2023kernel6.12-devel0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.5, 3.1.6, 3.1.7
amazon:2023kernel6.18-modules-extra0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.5, 3.1.7, 3.1.6
amazon:2023perf0
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.12.77-99.1400
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)3.1.6, 3.1.7, 3.1.5
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.6, 3.1.5, 3.1.7
amazon:2023kernel-libbpf-static0
amazon:2023kernel-livepatch-6.1.166-197.3050
amazon:2023kernel6.18-libbpf-static0
amazon:2023kernel6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023perf6.120
amazon:2023python3-perf6.180

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›