{"id":"CVE-2026-72190","summary":"ntfs: fix mrec_lock ABBA deadlock in rename","details":"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-\u003emrec_lock and old_dir_ni-\u003emrec_lock\nbefore taking new_ni-\u003emrec_lock for an existing target, or\nnew_dir_ni-\u003emrec_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().","modified":"2026-08-18T03:31:23.356337427Z","published":"2026-08-15T05:53:51.143Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72190.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/b3d09502b80dfe0bab9090ca532710da389f6c7f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb94f5a41a193a425e09a63cb75dffd151d8f42e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72190.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72190"},{"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":"af0db57d4293cc9fe6ce99fb5592dc2652228c9d"},{"fixed":"b3d09502b80dfe0bab9090ca532710da389f6c7f"},{"fixed":"eb94f5a41a193a425e09a63cb75dffd151d8f42e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72190.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72190.json"}}],"schema_version":"1.9.0"}