Security mailing lists by PureSourceCode

CVE-2026-100011

not scored yet

ntfs: avoid truncate and writeback deadlock

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 4e646ecd44759e552b0b9ccd995f3f608daab414, < e24ee790c71ed74422a851dfb5962098d1d705c6; >= 4e646ecd44759e552b0b9ccd995f3f608daab414, < fca746064d56329cd81b4f2b1961a3b928c3fe5a; = ed0d2e33fab516f45901ba0caf6f5460b15cec6c; >= 7.1.8, < 7.2 e24ee790c71ed74422a851dfb5962098d1d705c6, fca746064d56329cd81b4f2b1961a3b928c3fe5a, 7.2
CVE List Linux Linux = 7.2

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.