CVE-2026-99101

ntfs: move attribute payload before shrinking its record

Published Oct 28, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ntfs: move attribute payload before shrinking its record

ntfs_new_attr_flags() resizes the non-resident attribute record before
moving its name and mapping pairs to their shorter-header offsets when
compression or sparse state is cleared.

Shrinking the record first moves the following attribute over the tail of
the old record. The subsequent memmove() therefore copies bytes from that
following attribute instead of the old mapping pairs. Re-enabling
compression on an empty file persists those bytes as a malformed mapping
pairs array, which ntfsck reports as a missing or invalid run length.

Move the payload before shrinking the record, while retaining the existing
resize-before-move ordering when growing it.

Analysis

AI-generated

Technical impact

The Linux kernel’s NTFS driver contains a flaw where it resizes a non‑resident attribute record before moving the attribute payload. This ordering causes a memmove to copy bytes from an adjacent attribute into the old mapping‑pairs area. If an empty file later re‑enables compression, the driver writes these corrupted bytes as a malformed mapping‑pairs array, which ntfsck reports as an invalid run length. The effect is corrupted file‑system metadata that can lead to data loss or system instability.

Affected Systems

All installations of the Linux kernel that include the default NTFS driver are potentially affected. The advisory does not specify a precise kernel version range, implying the issue can exist in any release prior to the commit that reverses the resize‑before‑move ordering. Linux distributions should verify whether their shipped kernels contain that commit and upgrade accordingly.

Risk and Exploitability

The CVSS score is 4.4 and the EPSS score is less than 1%, indicating a low probability of exploitation. The vulnerability is logged as a memory‑corruption flaw and is not listed in the CISA KEV catalog. It is a local issue that requires interaction with the NTFS driver via filesystem operations, so the likely attack vector is local, possibly through crafted NTFS files that manipulate compression or sparse state. While no proof of exploitation has been reported, the potential for data corruption and loss warrants careful attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the commit reversing the attribute‑payload ordering in ntfs_new_attr_flags().
  • If a patched kernel is not available, disable NTFS support for media that contains untrusted data or move those volumes to a safer filesystem such as ext4.
  • Before the patch, run ntfsck on affected volumes, avoid enabling compression on empty files, and monitor system logs for ntfsck errors or filesystem inconsistencies.

Generated by OpenCVE AI on October 29, 2026 at 18:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: move attribute payload before shrinking its record ntfs_new_attr_flags() resizes the non-resident attribute record before moving its name and mapping pairs to their shorter-header offsets when compression or sparse state is cleared. Shrinking the record first moves the following attribute over the tail of the old record. The subsequent memmove() therefore copies bytes from that following attribute instead of the old mapping pairs. Re-enabling compression on an empty file persists those bytes as a malformed mapping pairs array, which ntfsck reports as a missing or invalid run length. Move the payload before shrinking the record, while retaining the existing resize-before-move ordering when growing it.
Title ntfs: move attribute payload before shrinking its record
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 1, 2026, 12:42 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Nov 1, 2026, 1:18 PM
Severity
Moderate
Public date
Oct 28, 2026, 12:00 AM