# CVE-2026-100011: ntfs: avoid truncate and writeback deadlock

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:03.624Z
- Modified: 2026-11-30T14:17:15.027Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4e646ecd44759e552b0b9ccd995f3f608daab414 before e24ee790c71ed74422a851dfb5962098d1d705c6; from 4e646ecd44759e552b0b9ccd995f3f608daab414 before fca746064d56329cd81b4f2b1961a3b928c3fe5a; ed0d2e33fab516f45901ba0caf6f5460b15cec6c; from 7.1.8 before 7.2; 7.2 (not affected: before 7.2; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/e24ee790c71ed74422a851dfb5962098d1d705c6>
- <https://git.kernel.org/stable/c/fca746064d56329cd81b4f2b1961a3b928c3fe5a>

## Sources

- CVE List: [CVE-2026-100011](https://www.cve.org/CVERecord?id=CVE-2026-100011), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100011](https://nvd.nist.gov/vuln/detail/CVE-2026-100011), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100011 · Whole record: https://cve.day/CVE-2026-100011.json · Rebuilt by cve.day 2026-11-30T14:32:21.687Z
