{"id":"CVE-2026-100011","summary":"ntfs: avoid truncate and writeback deadlock","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: avoid truncate and writeback deadlock\n\nntfs_non_resident_attr_shrink() drops page-cache folios after freeing\nclusters and truncating the runlist. The VFS truncate path calls it with\nmrec_lock held. A folio writeback can need the same lock to resolve its\niomap mapping, so truncate can wait for writeback while writeback waits\nfor mrec_lock.\n\nA hung-task call stack:\n\n    truncate: mrec_lock -\u003e truncate_inode_pages() -\u003e folio lock/writeback\n\n    writeback: folio lock/writeback -\u003e ntfs_write_iomap_begin() -\u003e\n               mrec_lock\n\nntfs_setattr_size() already calls truncate_setsize() before\nntfs_truncate_vfs() acquires mrec_lock. Reuse that page-cache truncation\nin the VFS path and skip the duplicate truncation under mrec_lock. Keep\nthe cleanup for internal attribute callers, which do not call\ntruncate_setsize(). This avoids synchronously flushing the whole\ndiscarded tail while preserving page-cache correctness.","modified":"2026-12-01T21:00:17.672383205Z","published":"2026-11-30T13:23:03.624Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100011.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/e24ee790c71ed74422a851dfb5962098d1d705c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fca746064d56329cd81b4f2b1961a3b928c3fe5a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100011.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100011"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4e646ecd44759e552b0b9ccd995f3f608daab414"},{"fixed":"e24ee790c71ed74422a851dfb5962098d1d705c6"},{"fixed":"fca746064d56329cd81b4f2b1961a3b928c3fe5a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ed0d2e33fab516f45901ba0caf6f5460b15cec6c"}]}],"versions":["v7.1.13","v7.1.12","v7.1.11","v7.1.10","v7.1.9","v7.1.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100011.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.8"},{"fixed":"7.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100011.json"}}],"schema_version":"1.9.2"}