CVE-2026-139259

ntfs: clear stale pagecache on initialized-size extension

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ntfs: clear stale pagecache on initialized-size extension

iomap_zero_range() skips holes, so EOF-polluted cache data can survive
gap zeroing. Discard the uninitialized cache range before advancing
initialized_size so later reads cannot expose stale bytes.

Perform the cleanup in ntfs_extend_initialized_size() so both file writes
and shared writable mmap preparation use it. Hold the invalidate lock
while reading initialized_size, clearing the cache, zeroing the gap, and
updating the attribute. Release the lock on every exit path.

Analysis

AI-generated

Technical impact

The Linux kernel NTFS filesystem driver contained logic that left stale pagecache entries when a file’s initialized size was extended. The iomap_zero_range function skips gaps, so unused cache data could persist, allowing subsequent reads to expose bytes that had belonged to other files or memory. This flaw is a type of improper initialization and results in unintended information disclosure, as cached data can be accessed by processes that read the affected file system. The fix moves the cache cleanup into ntfs_extend_initialized_size to ensure both writes and shared writable mmap preparations clear stale data before the initialized_size marker advances.

Affected Systems

All Linux kernel builds that include the NTFS driver are potentially affected. The CPE string refers to the generic Linux kernel; specific build versions are not listed, so any distribution that ships an unpatched kernel with NTFS support may be vulnerable until the patch is applied.

Risk and Exploitability

The CVSS score and EPSS probability are not disclosed, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that a local user capable of writing to an NTFS volume or mounting the filesystem may trigger the issue, leading to reads of stale pagecache content. Remote exploitation would likely require privileged interactions or co‑resident processes, making the attack surface limited but still significant for privacy. The risk is therefore considered moderate to high for sensitive data exposure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the ntfs_extend_initialized_size fix
  • Reboot the system after applying the update to clear any remaining pagecache entries
  • If a reboot is not immediately possible, unmount and remount NTFS volumes or clear the pagecache with `sync; echo 3 > /proc/sys/vm/drop_caches` and restrict unprivileged NTFS mounts until the patch is installed

Generated by OpenCVE AI on December 1, 2026 at 10:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-665
CWE-789
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: clear stale pagecache on initialized-size extension iomap_zero_range() skips holes, so EOF-polluted cache data can survive gap zeroing. Discard the uninitialized cache range before advancing initialized_size so later reads cannot expose stale bytes. Perform the cleanup in ntfs_extend_initialized_size() so both file writes and shared writable mmap preparation use it. Hold the invalidate lock while reading initialized_size, clearing the cache, zeroing the gap, and updating the attribute. Release the lock on every exit path.
Title ntfs: clear stale pagecache on initialized-size extension
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-665

    Improper Initialization

  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM