CVE-2026-139265

ntfs: fix runlist marker allocation and count

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

ntfs: fix runlist marker allocation and count

The marker path can append an unmapped element and an ENOENT
terminator after the merge helpers have already computed the resulting
runlist count. In that case, allocating ds + 2 elements leaves no room
for the terminator at ds + 2. The path also increments new_rl_count even
though the merge helper already accounted for the final runlist size,
causing a later merge to start past the terminator.

Allocate space through ds + 2, and derive new_rl_count from the final
terminator index instead of incrementing the count a second time.

A crafted NTFS image can reach this path through a normal read after the
image has been mounted and trigger out-of-bounds kernel heap accesses.

Analysis

AI-generated

Technical impact

The vulnerability arises from an incorrect allocation of the NTFS runlist marker during the merge process. Because the code allocates only ds + 2 elements but then increases the count again, the buffer runs past its intended terminator. A crafted NTFS image can trigger this path during a normal read after the volume is mounted, leading to an out‑of‑bounds kernel heap access. This kernel memory corruption can allow an attacker to read or modify protected data and ultimately gain elevated privileges or crash the system.

Affected Systems

The flaw is present in the Linux kernel's NTFS file system support. The advisory does not list specific kernel versions, so any Linux kernel build that contains the unpatched code—especially in distributions that enable the NTFS driver—may be vulnerable. All affected builds share the same underlying source code path, so the impact applies uniformly across Linux distributions.

Risk and Exploitability

With a CVSS score of 7.8, the vulnerability is considered high severity. No EPSS score is available and it is not listed in CISA's KEV catalog, but the out-of-bounds heap access remains a serious risk. An attacker would need to deliver a malicious NTFS image and have it mounted on the target system. Once the volume is mounted, a simple read operation can trigger the vulnerability, potentially providing kernel-level access and system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that incorporates the ntfs runlist marker fix.
  • If a kernel update cannot be applied immediately, remove or disable NTFS file system support or prevent mounting of NTFS volumes from untrusted sources on the system.
  • Monitor system logs for kernel panics, memory corruption, or unexpected crashes, and reboot or investigate immediately if such events are detected.
  • Restrict mount privileges to trusted users and consider using SELinux or AppArmor to enforce stricter controls on file system mounting.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-119
CWE-788
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: fix runlist marker allocation and count The marker path can append an unmapped element and an ENOENT terminator after the merge helpers have already computed the resulting runlist count. In that case, allocating ds + 2 elements leaves no room for the terminator at ds + 2. The path also increments new_rl_count even though the merge helper already accounted for the final runlist size, causing a later merge to start past the terminator. Allocate space through ds + 2, and derive new_rl_count from the final terminator index instead of incrementing the count a second time. A crafted NTFS image can reach this path through a normal read after the image has been mounted and trigger out-of-bounds kernel heap accesses.
Title ntfs: fix runlist marker allocation and count
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write

  • CWE-788

    Access of Memory Location After End of Buffer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Dec 1, 2026, 5:42 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Dec 1, 2026, 6:17 AM
Severity
Moderate
Public date
Nov 30, 2026, 1:33 PM