Linux
ntfs: fix incorrect MFT record pointer passed to ntfs_attr_record_resize
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().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= fc053f05ca282a5e760b41f6560ac835c4e28037, < 0a9122cada749447dfb6d67aa3fed4ee1982231c
- >= fc053f05ca282a5e760b41f6560ac835c4e28037, < 8d139e3635c86e2c97c78d55538ce0b00b6d9986
Fixed in 0a9122cada749447dfb6d67aa3fed4ee1982231c, 8d139e3635c86e2c97c78d55538ce0b00b6d9986
- 7.1
Fixed in 0, 7.2.13, 7.3
Mitigation
Upgrade Linux to 0a9122cada749447dfb6d67aa3fed4ee1982231c or 8d139e3635c86e2c97c78d55538ce0b00b6d9986 or later.
Upgrade Linux to 0 or 7.2.13 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.