CVE-2026-100011

ntfs: avoid truncate and writeback deadlock

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

ntfs: avoid truncate and writeback deadlock

ntfs_non_resident_attr_shrink() drops page-cache folios after freeing
clusters and truncating the runlist. The VFS truncate path calls it with
mrec_lock held. A folio writeback can need the same lock to resolve its
iomap mapping, so truncate can wait for writeback while writeback waits
for mrec_lock.

A hung-task call stack:

truncate: mrec_lock -> truncate_inode_pages() -> folio lock/writeback

writeback: folio lock/writeback -> ntfs_write_iomap_begin() ->
mrec_lock

ntfs_setattr_size() already calls truncate_setsize() before
ntfs_truncate_vfs() acquires mrec_lock. Reuse that page-cache truncation
in the VFS path and skip the duplicate truncation under mrec_lock. Keep
the cleanup for internal attribute callers, which do not call
truncate_setsize(). This avoids synchronously flushing the whole
discarded tail while preserving page-cache correctness.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the Linux kernel NTFS module where a lock ordering issue between the mrec_lock and the folio writeback lock can cause a deadlock. When a truncate operation holds mrec_lock and a concurrent writeback requires the same lock via ntfs_write_iomap_begin, each process waits for the other, resulting in a hung task. This deadlock blocks kernel progress and can render the system unresponsive, leading to a denial of service. The weakness is a classic concurrency error, specifically a deadlock due to improper lock ordering (CWE-368).

Affected Systems

Any Linux system running a kernel that includes NTFS support is affected. This includes all major distributions with the built‑in NTFS driver, regardless of version, until a patch is applied. No specific kernel versions are listed in the advisory, so the entire generic Linux kernel functionality for NTFS filesystems should be considered vulnerable.

Risk and Exploitability

The deadlock can be triggered by normal file system operations such as truncating a file or writing to an NTFS volume. The attack vector is local; the kernel must be executing those operations, which could be performed by any user with sufficient privileges to write to an NTFS volume. The EPSS score is not available, and the vulnerability is not in CISA KEV. Because it causes a system hang, the impact is severe even without a remote privilege escalation path. The missing lock ordering causes a critical failure in kernel thread scheduling, making the failure a high‑severity denial of service attack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the ntfs patch resolving the mrec_lock/folio lock deadlock
  • Reboot the system after updating the kernel to ensure all modules are reloaded
  • If an immediate kernel update is unavailable, unmount or disable NTFS volumes to prevent the deadlock condition from occurring at runtime

Generated by OpenCVE AI on November 30, 2026 at 16:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

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

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-368
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: avoid truncate and writeback deadlock ntfs_non_resident_attr_shrink() drops page-cache folios after freeing clusters and truncating the runlist. The VFS truncate path calls it with mrec_lock held. A folio writeback can need the same lock to resolve its iomap mapping, so truncate can wait for writeback while writeback waits for mrec_lock. A hung-task call stack: truncate: mrec_lock -> truncate_inode_pages() -> folio lock/writeback writeback: folio lock/writeback -> ntfs_write_iomap_begin() -> mrec_lock ntfs_setattr_size() already calls truncate_setsize() before ntfs_truncate_vfs() acquires mrec_lock. Reuse that page-cache truncation in the VFS path and skip the duplicate truncation under mrec_lock. Keep the cleanup for internal attribute callers, which do not call truncate_setsize(). This avoids synchronously flushing the whole discarded tail while preserving page-cache correctness.
Title ntfs: avoid truncate and writeback deadlock
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 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:23 PM