{"id":"CVE-2026-72190","aliases":["CVE-2026-72190"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs: fix mrec_lock ABBA deadlock in rename","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix mrec_lock ABBA deadlock in rename\n\nntfs_file_fsync(), ntfs_dir_fsync() and __ntfs_write_inode() lock an\ninode's mrec_lock before taking the mrec_lock of its parent directory.\n\nntfs_rename() takes old_ni->mrec_lock and old_dir_ni->mrec_lock\nbefore taking new_ni->mrec_lock for an existing target, or\nnew_dir_ni->mrec_lock for a cross-directory rename.\nThis can deadlock when ntfs_file_fsync() or __ntfs_write_inode() holds\nthe target inode, or when ntfs_dir_fsync() holds a child target\ndirectory, while rename() holds the parent directory and waits for the\ntarget.\n\nFix this by locking the existing target inode before taking any parent\ndirectory mrec_lock. For cross-directory renames where the target parent\nis a descendant of the source parent, lock the target parent before the\nsource parent so the directory order matches the child-to-parent order used\nby ntfs_file_fsync(), ntfs_dir_fsync(), and __ntfs_write_inode().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix mrec_lock ABBA deadlock in rename\n\nntfs_file_fsync(), ntfs_dir_fsync() and __ntfs_write_inode() lock an\ninode's mrec_lock before taking the mrec_lock of its parent directory.\n\nntfs_rename() takes old_ni->mrec_lock and old_dir_ni->mrec_lock\nbefore taking new_ni->mrec_lock for an existing target, or\nnew_dir_ni->mrec_lock for a cross-directory rename.\nThis can deadlock when ntfs_file_fsync() or __ntfs_write_inode() holds\nthe target inode, or when ntfs_dir_fsync() holds a child target\ndirectory, while rename() holds the parent directory and waits for the\ntarget.\n\nFix this by locking the existing target inode before taking any parent\ndirectory mrec_lock. For cross-directory renames where the target parent\nis a descendant of the source parent, lock the target parent before the\nsource parent so the directory order matches the child-to-parent order used\nby ntfs_file_fsync(), ntfs_dir_fsync(), and __ntfs_write_inode().","source":"cvelist"}],"published":"2026-08-15T05:53:51.143Z","modified":"2026-08-17T06:18:19.580Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"af0db57d4293cc9fe6ce99fb5592dc2652228c9d","fixed":"b3d09502b80dfe0bab9090ca532710da389f6c7f","status":"affected"},{"type":"git","introduced":"af0db57d4293cc9fe6ce99fb5592dc2652228c9d","fixed":"eb94f5a41a193a425e09a63cb75dffd151d8f42e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b3d09502b80dfe0bab9090ca532710da389f6c7f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb94f5a41a193a425e09a63cb75dffd151d8f42e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72190","url":"https://www.cve.org/CVERecord?id=CVE-2026-72190","licence":"CVE Terms of Use","modified":"2026-08-17T05:09:55.301Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72190","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72190","licence":"Public domain","modified":"2026-08-17T06:18:19.580Z"}],"updatedAt":"2026-11-25T22:59:33.037Z","epss":{"score":0.00189,"percentile":0.08998,"date":"2026-12-01T12:00:22.000Z"}}