# CVE-2026-72190: ntfs: fix mrec_lock ABBA deadlock in rename

- 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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-08-15T05:53:51.143Z
- Modified: 2026-08-17T06:18:19.580Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ntfs: fix mrec_lock ABBA deadlock in rename

ntfs_file_fsync(), ntfs_dir_fsync() and __ntfs_write_inode() lock an
inode's mrec_lock before taking the mrec_lock of its parent directory.

ntfs_rename() takes old_ni->mrec_lock and old_dir_ni->mrec_lock
before taking new_ni->mrec_lock for an existing target, or
new_dir_ni->mrec_lock for a cross-directory rename.
This can deadlock when ntfs_file_fsync() or __ntfs_write_inode() holds
the target inode, or when ntfs_dir_fsync() holds a child target
directory, while rename() holds the parent directory and waits for the
target.

Fix this by locking the existing target inode before taking any parent
directory mrec_lock. For cross-directory renames where the target parent
is a descendant of the source parent, lock the target parent before the
source parent so the directory order matches the child-to-parent order used
by ntfs_file_fsync(), ntfs_dir_fsync(), and __ntfs_write_inode().

(As written by CVE List.)

## Affected

- Linux Linux: from af0db57d4293cc9fe6ce99fb5592dc2652228c9d before b3d09502b80dfe0bab9090ca532710da389f6c7f; from af0db57d4293cc9fe6ce99fb5592dc2652228c9d before eb94f5a41a193a425e09a63cb75dffd151d8f42e; 7.1 (not affected: before 7.1; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/b3d09502b80dfe0bab9090ca532710da389f6c7f>
- <https://git.kernel.org/stable/c/eb94f5a41a193a425e09a63cb75dffd151d8f42e>

## Sources

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

---

Page: https://cve.day/CVE-2026-72190 · Whole record: https://cve.day/CVE-2026-72190.json · Rebuilt by cve.day 2026-11-25T22:59:33.037Z
