CVE-2026-143389: ntfs: Fix error handling in __ntfs_create()
In the Linux kernel, the following vulnerability has been resolved:
ntfs: Fix error handling in ntfscreate()
In ntfscreate(), if ntfsinitacl() fails before ntfsmftrecordalloc() is called, jumping to errout frees MFT record 0 ($MFT), unmaps an unmapped record and unlocks the unheld &dirni->mreclock and &ni->mreclock mutexes. Call iput(vi) and return ERRPTR(err) directly instead, matching the ntfsmftrecordalloc() failure path right below it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In __ntfs_create(), if ntfs_init_acl() fails before ntfs_mft_record_alloc() is called, call iput(vi) and return ERR_PTR(err) directly instead of jumping to err_out.
Event History
Frequently Asked Questions
What condition is required to trigger the faulty error path?
The issue is triggered when ntfs_init_acl() fails in __ntfs_create() before ntfs_mft_record_alloc() has been called. This occurs during NTFS create processing and depends on an ACL-initialization failure.
What happens when this path is reached?
The affected error handling can free MFT record 0 ($MFT), unmap a record that was not mapped, and unlock mutexes that were not held. The corrected behavior releases vi with iput(vi) and returns the error directly.
How can I determine whether the fix is present?
Check whether the kernel includes either referenced stable commit 590345c250df8469bc27d4e7094f57021071ed00 or 5210eadc44ccdd9632b1ee66205742610a486989. The provided data does not identify affected or fixed kernel version numbers.