CVE-2025-71311 (GCVE-0-2025-71311)

Vulnerability from cvelistv5 – Published: 2026-05-27 12:24 – Updated: 2026-08-05 12:12
VLAI
Title
fs/ntfs3: Initialize new folios before use
Summary
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Initialize new folios before use KMSAN reports an uninitialized value in longest_match_std(), invoked from ntfs_compress_write(). When new folios are allocated without being marked uptodate and ni_read_frame() is skipped because the caller expects the frame to be completely overwritten, some reserved folios may remain only partially filled, leaving the rest memory uninitialized.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 , < dd6c81527d097b3b0bf5a15c2fdc9657d045144c (git)
Affected: 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 , < 5a30cc03bde169ad558695b26da6ea7e55f6194a (git)
Affected: 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 , < 41d79f8e2a36622d148719bf7c18b46ac1264284 (git)
Affected: 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 , < f223ebffa185cc8da934333c5a31ff2d4f992dc9 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.11
Unaffected: 0 , < 6.11 (semver)
Unaffected: 6.12.75 , ≤ 6.12.* (semver)
Unaffected: 6.18.14 , ≤ 6.18.* (semver)
Unaffected: 6.19.4 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs3/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "dd6c81527d097b3b0bf5a15c2fdc9657d045144c",
              "status": "affected",
              "version": "584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2",
              "versionType": "git"
            },
            {
              "lessThan": "5a30cc03bde169ad558695b26da6ea7e55f6194a",
              "status": "affected",
              "version": "584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2",
              "versionType": "git"
            },
            {
              "lessThan": "41d79f8e2a36622d148719bf7c18b46ac1264284",
              "status": "affected",
              "version": "584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2",
              "versionType": "git"
            },
            {
              "lessThan": "f223ebffa185cc8da934333c5a31ff2d4f992dc9",
              "status": "affected",
              "version": "584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs3/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.11"
            },
            {
              "lessThan": "6.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.75",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.14",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.4",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Initialize new folios before use\n\nKMSAN reports an uninitialized value in longest_match_std(), invoked\nfrom ntfs_compress_write(). When new folios are allocated without being\nmarked uptodate and ni_read_frame() is skipped because the caller expects\nthe frame to be completely overwritten, some reserved folios may remain\nonly partially filled, leaving the rest memory uninitialized."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - A remote SMB or NFS client can reach ntfs3\u0027s write path when a compressed NTFS volume is exported by ksmbd or nfsd. Writable NTFS-backed network shares are a reasonable NAS/server deployment.\nAC:L - No race is required; the attacker controls the write offset and length and can reliably end a write inside a newly allocated compression frame.\nPR:N - ksmbd supports anonymous guest-writable shares, including compressed directories whose new files inherit compression, so exploitation can require no credentials.\nUI:N - Once the share and filesystem are available, the attacker can perform the write, EOF extension, and read without victim interaction.\nS:U - The disclosure and limited data corruption remain within the host kernel and its filesystem security authority.\nC:H - Unfilled portions of an 8\u201364 KiB frame contain stale allocator data but are compressed, persisted, and marked uptodate. Extending EOF and reading can expose substantial kernel or cross-process memory, and the process can be repeated.\nI:L - Uninitialized bytes can become file contents instead of the required zero-filled extension, causing limited and value-uncontrolled data modification. The bug does not provide an arbitrary kernel write or control-flow primitive.\nA:N - The compression code keeps pointers, indexes, and output sizes bounded, so the uninitialized values do not crash a normal kernel. A KMSAN diagnostic on specially instrumented kernels is not a production availability impact."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:12:45.568Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/dd6c81527d097b3b0bf5a15c2fdc9657d045144c"
        },
        {
          "url": "https://git.kernel.org/stable/c/5a30cc03bde169ad558695b26da6ea7e55f6194a"
        },
        {
          "url": "https://git.kernel.org/stable/c/41d79f8e2a36622d148719bf7c18b46ac1264284"
        },
        {
          "url": "https://git.kernel.org/stable/c/f223ebffa185cc8da934333c5a31ff2d4f992dc9"
        }
      ],
      "title": "fs/ntfs3: Initialize new folios before use",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-71311",
    "datePublished": "2026-05-27T12:24:02.532Z",
    "dateReserved": "2026-05-27T12:23:27.414Z",
    "dateUpdated": "2026-08-05T12:12:45.568Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-71311",
      "date": "2026-08-20",
      "epss": "0.00323",
      "percentile": "0.2532"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-71311\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-27T14:16:43.627\",\"lastModified\":\"2026-07-30T06:24:57.887\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nfs/ntfs3: Initialize new folios before use\\n\\nKMSAN reports an uninitialized value in longest_match_std(), invoked\\nfrom ntfs_compress_write(). When new folios are allocated without being\\nmarked uptodate and ni_read_frame() is skipped because the caller expects\\nthe frame to be completely overwritten, some reserved folios may remain\\nonly partially filled, leaving the rest memory uninitialized.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/ntfs3/file.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2\",\"lessThan\":\"dd6c81527d097b3b0bf5a15c2fdc9657d045144c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2\",\"lessThan\":\"5a30cc03bde169ad558695b26da6ea7e55f6194a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2\",\"lessThan\":\"41d79f8e2a36622d148719bf7c18b46ac1264284\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2\",\"lessThan\":\"f223ebffa185cc8da934333c5a31ff2d4f992dc9\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/ntfs3/file.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.11\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.11\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.75\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.14\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.19.4\",\"lessThanOrEqual\":\"6.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N\",\"baseScore\":8.2,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":4.2},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-908\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.11\",\"versionEndExcluding\":\"6.12.75\",\"matchCriteriaId\":\"A05DCA5C-0E7E-47B5-899A-41DDF296199E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.13\",\"versionEndExcluding\":\"6.18.14\",\"matchCriteriaId\":\"BF463CB7-1F58-4607-B847-77ED23E4B9B7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.19\",\"versionEndExcluding\":\"6.19.4\",\"matchCriteriaId\":\"672A3E79-EC03-479D-8503-361DFBDC8092\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/41d79f8e2a36622d148719bf7c18b46ac1264284\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5a30cc03bde169ad558695b26da6ea7e55f6194a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/dd6c81527d097b3b0bf5a15c2fdc9657d045144c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f223ebffa185cc8da934333c5a31ff2d4f992dc9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-28T12:03:54+00:00",
      "cve": "CVE-2025-71311",
      "id": "CVE-2025-71311",
      "initial_release_date": "2025-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: fs/ntfs3: Initialize new folios before use",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71311.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-31T00:56:04Z",
      "cve": "CVE-2025-71311",
      "id": "CVE-2025-71311",
      "initial_release_date": "2026-05-28T04:01:20Z",
      "product_status:known_affected": "17",
      "product_status:known_not_affected": "278",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-71311",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2025-71311.json",
      "version": "5"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…