Skip to content
Heist/ feed
Back to feed
HighFix available

fs/ntfs3: Initialize new folios before use

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.75, 6.18.14, 6.19.4
CVEs
CVE-2025-71311
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:24 UTC · Revision 1

Source evidence

fs/ntfs3: Initialize new folios before use

core-osv · Original source

Published 27 May 2026, 12:24 UTC

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.

osv:CVE-2025-71311

Kernel

Fixed versions: 6.12.75, 6.18.14, 6.19.4

Complete source record
{
  "id": "86b138000a5d1195b323a98a674288c9b847441d0f2a17036ae9135fb3dad9af",
  "url": "https://osv.dev/vulnerability/CVE-2025-71311",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2025-71311",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.75",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-71311",
      "aliases": [
        "CVE-2025-71311"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2"
                },
                {
                  "fixed": "dd6c81527d097b3b0bf5a15c2fdc9657d045144c"
                },
                {
                  "fixed": "5a30cc03bde169ad558695b26da6ea7e55f6194a"
                },
                {
                  "fixed": "41d79f8e2a36622d148719bf7c18b46ac1264284"
                },
                {
                  "fixed": "f223ebffa185cc8da934333c5a31ff2d4f992dc9"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71311.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.12.75"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71311.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.216133395Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/41d79f8e2a36622d148719bf7c18b46ac1264284",
        "https://git.kernel.org/stable/c/5a30cc03bde169ad558695b26da6ea7e55f6194a",
        "https://git.kernel.org/stable/c/dd6c81527d097b3b0bf5a15c2fdc9657d045144c",
        "https://git.kernel.org/stable/c/f223ebffa185cc8da934333c5a31ff2d4f992dc9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71311.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-71311",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71311.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-71311",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510687,
  "published_at": "2026-05-27T12:24:02.532+00:00"
}