ntfs: leave HasEA flag untouched on setxattr failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ntfs: leave HasEA flag untouched on setxattr failure
In ntfs_set_ea(), the exit path unconditionally updates the HasEA flag based on ea_info_qsize. When an error occurs before ea_info_qsize is updated, NInoClearHasEA() hides existing on-disk EAs until the inode is evicted.
Only update the flag on success.
From the CVE record · Linux
In the Linux kernel’s NTFS code, a failed setxattr operation can clear the HasEA flag before the extended-attribute size is updated. This can hide existing on-disk extended attributes until the inode is evicted. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with NTFS support should check their versions; affected versions are not specified.