VDB

CVE-2025-71267

CVE-2025-71267 PUBLISHED

fs: ntfs3: fix infinite loop triggered by zero-sized ATTR_LIST

Reported by linux · Published March 18, 2026

In the Linux kernel, the following vulnerability has been resolved: fs: ntfs3: fix infinite loop triggered by zero-sized ATTR_LIST 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 ATTR_LIST attribute indicates a zero data size while the driver allocates memory for it. When ntfs_load_attr_list() processes a resident ATTR_LIST with data_size set to zero, it still allocates memory because of al_aligned(0). This creates an inconsistent state where ni->attr_list.size is zero, but ni->attr_list.le is non-null. This causes ni_enum_attr_ex to incorrectly assume that no attribute list exists and enumerates only the primary MFT record. When it finds ATTR_LIST, the code reloads it and restarts the enumeration, repeating indefinitely. The mount operation never completes, hanging the kernel thread. This patch adds validation to ensure that data_size is non-zero before memory allocation. When a zero-sized ATTR_LIST is detected, the function returns -EINVAL, preventing a DoS vulnerability.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux1:6.1.166-197.305.amzn2023
perf6.18Amazon Linux1:6.18.16-18.222.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.18-develAmazon Linux1:6.18.16-18.222.amzn2023
LinuxLinux2.6.24

Affected products

VendorProductVersions
LinuxLinuxbe71b5cba2e6485e8959da7a9f9a44461a1bb074, be71b5cba2e6485e8959da7a9f9a44461a1bb074, be71b5cba2e6485e8959da7a9f9a44461a1bb074
LinuxLinux5.15, 0, 5.15.202
amazon:2023perf0
amazon:2023perf6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.180
amazon:2023bpftool0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.6, 3.1.5
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.5, 3.1.6, 3.1.7
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.12.77-99.1400
amazon:2023kernel6.12-tools0
amazon:2023perf6.120

…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-71267
vulnetix vdb fixes CVE-2025-71267

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-71267/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 ›