Linux NTFS memory corruption in attribute record resizing
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: fix incorrect MFT record pointer passed to ntfs_attr_record_resize
ntfs_new_attr_flags() passes the wrong MFT record to ntfs_attr_record_resize(). When the attribute is in an extent record, ctx->mrec points to the extent but the function receives the base record pointer m, causing incorrect size calculations in memmove.
Fix by passing ctx->mrec (the actual MFT record containing the attribute) instead of m (the base MFT record) to ntfs_attr_record_resize().
From the CVE record · Linux
The Linux kernel NTFS code passes the base MFT record instead of the extent record to an attribute-resizing function when an attribute is in an extent record. This causes incorrect size calculations during a memory move; the input does not establish what an attacker could do or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with NTFS support should check whether their kernel is affected; affected versions were not provided.