ntfs: reject invalid MFT LCNs from boot sector
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: reject invalid MFT LCNs from boot sector
The NTFS boot sector stores the MFT and MFTMirr locations as unsigned 64-bit LCNs, but parse_ntfs_boot_sector() decoded them into an s64.
A crafted high-bit value could therefore become negative and pass the existing upper-bound check. The invalid value then propagated into the MFT zone allocator and could result in an out-of-bounds access to lcn_empty_bits_per_page.
From the CVE record · Linux
The Linux kernel's NTFS boot-sector parser can misinterpret a crafted high-bit MFT location as a negative value. When processing such a boot sector, the invalid value can reach the MFT zone allocator and cause an out-of-bounds access. The input does not specify how an attacker delivers the boot sector or whether authentication or user interaction is required.
Anyone running the Linux kernel should check whether their version is affected; affected versions are not specified.