SecurityContext

CVE-2025-71265: Linux kernel ntfs3 - Denial of Service

  • Cve: CVE-2025-71265
  • Name: Linux kernel ntfs3 - Denial of Service
  • 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.
  • Impact: Attackers can cause a denial-of-service by triggering an infinite loop, leading to system hang or crash.
  • Remediation: Update to the latest Linux kernel version containing the patch for this issue.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00146
  • Epss percentile: 0.0378
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-03-18T11:16:15Z
  • Age in days: 251
  • Modified at: 2026-11-10T13:18:09Z
  • Patch available: yes
  • References total: 10
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-71265
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-835Loop with Unreachable Exit Condition

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/3c3a6e951b9b53dab2ac460a655313cf04c4a10aPatch
https://git.kernel.org/stable/c/4b90f16e4bb5607fb35e7802eb67874038da4640Patch
https://git.kernel.org/stable/c/6f07a590616ff5f57f7c041d98e463fad9e9f763Patch
https://git.kernel.org/stable/c/78b61f7eac37a63284774b147f38dd0be6cad43cPatch
https://git.kernel.org/stable/c/a89bc96d5abd8a4a8d5d911884ea347efcdf460bPatch
https://git.kernel.org/stable/c/af839013c70a24779f9d1afb1575952009312d38Patch
https://git.kernel.org/stable/c/c0b43c45d45f59e7faad48675a50231a210c379bPatch
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
https://cert-portal.siemens.com/productcert/html/ssa-082556.html
https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.19, < 6.19.6; >= 6.13, < 6.18.16; >= 6.7, < 6.12.75; >= 6.2, < 6.6.128; >= 5.16, < 6.1.165; >= 5.15, < 5.15.202nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports